Coupons and Shipping

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 5 months ago #19018

Product value of £6
Coupon worth £10
Shipping £3

Total order value at checkout = £0.
Should it be £3 - i.e. the shipping value?

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19033

Indeed. It seems more logical to keep the shipping fee. Please try to add the lines:
if(bccomp($cart->full_total->prices[0]->price_value_with_tax,0,5)<=0){
$cart->full_total->prices[0]->price_value_with_tax = 0;
$cart->full_total->prices[0]->price_value = 0;
}

in the file administrator/components/com_hikashop/classes/cart.php just before:
$shipping_id = $app->getUserState( HIKASHOP_COMPONENT.'.shipping_id');

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

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 5 months ago #19101

Works great thanks - another one for next release please.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19113

Yes.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum