Checkout Loop

  • Posts: 73
  • Thank you received: 1
11 years 8 months ago #125766

-- url of the page with the problem -- : www.exo-l.com/shop2/accessoires (add anything to cart and go to checkout)
-- HikaShop version -- : 1.6
-- Joomla version -- : 2.5
-- PHP version -- : 5.13
-- Browser(s) name and version -- : Firefox 23
-- Error-message(debug-mod must be tuned on) -- : no errors.

It seems that hikashop decided to loop once the user is in checkout. I have NO idea what happened. I don't remember me fiddling around with this part of the application but this is the problem.

You can go to exo-l.com/shop2/accessoires, add anything to the cart and then proceed to checkout. It will then stay stuck in checkout.
if you append /step-1 and so on to the url it does work

login if necessary:

credentials removed

I could fix it myself but I have NO idea where to start looking. There are no error messages. Any guidance would be greatly appreciated!

Last edit: 11 years 8 months ago by Jerome.

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #125816

Hi,

Can you please send us a screenshot of your checkout workflow ?

Thanks,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 1
11 years 8 months ago #125837

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #125845

Ok, And can you :
- Set the "Checkout workflow" option to NO
- Show me how your "Advanced checkout workflow edition" option is set now ?

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

  • Posts: 73
  • Thank you received: 1
11 years 8 months ago #125864

cart_coupon_status_fields,login,shipping_address,payment_confirm,end

If I remove the cart step, it works.. something is going on in the cart file but I don't know where to look..

Last edit: 11 years 8 months ago by Ortix.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #125874

Ok so can you download the last Hikashop version through our website, install it, and test it again ?

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

  • Posts: 73
  • Thank you received: 1
11 years 8 months ago #125882

That is not an option. We are already running too many custom plugins and what not. I could probably fix it, but I don't know the complete inner workings of hikashop (1.6 is kind of a mess).

However I have isolated it to the cart.php in the checkout folder. I'll update once i find out more

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #125942

Hi,

I am wondering why HikaShop 1.6 worked good and now generates a loop.
I guess that something in the configuration changed.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 1
11 years 8 months ago #125945

I'm wondering the exact same. I looked narrowed it down to the quantity field in the cart.php file
pastebin.com/tQvHYTRH

any idea what could be going wrong? Is there some sort of validation taking place when the "next" button is clicked?

To be more specific its this line:

<input id="hikashop_checkout_quantity_<?php echo $row->cart_product_id; ?>" type="text" name="item[<?php echo $row->cart_product_id; ?>]" class="hikashop_product_quantity_field" value="<?php echo $row->cart_product_quantity; ?>" onchange="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id; ?>'); if (qty_field){<?php echo $input; ?>}" />

Last edit: 11 years 8 months ago by Ortix.

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

  • Posts: 73
  • Thank you received: 1
11 years 8 months ago #125952

I'm so frikkin' stupid.

I created a plugin which does some redirecting according to the "step" var.. that var is also used in the checkout process! DOH!

Problem solved!

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #125958

Hi,

Good to know that you found the source of your problem :)
Like we said : we are human so don't blame you !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.168 seconds
Powered by Kunena Forum