DE
Asked
Hi, can you help me with **how to set the option SERVICE as the default product type** when adding new product? Thank you.
- MSAnsweredHello,
You can modify the `themes/default/views/products/add.php` and change `set_value('type', 'standard')` on line 18 to `set_value('type', 'service')`
Thank you - DEAnsweredAlright,
that one worked partially.
The option **SERVICE** is now the default product type, but quantity and cost fields are still active. Meanwhile when you select service manually the fields **Quantity** and **Cost** disappear; and that is what i am looking to achieve.
So what are the additional changes i need to do? - MSAnsweredHello,
You can try to add the following before `</script>` at the end of the file.
```
$('.st').slideUp();
$('#ct').slideUp();
```
Thank you - DEAnsweredIt worked perfectly.
Thank you - Login to Reply