Variation is not ap...
 
Notifications
Clear all

Variation is not appearing in cart as I made it dynamic using follwing code in cart.html

8 Posts
2 Users
0 Reactions
20 Views
0
Topic starter

Reference Section No. 11 (Add Variation in cart) 

as I try to make the variation dynamic by using the following code. everything in cart work perfectly but products add without variations mean variation color and size not appear under product name?

                <p class="text-muted small">
                    {% if cart_item.variations.all %}
                        {% for item in cart_item.variations.all %}
                            {{item.variation_category }} : {{item.variation_value }}
                        {% endfor %}
                    {% endif %}
                </p>

 

This topic was modified 2 weeks ago 2 times by Ejaz Ali Inayat
IMG 1866 rathank.com Mohaiminul - Team Rathan 11/11/2024 12:41 pm

@aijazaliinayatbutt Could you please share the link to your updated GitHub repository with us? Additionally, could you share a screenshot of the cart page after adding a product and changing the variation dynamically? This will help us better understand your issue and provide a more accurate solution.

3e6983f52311b4f26e8431ccc0526c36?s=36&d=mm&r=g rathank.com Ejaz Ali Inayat Topic starter 13/11/2024 11:18 pm

Sir, I am attaching a screenshot of the cart page after adding a product and changing the variation dynamically.

IMG 1866 rathank.com Mohaiminul - Team Rathan 15/11/2024 9:53 am

Hi @aijazaliinayatbutt, I didn't see any screenshot attached with the message. Could you please check? Also, please share your updated GitHub repository.

Share: