Hi All
I'm Trying to manage dynamic options (so i don't have to add manualy options in admin). So for example:
i want the service "installation at home" for lets say 139$ on specific categories without putting every product in the products_attributes table in mysql (the admin part i can manage easy myself, so to show on the products i like the dropdown box with options to choose is not the problem). I'm wondering what would be the best approach that the attribute logik to add it to the cart still works (without having the products_id in the mysql table products_attributes)
would be great if somebody can point me to the right direction...
Idea for adding dynamic "services" to products like Options / attributes
-
- VIP Member
- Posts: 228
- Joined: Sun Feb 28, 2021 9:41 pm
- Has thanked: 1 time
- Been thanked: 5 times
Re: Idea for adding dynamic "services" to products like Options / attributes
I don't know where to begin with coding it but you essentially want a 'Product Type' that you can then add default attributes to that type.
So in your example you would have a product type of 'Installable' that then gets the default service attribute of 'installation at home'.
I need something similar for customisable products that should have a text field added based on a product type. Let me know if you find someone to code it for you.
So in your example you would have a product type of 'Installable' that then gets the default service attribute of 'installation at home'.
I need something similar for customisable products that should have a text field added based on a product type. Let me know if you find someone to code it for you.
- Kofod95
- VIP Member
- Posts: 613
- Joined: Sat Feb 06, 2021 7:38 pm
- Has thanked: 80 times
- Been thanked: 142 times
Re: Idea for adding dynamic "services" to products like Options / attributes
I have something that could handle the 'product type' part - Two of the shops I help use it for shipping. If that could be helpful, I'll do my best to get it ready soon.
For the second part, maybe an ot_module and a checkout_shipping hook, similar to giftwrapping, but based on the 'product type'?
You could maybe do something similar @LeeFoster
//Daniel
For the second part, maybe an ot_module and a checkout_shipping hook, similar to giftwrapping, but based on the 'product type'?
You could maybe do something similar @LeeFoster
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
- VIP Member
- Posts: 228
- Joined: Sun Feb 28, 2021 9:41 pm
- Has thanked: 1 time
- Been thanked: 5 times
Re: Idea for adding dynamic "services" to products like Options / attributes
I need my customers to be able to enter it on the product page as there could be multiple customisable products.
- Kofod95
- VIP Member
- Posts: 613
- Joined: Sat Feb 06, 2021 7:38 pm
- Has thanked: 80 times
- Been thanked: 142 times
Re: Idea for adding dynamic "services" to products like Options / attributes
Makes sense - probably most elegant to do it there then.
Even though 'per item' gift wrap could be used as a starting point, it would easily become messy to look at and administer.
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
- VIP Member
- Posts: 228
- Joined: Sun Feb 28, 2021 9:41 pm
- Has thanked: 1 time
- Been thanked: 5 times
Re: Idea for adding dynamic "services" to products like Options / attributes
Not sure where to start with coding it though.