- Posts: 43
- Thank you received: 0
Problems with the Shopping Cart
First I added one product to the cart and proceeded to checkout.
Screenshot of checkout
After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.
Please Log in or Create an account to join the conversation.
HikaShop keeps a list of your carts until you check them out, or that you delete them or that they expire.
Since you had another cart saved for your account, the system automatically loaded the next cart once you emptied your cart. You can change that by reducing the cart retaining period in the configuration.
For the fact that you're not redirected where you want, that's because you need to configure it by entering the URL you would like in the "URL where to redirect when the cart is empty" option of the checkout tab of the configuration.
Please Log in or Create an account to join the conversation.
That's not a bug.
HikaShop keeps a list of your carts until you check them out, or that you delete them or that they expire.
Since you had another cart saved for your account, the system automatically loaded the next cart once you emptied your cart. You can change that by reducing the cart retaining period in the configuration.
For the fact that you're not redirected where you want, that's because you need to configure it by entering the URL you would like in the "URL where to redirect when the cart is empty" option of the checkout tab of the configuration.
I see said the blind mice
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You need to edit your order and set the payment method in the back end.
Sounds easy enough, I can't find in the order where to add the payment method though...I'm in the backend, on the order page. All i see is details about the order and where I can add costs for shipping and coupons.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I read this in the help section while in the backend:
Payment method : You will see here the name of the payment method selected by the customer during the checkout process. Once you changed it, a popup will open asking you more information about why you are changing it (great for later reference). If you want to notify the customer of the change, a notification email interface will also be displayed in that popup. Note that if you removed the payment view from the workflow of the checkout process, the customer will not be prompted to select a payment method and the dropdown won't be visible.
So what do i do if want let customer place orders but not get sent to the payment gateway during checkout without removing the payment option from the checkout workflow?
Please Log in or Create an account to join the conversation.
Please edit the file administrator/components/com_hikashop/views/order/view.html.php
and change:
if(!empty($order->order_payment_id)){
$pluginsPayment = hikashop::get('type.plugins');
$pluginsPayment->type='payment';
$this->assignRef('payment',$pluginsPayment);
}
to:
$pluginsPayment = hikashop::get('type.plugins');
$pluginsPayment->type='payment';
$this->assignRef('payment',$pluginsPayment);
And you should see the dropdown. We'll change that for next version.
Please Log in or Create an account to join the conversation.
Indeed you can't change the payment method if none is selected.
Please edit the file administrator/components/com_hikashop/views/order/view.html.php
and change:
if(!empty($order->order_payment_id)){
$pluginsPayment = hikashop::get('type.plugins');
$pluginsPayment->type='payment';
$this->assignRef('payment',$pluginsPayment);
}
to:
$pluginsPayment = hikashop::get('type.plugins');
$pluginsPayment->type='payment';
$this->assignRef('payment',$pluginsPayment);
And you should see the dropdown. We'll change that for next version.
Great! Thanks for your continued support for my newbie questions. I will try this and return with my results, although you sounded pretty confident so I think I'm in the clear. Any who, Thank you again for your prompt replies. Take Care & God Bless!
Please Log in or Create an account to join the conversation.
I went to line 361 it had this in the line:
if(!empty($order->order_shipping_id)){
any suggestions?
found the culprit i think, i left the bracket at the end. Removed that now the order page loads up fine however the payment dropdown box still is not displayed.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Did you have a price for your order or is it 0 ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I'm talking about the file "form" of the view "order" that you can edit via the menu Display->Views.There, search for the payment method related code and remove the if condition around it.
I found where you were referring to, could you please highlight the line(s) that I should remove. I would greatly appreciate it.
Please Log in or Create an account to join the conversation.
if(!empty($this->payment) && bccomp($this->order->order_full_price,0,5)>0){
by:
if(true){
Please Log in or Create an account to join the conversation.
You need to change:
if(!empty($this->payment) && bccomp($this->order->order_full_price,0,5)>0){
by:
if(true){
I did as instructed and now i'm getting this when i try to access the orders page. "Parse error: syntax error, unexpected '<' in /administrator/templates/khepri/html/com_hikashop/order/form.php on line 178"
Please Log in or Create an account to join the conversation.