- Posts: 48
- Thank you received: 1
Proceed to Checkout button on Cart(s) page broken
11 years 8 months ago #188290
by Llarian
Proceed to Checkout button on Cart(s) page broken was created by Llarian
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.37
The shop is mostly working. There are two instances where the "proceed to cart" button works fine. The popup when an item is added to the cart, and the "proceed to cart" button on the cart module.
However, I have a "Shopping Cart" menu item in the shop menu that gives a wider format view of the cart, has a save button, and a proceed to checkout button.
Pressing the proceed to checkout button does a page load, but the only change is that an additional /cart is appended to the URL (once, it doesn't continuously append).
Updating/deleting cart items works fine from this page.
Not sure if this is potentially a SEF issue (I have no additional SEF modules installed, just Joomla SEF enabled)
Attached is a screenshot of the cart page in question.
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.37
The shop is mostly working. There are two instances where the "proceed to cart" button works fine. The popup when an item is added to the cart, and the "proceed to cart" button on the cart module.
However, I have a "Shopping Cart" menu item in the shop menu that gives a wider format view of the cart, has a save button, and a proceed to checkout button.
Pressing the proceed to checkout button does a page load, but the only change is that an additional /cart is appended to the URL (once, it doesn't continuously append).
Updating/deleting cart items works fine from this page.
Not sure if this is potentially a SEF issue (I have no additional SEF modules installed, just Joomla SEF enabled)
Attached is a screenshot of the cart page in question.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188307
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Proceed to Checkout button on Cart(s) page broken
Please look up this very recent thread:
www.hikashop.com/forum/checkout/874509-proceed-to-checkout.html
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188412
by Llarian
Replied by Llarian on topic Proceed to Checkout button on Cart(s) page broken
I missed that thread somehow, sorry. Didn't resolve my issue however.
My "force menu on checkout" is set to a Hikashop checkout menu item. URL would be /hikashop/checkout, and navigating to it directly works fine.
Doesn't seem to have any effect on the behavior of the /hikashop/cart page's checkout button, still goes to /hikashop/cart/cart
Unfortunately, in the thread referenced above, the user just dropped the cart menu item entirely and loaded a cart module into an article. That isn't exactly resolving the cart menu item issue.
My "force menu on checkout" is set to a Hikashop checkout menu item. URL would be /hikashop/checkout, and navigating to it directly works fine.
Doesn't seem to have any effect on the behavior of the /hikashop/cart page's checkout button, still goes to /hikashop/cart/cart
Unfortunately, in the thread referenced above, the user just dropped the cart menu item entirely and loaded a cart module into an article. That isn't exactly resolving the cart menu item issue.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188591
by nicolas
Replied by nicolas on topic Proceed to Checkout button on Cart(s) page broken
Hi,
If you have the force menu on checkout set to a hikashop checkout menu item and that you're using the latest version of HikaShop, it should work fine.
So the only thing left I can think about is that there is a template override which doesn't handle that properly.
Please look for the file templates/YOUR_TEMPLATE/html/com_hikashop/cart/showcart.php
If you have it, rename it to something else in order to deactivate the view override and it should help.
Otherwise, please provide a backend access with a link to this thread via our contact form so that we can look at your settings.
If you have the force menu on checkout set to a hikashop checkout menu item and that you're using the latest version of HikaShop, it should work fine.
So the only thing left I can think about is that there is a template override which doesn't handle that properly.
Please look for the file templates/YOUR_TEMPLATE/html/com_hikashop/cart/showcart.php
If you have it, rename it to something else in order to deactivate the view override and it should help.
Otherwise, please provide a backend access with a link to this thread via our contact form so that we can look at your settings.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189142
by nicolas
Replied by nicolas on topic Proceed to Checkout button on Cart(s) page broken
Hi,
Thank you for the access.
We found the issue and fixed it by changing the line:
to:
in the file "showcart" of the view "cart" via the menu Display>Views.
Thank you for the access.
We found the issue and fixed it by changing the line:
Code:
if($cart_type == 'cart' && $this->params->get('show_cart_proceed',1)) echo $this->cart->displayButton(JText::_('PROCEED_TO_CHECKOUT'),'checkout',$this->params,$url_checkout,'');
Code:
if($cart_type == 'cart' && $this->params->get('show_cart_proceed',1)) echo $this->cart->displayButton(JText::_('PROCEED_TO_CHECKOUT'),'checkout',$this->params,$url_checkout,'window.location=\''.$url_checkout.'\';return false;');
Please Log in or Create an account to join the conversation.
11 years 7 months ago - 11 years 7 months ago #189163
by lionel75
Replied by lionel75 on topic Proceed to Checkout button on Cart(s) page broken
Hi
Could we have more information to understand more about your modification in the php side since the code mix php and javascript ? it seem to be relative to javascript DOM ? does it concern all HKS user ? Do we need an update ?
Thank's
Could we have more information to understand more about your modification in the php side since the code mix php and javascript ? it seem to be relative to javascript DOM ? does it concern all HKS user ? Do we need an update ?
Thank's
Last edit: 11 years 7 months ago by lionel75.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189172
by Llarian
Replied by Llarian on topic Proceed to Checkout button on Cart(s) page broken
Confirmed, that fixed it. Thank you for the help.
Your support has been fantastic while I've been trying to get some of the initial kinks worked out of our new storefront.
Your support has been fantastic while I've been trying to get some of the initial kinks worked out of our new storefront.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189175
by nicolas
Replied by nicolas on topic Proceed to Checkout button on Cart(s) page broken
Hi,
@lionel75:
It's simple. Some javascript was missing. It doesn't concern everyone. If the button works on your website, or if you don't display it, or if you don't use the multiple cart system you don't need the patch.
And in any case, you can just apply the change I talked about if you want to fix it.
It will be included in the next version of HikaShop, as always.
@lionel75:
It's simple. Some javascript was missing. It doesn't concern everyone. If the button works on your website, or if you don't display it, or if you don't use the multiple cart system you don't need the patch.
And in any case, you can just apply the change I talked about if you want to fix it.
It will be included in the next version of HikaShop, as always.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 20
- Thank you received: 0
11 years 7 months ago - 11 years 7 months ago #190525
by TwoFatFingers
Replied by TwoFatFingers on topic Proceed to Checkout button on Cart(s) page broken
I have the same problem with the latest business edition (HikaShop Business: 2.3.5) and do not find that bit of code in the file specified (I even did a Ctrl+F for "PROCEED" and comes up with zero).
Can you tell me what line it is on? (Am building on localhost, so cannot show you the site)
The Proceed to Checkout button does not work from a cart display menu item that shows the cart contents in the main content area.
The same button does however work from a cart module.
Can you tell me what line it is on? (Am building on localhost, so cannot show you the site)
The Proceed to Checkout button does not work from a cart display menu item that shows the cart contents in the main content area.
The same button does however work from a cart module.
Last edit: 11 years 7 months ago by TwoFatFingers. Reason: updating
Please Log in or Create an account to join the conversation.
11 years 7 months ago - 11 years 7 months ago #190527
by auron89
Replied by auron89 on topic Proceed to Checkout button on Cart(s) page broken
same thing happened to me, for uknown reasons chrome cannot find the words lol..
look at the end of the file, it's one of the last "if"
look at the end of the file, it's one of the last "if"
Last edit: 11 years 7 months ago by auron89.
The following user(s) said Thank You: TwoFatFingers
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 20
- Thank you received: 0
11 years 7 months ago #190528
by TwoFatFingers
Replied by TwoFatFingers on topic Proceed to Checkout button on Cart(s) page broken
Perfect! thank you!!!
(should probably go to Google forum and notify them of the find error! LOL )
(should probably go to Google forum and notify them of the find error! LOL )
Please Log in or Create an account to join the conversation.
Time to create page: 0.253 seconds