Cart Button

  • Posts: 107
  • Thank you received: 3
  • Hikashop Business
7 years 3 months ago #286761

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Firefox 58

Hi

I am looking to get rid of the ad to cart button and change it to ring now or something like that or even a phone number is this possible, if so how do i do it....

Thanks
#John

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

  • Posts: 83778
  • Thank you received: 13564
  • MODERATOR
7 years 3 months ago #286783

Hi,

If you want to change the text of the button, you can use a translation override:
www.hikashop.com/download/languages.html#modify
If you want to remove the add to cart button and add instead another button which does something else, the best is to do this:
Use the "Display view files" setting of the HikaShop configuration to see which view file displays the add to cart button.
Add such code at the beginning:

<input type="button" value="Ring now"/>
<?php return; ?>
Of course, you need to modify the code of your new button for it to do the action you want.

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

  • Posts: 107
  • Thank you received: 3
  • Hikashop Business
7 years 3 months ago #287197

Hi Nicolas

How do i change the add to cart button to a phone number not a Button that dose something i just wont it to show a call now button:...

Thanks
John

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 3 months ago #287198

Hello,

If you want to remove all cart buttons ; you can put your store in catalog mode
See : www.hikashop.com/support/documentation/5...g.html#features_main
But please note that you will deactivate all cart and checkout features in your store.
Otherwise the Nicolas previous message will give you another solution.
And the last part of the Nicolas message regarding the view customization would be still needed if you want to add a number on the product page.
www.hikashop.com/support/documentation/1...ize-the-display.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum