how to change the saves on the product pages
On every picture on the product pages the saves start at 12 and reset to to 12 again if you after clicking on the save, leave the page and come back to it. How can we change it to show the accurate saves and also how can we change it so that it does not reset to a previous quantity after you leave and come back to the page.
Hi Tariq,
This has been fixed in the latest version. If you take a look at:
resources/views/themes/default/product/read.blade.php
or resources/views/themes/default/product/show.blade.php
on line number 17 replace:
<p class="num_saves"><span class="save_count">12</span> saves</p>
with this:
<p class="num_saves"><span class="save_count">{{ $product->saves->count() }}</span> saves</p>
And it will be showing the correct save count. Let me know if that helps.
Additionally, to change the currency, you will change this inside of:
resources/views/themes/default/product/read.blade.php
line 34 & resources/views/themes/default/includes/product.blade.php
line 30
Hope that helps. Thanks.