Hide the positive symbol in the options dropdown?

  • Posts: 73
  • Thank you received: 0
11 years 5 months ago #103277

Is it possible to hide the positive symbol in the product options dropdown menu?

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #103290

Hi,

The positive symbol in the product options dropdown menu ?
Can you provide an screenshot or an image. I don't see what you're talking about.

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: 73
  • Thank you received: 0
11 years 5 months ago #103321
Attachments:

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #103331

Hi,

Thanks !

You have to edit the view "product | option". You will find the line:

$text.=' ( '.($positive?'+ ':'').strip_tags($this->loadTemplate()).' )';
So you can replace it by
$text.=' ( '.strip_tags($this->loadTemplate()).' )';
To remove the "+" before the price.

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: 73
  • Thank you received: 0
11 years 5 months ago #103587

Unfortunately that didn't work

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #103590

Hi,

The line that I mentioned is used two times in the view (so, two replacements to do).

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: 73
  • Thank you received: 0
11 years 5 months ago #103593

That worked perfectly Jerome, thank you so much.

Is it also possible to remove it from the text in the shopping cart?





Lastly, I would also like to remove the text from the shopping cart which is highlighted in yellow on the image below. I think the cart would look a lot simpler and easier to read if this text was not there. Is this possible?




Thank you so much for all of your help. Your positive attitude and polite responses are much appreciated.

Attachments:

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #103594

Hi,

Same procedure, another view : "checkout | cart".
Look at the line:{code]echo ' ( + ';[/code]
You can customize the rest of the view in order to remove the content you don't want to display.

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.

Time to create page: 0.064 seconds
Powered by Kunena Forum