Get product compare_at_price via AJAX

New Member
1 0 0

I tried doing this and created the alternate template (cart.compare.liquid). When I call the URL directly in the browser (/cart?view=compare), I see the compare_at_price available in the json data. Though, when I do an ajax called to this same url, it returns the usual product data, without compared_at_price available. Any ideas what i'm doing wrong? I can join screenshots if needed.

 

0 Likes