Hi
We are selling lamps, pendants, table lamps etc. We would like, to give our customers to option to add a lightbulb when either adding the product to the cart from the product page or in the cart itself.
Naturally, it should be the lightbulb that fits, E14 or E27. We have filters set up for lightbulbs and all lamps have in the description/filter E14 or E27.
Is there a way in the BeYours theme to do this - or do we need either to code or have a 3rd party app?
www.ebbandflow.com
Hi @ThomasKronevald ,
Steps to Customize the Product Page1. Edit Product Template: Go to Online Store > Themes > Actions > Edit Code, open sections > product-template.liquid, and find the area around the “Add to Cart” button.
- Add Lightbulb Selector:
{% if product.tags contains "E14" or product.tags contains "E27" %}
{% endif %}
Add JavaScript Validation:
​
Got it! If you found my suggestions helpful, please consider liking or marking it as a solution.
Your feedback is appreciated! If you have any more questions or need further assistance, just let me know.
Thanks & Regards
Akshay Bhatt
1 Like
Hi Akshay,
Thank you for this. If I have other types of lightbulbs, e.g. G4 and G9 would it just be adding to the code?
@akshay_bhatt
I was also recommended the Section Store App - but initial question got answered with links to pages which was not part of my questions. any recommendation for apps?