Home Forums WoodMart support forum Product Price colors in Search Results are Not reflecting as SET in Adv Typogra Reply To: Product Price colors in Search Results are Not reflecting as SET in Adv Typogra

#349500

harshwe
Participant

Hello Luke,

1. Thank you

3. Can you please suggest on this, whereby when a Product has both the Color and size attributes to choose from (before Adding it to Cart). And when a default Alert message displays, if user missed to choose any one of the Available attributes.
a). So, we updated the default Woo Alert message, when customer do NOT selects or forgot to select the Color attribute for a Variable product on Single product page. And click “Add to Cart” button by mistake.

Custom Alert message that now displays is – “How can you miss the Color…”
As shown here – https://i2.paste.pics/FUMV8.png

b). And below different Alert display, if user selects only Color, but Not the Size
“Oh! You missed the option…”
As shown here – https://i2.paste.pics/FUNFD.png

c). Now, point is, if customer do NOT selects any of the available attributes, then currently the SAME Alert is displaying, which we have set for Size attribute (that is when user missed to choose the Size)
(probably because, that is written at Top in custom snippet or JS code)

Question
Q. Just wanted to know, what code shall additionally go here, in the scenario (Case C), when customer do NOT selects any of the available attribute (neither Color nor size) and Click on “Add to Cart” button.
PS: You can check the code from Custom JS area of the Theme options

Product URL to check this with – https://www.vasangini.com/product/big-flair-cotton-kurta-ankle-length-designer-kurti-partywear-dress-size-32-42/

Can you please share the updated code

Regards