Custom Add to Cart button on product page only

  • Posts: 34
  • Thank you received: 1
11 years 4 months ago #117746

-- HikaShop version -- : 2.2
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3

I want to create a custom add to cart, however on the product page only

When I do a template over-ride, by overriding the function

function hikashop_button_render($map,$name,$ajax,$options,$url,$classname)

It changes every add to cart button, even those on product listing pages. Is there a way to edit the add to cart button on the product page only? Thanks

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

  • Posts: 12953
  • Thank you received: 1778
11 years 4 months ago #117784

Hi,
I think that the best solution will be to do it by editing one of your view's file through "Hikashop->Display->Views".
Regarding your add to cart button code (of your product page) you'll be able to edit it through the quantity file of the product view of your front-end template.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum