Some serious errors

  • Posts: 48
  • Thank you received: 0
12 years 1 month ago #68089

1. Cart errror.
При нескольких нажатиях на удаление товара, больше нельзя добавить в корзину покупки.



2. Ordering error.

В настройках оформления заказа я выбираю:
1 шаг - Корзина
2 шаг - Доставка, Авторизация

..../checkout/cart_type-cart.html






..../checkout/step/step-1.html



..../checkout/step/step-2.html



...../checkout/step/step-2.html




Please try again

My site: ooovkus.ru/index.php/stranitsa-3/category/13-mebel (or "Стр 3)

Last edit: 12 years 1 month ago by TRIGUN.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 1 month ago #68118

Hi,

I don't understand your problems.
Your cart is working properly. I didn't had any problems adding/removing products from it.

You don't have the "payment" view in your checkout workflow. So there is no payment.
What is the problem with the shipping method ?

If you want another message at the end of the checkout, you can edit the file "end" of the view "checkout" via the menu Display->Views.
There you can add the order number and the price of the order like that:
$app =& JFactory::getApplication();
$order_id = $app->getUserState( HIKASHOP_COMPONENT.'.shipping_id' );
$orderClass = hikashop_get('class.order');
$order = $orderClass->loadFullOrder($order_id);

echo $order->order_number;

echo $order->order_full_price;

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

  • Posts: 48
  • Thank you received: 0
12 years 1 month ago #68149

1. Иногда заказ не получается оформить и товар остается в корзине.
2. Дважды выводится выбор способа оплаты (одно и то же). Для чего?
3. Иногда не выводится информация о заказе. Почему?


1. Sometimes is impossible to make an order and goods remain in the basket.
2. Double output choice of shipping (same). For what?
3. Sometimes it does not display information about the order. Why?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 1 month ago #68155

1. Do you have some kind of error in that case ? What happens ? I didn't see any problem.

2. When you login the display of the page change since the registration form is removed. So the system stays on the same page.
You are registering, not finishing the order.
If you don't want to have it twice, change your checkout workflow to have three steps:
cart then login then shipping

3. Ah yes, try with that code instead:
$app =& JFactory::getApplication();
$order_id = $app->getUserState( HIKASHOP_COMPONENT.'.shipping_id' );
$orderClass = hikashop_get('class.order');
$order = $orderClass->loadFullOrder($order_id,false, false);

echo $order->order_number;

echo $order->order_full_price;

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

Time to create page: 0.093 seconds
Powered by Kunena Forum