Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Zero Price Action - Need To Not Display Price Rate Topic   - - - - -

 
  • chrisbti
  • Senior Member
  • Members
  • Join Date: 20-Oct 11
  • 262 posts

Posted 28 November 2017 - 07:19 PM #1

Is there a way to not show the price at all, if the Quantity is ZERO?


Regards, God Be With You! Jesus Christ our Lord & Savior.
BTI - Better Tools For Industry
Industrial Hand Tools Made in USA | www.BTI-Tool.com | v.4.8.2.SP2 | Apache


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11249 posts

Posted 28 November 2017 - 08:07 PM #2

There's a setting to hide products that are not in stock. would be some custom work to show product but hide price in that case.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19060 posts

Posted 29 November 2017 - 05:26 AM #3

design/themes/THEME/templates/common/product_data.tpl

 

use products:prices_block hook to hide price if $product_amount <= 0


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 154 posts

Posted 11 April 2019 - 06:21 PM #4

design/themes/THEME/templates/common/product_data.tpl

 

use products:prices_block hook to hide price if $product_amount <= 0

Hi 

 

Can be more specific ?

Thanks for help


CS Cart lovers


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 154 posts

Posted 11 April 2019 - 06:35 PM #5

                {if $product_amount <= 0 || $hide_price_values}{/if}

this don`t work


CS Cart lovers


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11249 posts

Posted 11 April 2019 - 08:39 PM #6

What doesn't work?  Your statement does nothing so why are you expecting it to do something.  Your IF block is empty.

If you don't understand hooks and aren't willing to research how to use them, then you should hire a developer who does.

We can certainly help, but we expect you to have the basics under your belt.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19060 posts

Posted 12 April 2019 - 05:45 AM #7

                {if $product_amount <= 0 || $hide_price_values}{/if}

this don`t work

 

 

Please clarify what and where did you do?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.