Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Hide Price if $0.00


Recommended Posts

I installed this contribution and it was exactly what I was looking for. I have products that have multiple colors and such, with different prices for each through a dropdown menu on the product page. However, there is one problem. I need the 'Buy Now' button back on the product page. Is this possible?

Link to comment
Share on other sites

if you check the readme, it list the changes made.

Typically there are 2 changes, the one with the buttons is the one you want activated again.


An easy shortcut is to change the code from "price > 0" to "price > -1"

This way you'll have a button when you have a 0 price, and if you specifically want to disable the buying of the product, you can set it to -1.

It think this will do the trick.


I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!


Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...