Shipping method not found after upgrade
13 years 10 months ago #78343
by rwstout
Groet,
René
Shipping method not found after upgrade was created by rwstout
Hello,
After upgrading Hikashop I get the message that the shipping method is not found. This only occurs when the weight = 0. For all other weights there is no problem.
I defined a shipping method for weight = 0 long ago and it always worked fine. Attached its config. Any idea?
I use Joomla 2.5.8
After upgrading Hikashop I get the message that the shipping method is not found. This only occurs when the weight = 0. For all other weights there is no problem.
I defined a shipping method for weight = 0 long ago and it always worked fine. Attached its config. Any idea?
I use Joomla 2.5.8
Groet,
René
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78361
by Xavier
Replied by Xavier on topic Shipping method not found after upgrade
Hi,
You have to enable the option "Force shipping regardless of weight" in HikaShop > Configuration > Display.
And the option "Virtual article.." in your shipping method configuration.
You have to enable the option "Force shipping regardless of weight" in HikaShop > Configuration > Display.
And the option "Virtual article.." in your shipping method configuration.
The following user(s) said Thank You: rwstout
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78383
by rwstout
Groet,
René
Replied by rwstout on topic Shipping method not found after upgrade
Thanks,
In fact the first setting is in Configuration | Checkout.
Question: now I see: Shipping cost: € 0.
Is there a way to don't show shipping costs when they are zero?
In fact the first setting is in Configuration | Checkout.
Question: now I see: Shipping cost: € 0.
Is there a way to don't show shipping costs when they are zero?
Groet,
René
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78402
by Xavier
Replied by Xavier on topic Shipping method not found after upgrade
Hi,
Yes, you can edit the view "checkout / cart" and add an if/else condition to display or not the shipping costs if the price is equal to 0 or not.
Yes, you can edit the view "checkout / cart" and add an if/else condition to display or not the shipping costs if the price is equal to 0 or not.
The following user(s) said Thank You: rwstout
Please Log in or Create an account to join the conversation.
13 years 10 months ago - 13 years 10 months ago #78403
by Jerome
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.
Replied by Jerome on topic Shipping method not found after upgrade
Hi,
You can override the view "checkout | cart" in order to display JText::_('PRICE_FREE') when the shipping price is 0.
Just replace
By
Regards,
You can override the view "checkout | cart" in order to display JText::_('PRICE_FREE') when the shipping price is 0.
Just replace
Code:
if(isset($this->shipping->shipping_price)) {
if(bccomp($taxes,0,5)==0 || !$this->params->get('price_with_tax') || !isset($this->shipping->shipping_price_with_tax) ){
echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);
}else{
echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id);
}
}
Code:
if(isset($this->shipping->shipping_price)) {
if(empty($this->shipping->shipping_price)) {
echo JText::_('FREE_PRICE');
} else if(bccomp($taxes,0,5)==0 || !$this->params->get('price_with_tax') || !isset($this->shipping->shipping_price_with_tax) ){
echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);
}else{
echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id);
}
}
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.
Last edit: 13 years 10 months ago by Jerome.
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78417
by rwstout
Groet,
René
Replied by rwstout on topic Shipping method not found after upgrade
Thanks,
It's not quite what I would like to see. I prefer that the card does not show the shipping method at all when the costs are zero. As far as I can remember it was that way. Did it change in the latest Hikashop version?
It's not quite what I would like to see. I prefer that the card does not show the shipping method at all when the costs are zero. As far as I can remember it was that way. Did it change in the latest Hikashop version?
Groet,
René
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78440
by Xavier
Replied by Xavier on topic Shipping method not found after upgrade
Nothing changed since HikaShop 1.6.0 in the shipping system.
But it's possible that some options have been unset, and need to be set again.
But it's possible that some options have been unset, and need to be set again.
Please Log in or Create an account to join the conversation.
Time to create page: 0.217 seconds