Jump to content
ITIS-Commerce.com

Display price on clic

Recommended Posts

Hi prestafans!

 

I need to have a specific fonctionnality on a Prestashop website:

The user have to clic on a link to display the price of a product.

Exemple: the user goes on a product page but the price isn't shown. The user has to clic on the link "display price" in order to see the price. It's due to a regulation.

Do you know how to do that? Do you know a module that can do that?

Thanks!

Share this post


Link to post
Share on other sites

You should add that button to your product .tpl file, and make a simple jquery script similar to this

<script>
$("button").click(function () {
$(".price").show("slow");
});
</script>

and thats it :)

 

As youre a big web agency I think you can figure out the rest :D

Edited by Snade (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More