Jump to content

Show only price


Recommended Posts

If you are looking to have an online catalog without the add to cart function as you probably have found out the catalog mode built into Prestashop does not show prices or the add to cart.

I supplied a tutorial/tip on how to have an online catalog that would show price but not an add to cart button.

 

Here is that link to that post.

http://www.prestashop.com/forums/topic/180043-tip-catalog-style-with-prices/page__fromsearch__1

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

La solución es :

 

Buscar en el fichero adminproducts.php

       <input style="float: left;" type="checkbox" name="available_for_order" id="available_for_order" value="1" '.($this->getFieldValue($obj, 'available_for_order') ? 'checked="checked" ' : '').' onclick="if ($(this).is(\':checked\')){$(\'#show_price\').attr(\'checked\', \'checked\');$(\'#show_price\').attr(\'disabled\', \'disabled\');}else{$(\'#show_price\').attr(\'disabled\', \'\');}"/>

 

y reemplazar por

<input style="float: left;" type="checkbox" name="available_for_order" id="available_for_order" value="1" '.($this->getFieldValue($obj, 'available_for_order') ? 'checked="checked" ' : '').' onclick="if ($(this).is(\':checked\')){$(\'#show_price\').attr(\'checked\', \'checked\');$(\'#show_price\').attr(\'disabled\', \'disabled\');}else{$(\'#show_price\').attr(\'disabled\', false);}"/>

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

@petete2008 : is this working on a per product basis, or must a condition be inserted like Sales Price > 0 ?

 

[ ex. 2 Free Products in a Pack of 10 Paid + 2 Free, the 2 Free have Sales Price 0.00 $ and blocked to be ordered separatelly when Pack page shows also individual components of the Pack ]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...