Skip to main content

Cart module

3 years 8 months ago #349765 by maurizio.dematteis@gmail.com
-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.2.8
-- PHP version -- : 8.x

Hello,
I have a question regarding the button "proceed to checkout" in the cart module.
The link leads to the "component/hikashop/..." view.
Because of that, i can not control the assigned modules.

As far as I understand, the url for the button is build in the following code in the cart.php
Code:
$itemid_for_checkout = $this->config->get('checkout_itemid','0'); if(!empty($itemid_for_checkout)){ $url_checkout = hikashop_completeLink('checkout&Itemid='.$itemid_for_checkout); }else{ $url_checkout = hikashop_completeLink('checkout'.$url_itemid); }
Is it possible to change it to the regular "checkout(legacy)" link.
Thank you for support.
Regards
Maurizio

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

3 years 8 months ago #349772 by nicolas
Replied by nicolas on topic Cart module
Hi,

That's not the code used in cart.php to generate the URL of the "proceed to checkout" button of the cart module.
This might have been the case a few years ago. Are you using a view override based on an old version of HikaShop ?

With that old code, the best is to fill in the "force menu on checkout" setting of the HikaShop configuration with a HikaShop menu item. That way, the link will use that menu item and you'll be able to configure the modules on that menu item.
The following user(s) said Thank You: maurizio.dematteis@gmail.com

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

3 years 8 months ago #349782 by maurizio.dematteis@gmail.com
Hello Nicolas,
that works fine.
You are right. The overrides of the Storefront Template from Gavicvk haven't been updated for a longer time.
Hope, i don't find many bugs more.

Thank you for your great support!
Maurizio

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

Time to create page: 0.044 seconds
Powered by Kunena Forum