- Posts: 2
- Thank you received: 0
Proceed to Checkout in MiniCart is not working
- sm@indiwan.de
-
Topic Author
- Offline
Less
More
9 years 4 months ago #274133
by sm@indiwan.de
Proceed to Checkout in MiniCart is not working was created by sm@indiwan.de
-- url of the page with the problem -- :
www.barschule-muenchen.de
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.3
-- PHP version -- : 7.0.19
-- Browser(s) name and version -- : All
After adding products to the cart, clicking on the mini cart shows a button "zur Kasse" which means "proceed to checkout". Pressing that button just reloads to current page instead of leading the user to the checkout process.
Any help deeply appreciated.
Thanks in advance
Stefan
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.3
-- PHP version -- : 7.0.19
-- Browser(s) name and version -- : All
After adding products to the cart, clicking on the mini cart shows a button "zur Kasse" which means "proceed to checkout". Pressing that button just reloads to current page instead of leading the user to the checkout process.
Any help deeply appreciated.
Thanks in advance
Stefan
Please Log in or Create an account to join the conversation.
9 years 4 months ago #274136
by nicolas
Replied by nicolas on topic Proceed to Checkout in MiniCart is not working
Hi,
The issue is that the cart module on your website is not the default one we have in HikaShop. It seems to be a customized version of the cart module from HikaShop 2.x. That cart module isn't fully compatible with HikaShop3.x, especially that button.
So you'll have to contact the developer of that module (I suppose it is your template provider) so that they can update the code for that button.
If it is a HikaShop cart module that has been customized, you can also edit the file "cart" of the view "product" via the menu Display>Views and fix the code of the button near the end of the view file.
The issue is that the cart module on your website is not the default one we have in HikaShop. It seems to be a customized version of the cart module from HikaShop 2.x. That cart module isn't fully compatible with HikaShop3.x, especially that button.
So you'll have to contact the developer of that module (I suppose it is your template provider) so that they can update the code for that button.
If it is a HikaShop cart module that has been customized, you can also edit the file "cart" of the view "product" via the menu Display>Views and fix the code of the button near the end of the view file.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285953
by mad-q
Replied by mad-q on topic Proceed to Checkout in MiniCart is not working
Hi,
I too am having this problem however this is the standard hikashop cart. I am not sure where to look for answers.
Cheers
Iain
www.craven-equipment.co.uk
I too am having this problem however this is the standard hikashop cart. I am not sure where to look for answers.
Cheers
Iain
www.craven-equipment.co.uk
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285954
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Proceed to Checkout in MiniCart is not working
Hello,
If you're talking about the module in the top menu ; I'm afraid that is not the HikaShop cart module but it's something customized by the template.
You have the exact same cart than in the first post of this thread.
And the content "The Basket is empty" is provided by the template itself ; the module is called "gkPopupCart"
Regards,
If you're talking about the module in the top menu ; I'm afraid that is not the HikaShop cart module but it's something customized by the template.
You have the exact same cart than in the first post of this thread.
And the content "The Basket is empty" is provided by the template itself ; the module is called "gkPopupCart"
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
8 years 10 months ago - 8 years 9 months ago #286007
by mad-q
Replied by mad-q on topic Proceed to Checkout in MiniCart is not working
Here is the solution to the problem,
Hi all
I made a few ajustments to cart.php to make it work in Hikashop 3.2.0
Line 11 add this:
CODE: SELECT ALL
Around line 120 replace form tag with:
CODE: SELECT ALL
Around line 327 replace with this:
CODE: SELECT ALL
Regards,
Henrik
My regards to Henrik
Hi all
I made a few ajustments to cart.php to make it work in Hikashop 3.2.0
Line 11 add this:
CODE: SELECT ALL
Code:
global $Itemid;
$css_button = $this->config->get('css_button', 'hikabtn');
$css_button_checkout = $this->config->get('css_button_checkout', '');
$module_id = (int)$this->params->get('id', 0);
Around line 120 replace form tag with:
CODE: SELECT ALL
Code:
<form action="<?php echo hikashop_completeLink('product&task=updatecart'.$this->url_itemid, false, true); ?>" method="post" name="hikashop_<?php echo $this->element->cart_type; ?>_form" onsubmit="if(window.hikashop) return window.hikashop.submitCartModule(this, 'hikashop_cart_<?php echo $module_id; ?>', '<?php echo $this->element->cart_type; ?>');">
Around line 327 replace with this:
CODE: SELECT ALL
Code:
<?php
if ($this->params->get('cart_type', 'cart') != 'wishlist' && $this->params->get('from', 'display') == 'module') :
if($this->params->get('show_cart_proceed',1)) {
?>
<a class="<?php echo $css_button . ' ' . $css_button_checkout; ?>" href="<?php echo $this->url_checkout; ?>" onclick="if(this.disable) return false; this.disable = true;"><span><?php
echo JText::_('PROCEED_TO_CHECKOUT');
?></span></a>
<?php
}
endif; ?>
Regards,
Henrik
My regards to Henrik
Last edit: 8 years 9 months ago by Jerome. Reason: [code] tag is nice
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
8 years 9 months ago #287233
by peebee10
Replied by peebee10 on topic Proceed to Checkout in MiniCart is not working
Great work. Thanks. I can confirm that the code changes above by mad-q will fix the Gavick custom cart issues.
Much appreciated.
Much appreciated.
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds