Page 1 of 1

Pulling Out The Last Quantity Price

PostPosted: Thu Jul 25, 2019 8:13 am
by tmlogo
I was looking to be able to add something like "As Low as $xx.xx" to some of my product templates. This number would be the last column price in the quantity pricing. Is there a way to do this? Thanks in Advance

Re: Pulling Out The Last Quantity Price

PostPosted: Fri Jul 26, 2019 9:57 am
by cyoung
There isn't a built in template that does this , it could be added with JavaScript.

It would be something like this:

<!-- place this DIV where you want the "starting at" price to be displayed -->
[-- IF PRODUCT.QuantityPricing --][-- IF PRODUCT.DisplayQuantityPricing --]<div id="low-price"></div>[-- END_IF --][-- END_IF --]

<!-- note, this code only works if the quantity pricing DOES NOT have a comment/description field...so the last row is always a pricing row -->
<script>
var lowprc = ss_jQuery(".quantity-price table tr:last-child td:last-child").html();
ss_jQuery("#high-end").html(lowprc);
</script>

Re: Pulling Out The Last Quantity Price

PostPosted: Mon Jul 29, 2019 8:45 am
by tmlogo
Thank you. I will give it a try

Re: Pulling Out The Last Quantity Price

PostPosted: Mon Jul 29, 2019 2:55 pm
by tmlogo
Unfortunately I was not able to get it to work. Any further suggestions? Thanks

Re: Pulling Out The Last Quantity Price

PostPosted: Tue Aug 13, 2019 4:45 am
by EstJoe
tmlogo wrote:I was looking to be able to add something like "As Low as $xx.xx" to some of my product templates. This number would be the last column price in the quantity pricing. Is there a way to do this? Thanks in Advance


Have you already created the code or you expecting new one?

Re: Pulling Out The Last Quantity Price

PostPosted: Tue Aug 13, 2019 5:28 am
by tmlogo
EstJoe wrote:
tmlogo wrote:I was looking to be able to add something like "As Low as $xx.xx" to some of my product templates. This number would be the last column price in the quantity pricing. Is there a way to do this? Thanks in Advance


Have you already created the code or you expecting new one?


I’m all set. Thank you