"Proceed to Checkout" not working in cart

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #189367

-- HikaShop version -- : HikaShop [1501121550]
-- Joomla version -- : 3.3
-- PHP version -- : 5.6.4
-- Browser(s) name and version -- : Firefox

Hello,
When I go in the cart the button "Proceed to Checkout" will not work.
But my checkout works well - it seemed the button provide the wrong URL!?

If I went to checkout directly it is the URL:
www.gorinpianotales.org/checkout/checkout

But the "Proceed to Chcheckout" button at the cart will link to:
www.gorinpianotales.org/checkout/cart

I found a topic with an problem like this:
www.hikashop.com/forum/checkout/874544-p...e-broken.html#189142

I tried this out - without any success!?

Thanks for help!

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #189370

I have another question: I implement the Cart-Module in the header.
But the "cart-module" not a "Cart-Module".... it goes directly to the checkout?
I would prefer that it shows simply the card (just items without Shipping...) and also has the button "Proceed to checkout".

Look at the shop I attached the URL... I like the the cart-module shows the same thing as the menu-button "cart"

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

  • Posts: 12953
  • Thank you received: 1778
10 years 3 months ago #189372

Hello,
I just tested it on your website, and it worked fine, (the "proceed to checkout" link of your add to cart popup, and cart module worked fine).
Do you still have that issue ?

But the "Proceed to Chcheckout" button at the cart will link to:
www.gorinpianotales.org/checkout/cart

A solution can be to force a special menu on your checkout, by using the "Force a menu on the checkout" option via "Hikashop->System->Configuration->Checkout".

The following user(s) said Thank You: bittrapper

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #189648

Dear Mohamed,
thanks for your answer, but it didnt help with my problem - I try to explain again:

- Go at the Website www.gorinpianotales.org/ in the TOP MENU to ORDER BOOKS and select any book and presse the Button ADD TO CART on the bottom of that page. To show you my problem you need to have something in the cart!

FIRST PROBLEM:
- Now go again in the TOP MENU and press the right button CART in the menu. At the bottom of the site that comes up you now see another button which was generated by HikaShop and which is called PROCEED TO CHECKOUT - and this button would not work. If you press it just nothing happens. The reason is that this button seemed to link to the wrong page. It goes to www.gorinpianotales.org/checkout/cart which call the website itself again. To work correctly it has to link to www.gorinpianotales.org/checkout/checkout . This seemed to by a bug in HikaShop - please help!

SECOND PROBLEM:
- When you still have something in the cart you also have a GREEN / YELLOW CART SYMBOL in the top of the page (header of the page) under the Top Menu. When you press this cart-symbol it goes directly to the checkout - but that makes not really sense because my opinion is that it has to go to the cart. Now it goes to www.gorinpianotales.org/checkout/checkout . But it would be more logical it would go to www.gorinpianotales.org/checkout because this show the cart and you have the optional button to PROCEED TO CHECKOUT (that actual wont work - see FIRST PROBLEM). Behind the cart-symbol simply works the cart-module of Hikah-Shop.
Where can I change this?

Thanks again for your time and help!
All the best, Frank

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #189720

Hi,

1. Please change the alias of your "Cart" menu entry from "checkout" to "cart".

2. To change this you can edit the view "product / cart" and replace the code:

if(!empty($itemid_for_checkout)){
	$url_checkout = hikashop_completeLink('checkout&Itemid='.$itemid_for_checkout);
}else{
	$url_checkout = hikashop_completeLink('checkout'.$url_itemid);
}
By:
$url_checkout = hikashop_completeLink('cart'.$url_itemid);

In this code I set "cart" based on the question 1 answer, if you don't want to change the menu alias, so use the other menu alias in the code.

The following user(s) said Thank You: bittrapper

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #189997

I changed the alias as you said - but the "Proceed to checkout" button is still without any function .
So that wasn't the solution!!! Any idea? I am sure it is a bug in Hikashop...

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #189998

Also 2. wasnt the right solution: I changed "product / cart" as you said - but this was total nonsens: Now if you click on the yellow/green-cart-symbol you see the things in the cart (that is OK!) but there is no possibility to "proceed to checkout". There is now a button called "Convert to wishlist" - but I dont like to have functions like wishlists.

I just like to have a very simple normal shop: Just click on the Menu cart, go to the cart and have the possibility to "proceed to checkout" (that doesnt work!!). And if you click onto the cart-symbol just do the same... no wishlist, no cart-names and no other things - just a very simple standard-shop without any features.... but seemed to be more complicate as I thought...

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #190031

Hi,

1. Do you still have a menu with the alias "checkout" ? If so, please delete it.
In Configuration > Checkout, do you have set a menu for the option "Force a menu on checkout" ?
If not, please set a menu there, else you can too edit the view "cart / showcart" and replace:

		if(!empty($itemid_for_checkout)){
			$url_checkout = hikashop_completeLink('checkout&Itemid='.$itemid_for_checkout);
		}else{
			$url_checkout = hikashop_completeLink('checkout'.$url_itemid);
		}
By:
$url_checkout = hikashop_completeLink('checkout&Itemid=XX');

2. Please try to replace:
$url_checkout = hikashop_completeLink('cart'.$url_itemid);
To:
$url_checkout = hikashop_completeLink('cart&Itemid=XX');
Where "XX" need to be replaced by the id of the cart display menu. In your url you must only have "/cart" and not "/cart/cart" when clicking on the yellow/green cart symbol. If you still have "/cart/cart" so remove 'cart&' in the previous code.

ps: The issue is coming from your menu settings, you are using aliases already in use by default in HikaShop.

The following user(s) said Thank You: bittrapper

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

  • Posts: 41
  • Thank you received: 6
  • Hikashop Business
10 years 3 months ago #190093

Hi,

1. I have a same problem. How can I get a proper link to display cart? If I made a menu position in jommla menu manager (Hikashop ->Display Cart), I have a button proceed to checkout. But when I click on it, nothing happens.

If I click on green icon back I see conver cart in whistlist. For example: demo.hikashop.com/index.php/en/component...id-57/cart_type-cart

I show that option even if whist list is off. Unfortunately I can’t turn on now a web page.

2. In cart module I also see a field “cart name”, but multi carts option in control panel is off. I can hide this filed but I think that when multi card is off, that position should not be displayed.

Thank Your for help.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #190149

Hi,

1. As for bittrapper, do you have set a menu for the option "Force a menu on checkout" ? Do you have created a menu with the alias "checkout" ? I am not able to reproduce the issue on my end.
On our demo website, when clicking on the "back" icon, from the given link I am redirected to the user control panel page, which is correct.

2. Indeed, when not using multi cart, the cart name don't have any sense. Thanks for the feedback.

The following user(s) said Thank You: bittrapper

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #190186

Hi Xavier,
I had no success:

You said: Do you still have a menu with the alias "checkout" ? If so, please delete it.
I did this after you first post - you said to change the alias to "cart" and that was what I did a few days ago.
There is no menu with alias "checkout" anymore.

You said: In Configuration > Checkout, do you have set a menu for the option "Force a menu on checkout" ?
No - the option is set to "none"

You said: If not, please set a menu there, else you can too edit the view "cart / showcart" and replace ...
Sorry - I simply cant find that code you wrote in the "cart / showcart.php"? (look at the screenshot). I searched the whole file with Notepadd++ !?!?!

User Zielinski said: In cart module I also see a field “cart name”, but multi carts option in control panel is off. I can hide this filed but I think that when multi card is off, that position should not be displayed.
You answered: Indeed, when not using multi cart, the cart name don't have any sense. Thanks for the feedback.
I think:I have also the same problem and it would also nice to give us a hint how we can solve that problem and hide that senseless function (whe multicart is off).

My customer is a little bit upset that I am not able to solve that problems with Hikahshop (Proceed to Checkout without function). So I really need professional help and a fast solution. If it would help to fix that bug I can give you access to my Shop. I this would be usefull let me know and I send you a pn with username and password (also ifit would help ftp).
Thanks again for your help so far!

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #190200

Hi,

Please provide a backend access in order to fix the issue directly on your end.
You can give the login informations via private message or via our contact form.
Don't forget to give the url to that topic in the message.

The following user(s) said Thank You: bittrapper

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

  • Posts: 41
  • Thank you received: 6
  • Hikashop Business
10 years 3 months ago #190295

Hi,

  1. I want to add, that I also don’t have alias checkout or cart or something familiar, and also option force menu is No. Could you show how cart should look like in your demo shop? Could you post a link to cart?
  2. Even if whist lists is off in control panel, in my shop I also see something like this: demo.hikashop.com/index.php/en/hikashop/...play-in-div-div/cart . “Convert to whist list” button is also available. I think that this should not appear.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #190348

Hi,

I have edited the view "cart / showcart" and "product / cart" now it is working as expected, but there is strange comportment with the urls on your website, for example when a product has the alias "cart" so the link become "/cart/cart", it double the alias.
This is maybe due to a third component you have installed.

The following user(s) said Thank You: bittrapper

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #190447

Dear Xavier,

first: thank you for help!

The site is a fresh installation. It is hosted at 1&1. Joomla-SEF is set "on".

The htaccess is set to Joomla-Standard (just Rewritebase is set to "/").

But there is no other third component or other things. I only installed Akeeba-Backup (but this was installed after the problem appears).

Let me know if you are interested to look to this problem... if yes I can give you FTP-Access or whatever you need.

Thanks a lot, Frank

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #190448

A short second question:
Is there a easy way to remove the "cart name" option and the "save-" and "back-" Button?
Multicart is off - so it makes no sense for my shop.

Thanks, Frank

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #190449

Hi,

Yes you can edit the view "cart / showcart" and remove the parts where the name and the icons are displayed.
For the first issue, it can be related on "JoomSEF".

The following user(s) said Thank You: bittrapper

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #190581

Hi Xavier,
but there is no special SEF-Component installed. I just put the "Joomla-On-Board" SEF-Function to "ON" (with modrewrite). I think most users do this. Any idea?

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

  • Posts: 41
  • Thank you received: 6
  • Hikashop Business
10 years 3 months ago #190636

Hi, so only solution is to modify a source files? It seems that Is a bug. Could you write that modifications in booth files?

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

  • Posts: 18
  • Thank you received: 0
10 years 3 months ago #190789

Dear Xavier,

my customer said that also the "PAY NOW" Button at the end of the checkout is without any function? I cant check this bug by myself because on my computer Hikashop only shows that button a second and then jumps directly to Paypal (what ist absolutely correct). So I dont have the situation that I get that button and can check it out.
But the customer said that this button is also "dead" - is this also the same problem as the other dead links I reported?
Do you have a hint for me what I could do?
Thanks again, Frank

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

Time to create page: 0.183 seconds
Powered by Kunena Forum