Free shipping vs collect on dellivery shipping

  • Posts: 52
  • Thank you received: 3
1 week 1 day ago #364911

-- HikaShop version -- : 5.1.2
-- Joomla version -- : 5.2.2
-- PHP version -- : 8.2

Hi.
we have two shipping methods :
first one is actually free
second one is free on checkout (customer doesn pay when placing the order) however, it doesnt mean that its free ... cutomer shoud pay when recieves the parcel

but becaus I put 0 amount in price, hikashop consider them both as free and display $0 for both of them

i can change the $0 to some words like FREE SHIPPING by putting an if else code in my override file, but because both of them are $0, system doesn reload cart section in checkout page so that when i switch between methods, FREE SHIPPING sentence and $0 wil not change

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

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
1 week 18 hours ago #364912

Hello,

Some custom Css may help you adjust this, follow me step by step :
1. First for your delivery method which must be paid upon receipt, define it as free in its backend settings.
2. Go to your checkout, then target the “free shipping” text with your mouse, then use your browser’s Inspector Tool (right-click => Inspect)
3. You will see your element Html thanks to a new window :


=> This will allow you to get relative <label> references, here on my screenshot :
for="shipping_radio_1_2__0__manual_2"
4. Create some custom Css in order to :
- Remove the "free shipping" :
label[for="shipping_radio_1_2__0__manual_2"] + span {
    display: none;
}
- Add information about payment of fees that will be paid upon receipt :
label[for="shipping_radio_1_2__0__manual_2"]:after {
    content: "your text";
}
=> You will get this result :


Note : Learn here how to add your custom Css.
Regards

Last edit: 1 week 22 hours ago by Philip.
The following user(s) said Thank You: demoisellegol

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

  • Posts: 52
  • Thank you received: 3
2 days 7 hours ago #364977

thank you
i will do the same

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

Time to create page: 0.060 seconds
Powered by Kunena Forum