Jump to content

Hide Price but not cart button


Arpit Bajpai

Recommended Posts

Hi Experts,

I am sorry if i am posting the same stuff again.

I am using prestashop at catlog version.
I want system to work as add to cart but price should be hidden even if the customer is registered.


In simple words i wanna use prestashop as catlog ordering.
is there any solution to it.

Thanks and Regards,
Arpit

Link to comment
Share on other sites

how about editing product.tpl?

I am also learning... to hide the price I simply comment out the whole code by smarty comment:

{* *}

{*  {if ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))}


               {if $product->reduction_percent != 0 && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))}
               {l s='(-'} {$product->reduction_percent|floatval} %{l s=')'}
              {/if}
{convertPrice price=$product->getPriceWithoutReduct()} {l s='incl. tax'}
           {/if}
           {if $product->ecotax != 0}

{l s='include'} {convertPrice price=$product->ecotax} {l s='for green tax'}
           {/if}

           {if $product->reference}
{l s='Reference :'} {$product->reference|escape}{/if}


               {if $product->on_sale}
{l s='On sale!'}

               {elseif ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))}
               {/if}
{convertPrice price=$product->getPrice(true, NULL, 2)} {if $product->getPrice(true, NULL, 2) != $product->getPrice(false, NULL, 2)}{l s='incl. tax'}{/if}
               {if $displayPreTax AND $display_ht AND $product->id_tax}
{l s='('}{convertPrice price=$product->getPrice(false, NULL, 2)} {l s='tax not incl.)'}
               {/if}

 *}

Link to comment
Share on other sites

bhagu, I responded to your other thread: how to hide price if over $500
http://www.prestashop.com/forums/viewthread/95688/development/dont_show_price_if_price_more_than_500

Arpit, I don't understand your "catalog ordering" use case.

By design, "catalog mode" shows product, but does not accept orders.
You expect customers to "add to cart" without knowing the price?
You wish to hide the price UNTIL an item has been added to cart -- only display pricing on the shopping cart page.
(An "add to cart to see price" scenario)?



Hi Bhagu,

I want system to act as normal but price shouldnt be shown. I even dont care if there is no price in system.
Tell you an example.

I run a Logistics company and fulfill orders for a client like DELL.
No Internal Customers need ordering some computer parts from Prestashop system.

We get paid as per our contract and internal customers has nothing to do with pricing.

So lets say I am customer and ordering 1GB RAM.
Customer goes on system and press add to cart.
Login and complete the delivery details.

Thats it.

No need to check price no need to check shipment.

I hope this replies your question.


Cheers
Arpit
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...