Error when buying product

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
8 years 7 months ago #236508

-- url of the page with the problem -- : www.hermanosgaliano.es/producto/bolsas-de-plastico-para-pan
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1

When a customer adds a product to cart , hikashop add to cart the latest product from the list. Hikashop not add the marked product.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 7 months ago #236513

Hi,

That's because of the input buttons for the add to cart of your listing in the description of your product.
The inputs are inside the form of the product page.
So the inputs are used by the add to cart system.
I would recommend to move the</form> tag from the "show" file of the view "product" to before the bottom area div tag of the "show_tabular" view file (you'll have to adjust the HTML closing/opening tags) so that the inputs of your listing in the product description are outside of the form of the product page.

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

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
8 years 7 months ago #236757

Hi.
This problem has started to happen with updating Hika .
Right now we are back to an earlier version of this problem Hikashop and we have not.
You can check this on the same page where the error was :
www.hermanosgaliano.es/producto/bolsas-de-plastico-para-pan
Now the page works well ( with version 2.6.1 ) and does not give that error.
We understand that the problem is not on the labels. The problem is in updating Hikashop.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 7 months ago #236818

Hi,

This simply means that you had modified directly some core files of HikaShop to be able to avoid the problem. Basically, you (or the person who did the customization on the layout of the product page) did what I said in my previous message, but instead of doing it via view overrides in the template, it did it directly in the core files of HikaShop. And thus, when you update HikaShop, it overwrites the core files of HikaShop and you loose these changes.
So again, the problem is not with the update itself but with the way the product page layout is customized.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum