remove price for only one product and add text to contact support for pricing

  • Posts: 28
  • Thank you received: 0
1 year 5 months ago #353319

-- url of the page with the problem -- : dphfs.com/index.php/catering/catering-pa...ers/customized-thali
-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.0.3
-- PHP version -- : 8.0.28
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : remove price for only one product and add text to contact support for pricing

remove price for only one product and add text to contact support for pricing.

need custom pricing for customized thali.

how can it be achieved. it is showing as INR 0.00 as price. instead we want the customer to be able to add the product to cart with desired number of quantity and place order. but no price should be shown on the product or cart or order confirmation.

Customer support will call them and confirm the price or customer can call the support number to get the pricing.

we want to display"Please contact customer support for custom pricing" instead of INR 0.00 for the product on this page.
dphfs.com/index.php/catering/catering-pa...ers/customized-thali

thanks
Rasheed1011

Please Log in or Create an account to join the conversation.

  • Posts: 83017
  • Thank you received: 13400
  • MODERATOR
1 year 5 months ago #353321

Hi,

I can see that this product has options.
In such cases, HikaShop displays two prices.
The base price at the top, and the "price with options" at the bottom of the options selection area.
The base price at the top doesn't appear on your URL. Normally, when there are no prices for a product, it should display the text "Free" there. And then, you can use a translation override to change that text to something else.
The fact that you don't see anything there probably means that either you already have an override for that text (in that case, you could change it to something else like the HTML for a link to the contact page but you would still be left with the 0.00 price with options at the bottom), or you have a view override to remove the price display in that area.

I think the best here will be to edit the file product / show_default via the menu Display>Views and change it file name from "default" to something like "thali". Then, in the code, search for the <!-- PRICE WITH OPTIONS --> and <!-- EO PRICE WITH OPTIONS --> tags. Remove the code in there, and instead add the HTML of a link to your contact form.
Then, in your product edit screen for that Customized Thali product, change the "page layout" setting to your new "thali" layout so that it will use your customized layout just on that product.

Please Log in or Create an account to join the conversation.

Time to create page: 0.040 seconds
Powered by Kunena Forum