Has anyone used math in the data feed for the following to get the price difference of a product on sale:
{{#if products.product.[0].sale_price}}{{math products.product.[0].reg_price '-' products.product.[0].sale_price}}{{/if}}
Has anyone used math in the data feed for the following to get the price difference of a product on sale:
{{#if products.product.[0].sale_price}}{{math products.product.[0].reg_price '-' products.product.[0].sale_price}}{{/if}}
@Mel Christman Hi Steven! If these handlebars are giving you an error and you need additional assistance, can you submit a support ticket so we can help troubleshoot this further?
Thanks!
**This response has been manually added from our former community platform to ensure the full conversation is captured. Please note that the date of this post will appear significantly later than the original.
Already have an account? Login
Not a customer? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.