- Posts: 73
- Thank you received: 1
Checkout Loop
13 years 1 month ago - 13 years 1 month ago #125766
by Ortix
Checkout Loop was created by Ortix
-- 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:
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!
-- 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:
Code:
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: 13 years 1 month ago by Jerome.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #125816
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Checkout Loop
Hi,
Can you please send us a screenshot of your checkout workflow ?
Thanks,
Can you please send us a screenshot of your checkout workflow ?
Thanks,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #125837
by Ortix
Replied by Ortix on topic Checkout Loop
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 1 month ago #125845
by Mohamed Thelji
Replied by Mohamed Thelji on topic Checkout Loop
Ok, And can you :
- Set the "Checkout workflow" option to NO
- Show me how your "Advanced checkout workflow edition" option is set now ?
- 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.
13 years 1 month ago - 13 years 1 month ago #125864
by Ortix
If I remove the cart step, it works.. something is going on in the cart file but I don't know where to look..
Replied by Ortix on topic Checkout Loop
Code:
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: 13 years 1 month ago by Ortix.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 1 month ago #125874
by Mohamed Thelji
Replied by Mohamed Thelji on topic Checkout Loop
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.
13 years 1 month ago #125882
by Ortix
Replied by Ortix on topic Checkout Loop
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
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.
13 years 1 month ago #125942
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Checkout Loop
Hi,
I am wondering why HikaShop 1.6 worked good and now generates a loop.
I guess that something in the configuration changed.
Regards,
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.
Please Log in or Create an account to join the conversation.
13 years 1 month ago - 13 years 1 month ago #125945
by Ortix
Replied by Ortix on topic Checkout Loop
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:
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:
Code:
<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: 13 years 1 month ago by Ortix.
Please Log in or Create an account to join the conversation.
13 years 1 month ago #125952
by Ortix
Replied by Ortix on topic Checkout Loop
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!
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.
13 years 1 month ago #125958
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Checkout Loop
Hi,
Good to know that you found the source of your problem
Like we said : we are human so don't blame you !
Regards,
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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds