Legacy cart / donation plug-in issue

  • Posts: 65
  • Thank you received: 3
  • Hikashop Business
3 years 7 months ago #331479

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.25
-- PHP version -- : 7.4.16
-- Browser(s) name and version -- : Safari 14.0.1

I'm having some weird issue that I think is related to the legacy cart. My hikashop always needed legacy to work. I have no idea why but when I went searching for answers, I saw that it isn't part of the latest version. I am running the lastest version but I still see hikashop legacy options.

I have had a number of products running for a few years that were donation items. The little box would appear beneath the picture and people would type in the amount. The custom box (amount) no longer appears and an add to cart button appears instead. Nothing in my setup changes except the upgrade. When I click, add to card, nothing happens if I am in the regular site. I checked to see if it put anything in my cart (menu "buy stuff here", your shopping cart at the bottom of menu, and click) and there was nothing. But if I hang on the cart page and click add to cart, a very old old message comes to the top, see second picture I attached.

I saw a message on the boards where you had someone FTP into a path in their templates searching for cart.php file to change it. I looked in the templates and no such file exists there.

Thank you in advance for the help.
Catherine

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 7 months ago #331485

Hi,

The legacy options have been removed since HikaShop 4.4.0.

When I click on an add to cart button on your website, I see an add to cart ajax request sent to the server. However, the reply is that the amount custom field is missing:
i.imgur.com/LubZ2sF.png
So I suppose that if we find out why the custom item field is not displaying anymore and have it display back, the add to cart will work again.

Can you check if you have the folder templates/YOUR_TEMPLATE/html/com_hikashop via FTP ?
If you do it means that you have some view overrides for HikaShop.
An old view override might be linked to the issue, so try renaming that folder to deactivate all the view overrides on HikaShop and see if that helps.

However, what's more likely is that you had customization to make what you want happen as that was not possible by default.
I can see that your products are displayed using content tags ( www.hikashop.com/support/documentation/1...-product-insert.html ) inside a custom HTML module. However, as far as I remember, the content tag plugin never supported the display of custom item fields. A quick way to solve the issue will be to disable that custom HTML module, and replace it by a module of the type "HikaShop content module" configured to display your products. That module do supports the display of custom item fields and thus you'll be able to achieve what you want.

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

  • Posts: 65
  • Thank you received: 3
  • Hikashop Business
3 years 7 months ago #331503

nicolas wrote: Hi,

<<However, what's more likely is that you had customization to make what you want happen as that was not possible by default.
I can see that your products are displayed using content tags ( www.hikashop.com/support/documentation/1...-product-insert.html ) inside a custom HTML module. However, as far as I remember, the content tag plugin never supported the display of custom item fields. >>

it worked for years. I've always been able to do that in modules and articles. it actually was really cool and I hope that way of displaying products doesn't go away.

<<A quick way to solve the issue will be to disable that custom HTML module, and replace it by a module of the type "HikaShop content module" configured to display your products. That module do supports the display of custom item fields and thus you'll be able to achieve what you want.


Yes!! This was it! All settled. Thank you.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum