Get free shipping - show when

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 11 months ago #337915

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4

Hi

My customer offers free shipping when order is over, let's say €500.
Would it be possible in the cart, if the order is below €500 to show something like "Buy for €XX more to get free shipping" - where €XX is the amount from the order amount up to the €500.

Hope I made my self clear :-)

Regards
Thomas

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 11 months ago #337917

Hi,

What you can do is add a "text" view to your "checkout workflow" in the HikaShop configuration.
There, you can add such tag:

{hkshow maxcart=500}Add more items to your cart to reach 500€ in order to get free shipping.{/hkshow}

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

  • Posts: 2143
  • Thank you received: 747
2 years 11 months ago #337926

Hi Nicolas,

Where are all such shortcodes/tags including possible attributes documented? I can't find anything in the documentation, other than some mentions scattered across blog posts and changelog.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 11 months ago #337928

Thanks, but shouldn't the text disappear when the customer reached the amount?
Here it's 3.000,-

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

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 11 months ago #337932

I found this, which is working great!
www.hikashop.com/forum/install-update/87...html?start=40#337931

But the amount I see is 2491.7 - how can I format that to 2.491,70?
I has been added by LANGUAGE OVERRIDE with %s in it.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 11 months ago #337939

Hi,

@lousyfool :
This is a recent addition to HikaShop. It was added less than a year ago.
So it was mainly mentioned in a blog post. There is no mention of it in the documentation yet.

@Thrane:
I don't know what tag you used exactly but it works fine on my end.

Regarding the code form the other thread, you can replace the line:

$app->enqueueMessage(JText::sprintf('MISSING_QTY_FOR_FREE_SHIPPING',$diffQty));
with:
$app->enqueueMessage(JText::sprintf('MISSING_QTY_FOR_FREE_SHIPPING',$this->currencyClass->format($diffQty, $this->full_total->prices[0]->price_currency_id)));
and it will display the price well formatted with the currency symbol etc.

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

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 11 months ago #337953

Thank you!

This here isn't removed when the cart is over 500

{hkshow maxcart=500}Add more items to your cart to reach 500€ in order to get free shipping.{/hkshow}

But never mind now I found the other code :-)

The following user(s) said Thank You: nicolas

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

Time to create page: 0.077 seconds
Powered by Kunena Forum