Price in Shipping Method field

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #189158

Hi,
My shipping methods are drop-off sites/ pickup sites.
In the checkout screen under "Shipping method", there the price is paced in the front and end of the shipping site. It's a bit repetitive for me . Can I remove one or both price from this location.

Thanks

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #189166

Correction: I should have said "fee" not price.

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

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 3 months ago #189160

Hi,

I am sorry but I don't understand your question.
Please provide a screenshot to illustrate your request.

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.

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #189259


I highlighted the info I want removed.
I hope this helps.
Thanks you

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #189266

Hi,

To remove the prices in the shipping method selection part, you will have to edit the view "checkout / listing" and add $price_text = ''; after all the $price_text definitions.

www.hikashop.com/support/support/documen...ize-the-display.html

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #189526

I couldn't find the view "checkout / listing" area to edit. can you please provide a little for detail?

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

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 3 months ago #189531

Hi,

Xavier wanted to write "checkout / shipping" and not "checkout / listing".
You'll find the code he is talking about there.

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #189617

Ok, found it.
Now, not sure what you mean by this:
add $price_text = ''; after all the $price_text definitions.
Can you give me an example of what I'm suppose to change?

Thanks

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

  • Posts: 12953
  • Thank you received: 1778
10 years 3 months ago #189644

You'll just have to change these lines :

$price_text .= '</span> ';
$price_text .= JText::_('PRICE_END');
By :
$price_text .= '</span> ';
$price_text .= JText::_('PRICE_END');
$price_text = '';

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #189822

Hi,
I made the changes (lines 172 -175)and I'm still having the same problem . Any other thoughts on how to fix my issue?

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

  • Posts: 12953
  • Thank you received: 1778
10 years 3 months ago #189833

It's working for me so you're probably editing the wrong file or the file of the wrong template, note that you can also just use some CSS code to hide what you don't want to be displayed by using the "display : none" property.

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #189915

I've attached screen shots of the steps I took.
1) before screen shot of what I want to change
2) the file I edited
3) before shot of edited section
4) after shot of change
5) After screen shot of what was suppose to change (as you can see there was no change)

Please let me know what I did wrong.
Thank you

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

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 3 months ago #190013

Hi,

I can see that you did your change in the the view file for the protostar template. Are you using that template on your website ? If not, then it would explain why it didn't work. Make sure that you edit the view file for the correct template.

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #190016

It's strange,I'm not sure why it isn't working. I made the changes to the correct template (sorry i sent the wrong screen shot.)

Are these the only lines that needs to be changed :
$price_text .= '</span> ';
$price_text .= JText::_('PRICE_END');
By :
$price_text .= '</span> ';
$price_text .= JText::_('PRICE_END');
$price_text = '';

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

  • Posts: 12953
  • Thank you received: 1778
10 years 3 months ago #190045

Yes, and it worked on my end, note that you can also do what you want by using some CSS code maybe : www.hikashop.com/support/documentation/1...the-display.html#css

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #190090

Ok. This is all new to me . I wouldn't know where to start using CSS code.
Can someone please send me a copy of the edited file they are using that works? or is it possible for someone to look/make the changes for me?

Thanks,

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

  • Posts: 12
  • Thank you received: 0
10 years 3 months ago #190094

I found the problem. If I add a shipping fee, then the changes you suggested works. My issue was I had no fee and it showed "Free shipping" ("free shipping" was what i wanted to get rid off). So, I had to add a fee for it to not report it (if that makes sense).

Thanks again for the assistance.

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

Time to create page: 0.126 seconds
Powered by Kunena Forum