- Posts: 35
- Thank you received: 0
Products not 'adding to cart'
10 years 7 months ago #230658
by Ingram
Products not 'adding to cart' was created by Ingram
-- url of the page with the problem -- :
www.continuitylenses.com/en/single-boxes
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Google Chrome 47.0.2526.106
Hello,
We are experiencing an issue where you cannot 'add to cart' on:
www.continuitylenses.com/en/single-boxes
www.continuitylenses.com/fr/pak-singulier
www.continuitylenses.com/nl/enkele-doos
When you attempt to 'add to cart', the page redirects to the homepage where you receive a Joomla system message 'Your cart is empty'.
Interestingly, when you 'add to cart' from products contained within a module (HikaShop Content Module), it works fine.
Do you have any thoughts on what the problem might be?
Thanks
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Google Chrome 47.0.2526.106
Hello,
We are experiencing an issue where you cannot 'add to cart' on:
www.continuitylenses.com/en/single-boxes
www.continuitylenses.com/fr/pak-singulier
www.continuitylenses.com/nl/enkele-doos
When you attempt to 'add to cart', the page redirects to the homepage where you receive a Joomla system message 'Your cart is empty'.
Interestingly, when you 'add to cart' from products contained within a module (HikaShop Content Module), it works fine.
Do you have any thoughts on what the problem might be?
Thanks
Please Log in or Create an account to join the conversation.
10 years 7 months ago #230666
by Ingram
Replied by Ingram on topic Products not 'adding to cart'
Hello,
Quick update:
It appears you can proceed to checkout if you select different radio buttons (monthly/daily). If you leave the settings as they were on page load (ie. 3 monthly radio button checked), it redirects to the homepage.
Changing the power or quantity make not difference it seems...
The following PHP error is generated:
PHP Notice: Undefined property: stdClass::$data in C:\inetpub\CL\plugins\system\emailasusername\template_overrides\com_hikashop\le_com_hikashop.php on line 55
Thanks
Quick update:
It appears you can proceed to checkout if you select different radio buttons (monthly/daily). If you leave the settings as they were on page load (ie. 3 monthly radio button checked), it redirects to the homepage.
Changing the power or quantity make not difference it seems...
The following PHP error is generated:
PHP Notice: Undefined property: stdClass::$data in C:\inetpub\CL\plugins\system\emailasusername\template_overrides\com_hikashop\le_com_hikashop.php on line 55
Thanks
Please Log in or Create an account to join the conversation.
10 years 7 months ago #230851
by Xavier
Replied by Xavier on topic Products not 'adding to cart'
Hi,
The plugin "emailasusername" is creating an override, it is maybe this override which is causing the issue.
Could you try to disable that plugin and test again ?
Else screenshots of your product settings will allow to have more clues.
The plugin "emailasusername" is creating an override, it is maybe this override which is causing the issue.
Could you try to disable that plugin and test again ?
Else screenshots of your product settings will allow to have more clues.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #230868
by Ingram
Replied by Ingram on topic Products not 'adding to cart'
I tried disabling the emailasusername plugins but no change in behaviour (it still redirects to the home page, unless you change variant first) but the PHP error is no longer logged, so I am pretty sure that is an unrelated issue and we can ignore that here.
Attached are screenshots of one of the products in question.
Attached are screenshots of one of the products in question.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #230872
by nicolas
Replied by nicolas on topic Products not 'adding to cart'
Hi,
So it could mean a problem with the customization of the page.
Could you try renaming the folder templates/YOUR_TEMPLATE/html/com_hikashop/product to something else via FTP and see if you still have the problem ?
If no, then the problem is with the customization of the product page.
So it could mean a problem with the customization of the page.
Could you try renaming the folder templates/YOUR_TEMPLATE/html/com_hikashop/product to something else via FTP and see if you still have the problem ?
If no, then the problem is with the customization of the product page.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #231063
by Ingram
Replied by Ingram on topic Products not 'adding to cart'
Hello,
Renaming the folder you mentioned did resolve the issue. In the end I tracked it down to the show_default.php. We had modified this, which wasn't the problem, but at some point some extra line-feeds seem to have found their way in corrupting the file?!
Anyway, tidied it up and all seems to be working now...
Thanks
Renaming the folder you mentioned did resolve the issue. In the end I tracked it down to the show_default.php. We had modified this, which wasn't the problem, but at some point some extra line-feeds seem to have found their way in corrupting the file?!
Anyway, tidied it up and all seems to be working now...
Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.312 seconds