4 replies [Last post]
haysuess's picture
Offline
Joined: 07/07/2008
Juice: 299
Was this information Helpful?

Since you can not have multiple attributes and one show total price while the other shows the adjusted price, is there a way to simply remove the plus sign from in front of it? I assume it's really easy, from my previous joomla experience with virtuemart, but I don't know which file to look in.

Thanks!

zelavi@drupal.org's picture
Offline
Joined: 09/07/2008
Juice: 4
Re: Remove Plus Sign + From adjusted price

bump!

zelavi@drupal.org's picture
Offline
Joined: 09/07/2008
Juice: 4
Re: Re: Remove Plus Sign + From adjusted price

just figured it out, in case this comes up for anyone else:

admin/store/settings/attributes
choose "Display total price"

haysuess's picture
Offline
Joined: 07/07/2008
Juice: 299
Re: Re: Re: Remove Plus Sign + From adjusted price

That is something different than what I'm asking.

NecroHill's picture
Offline
Joined: 08/12/2008
Juice: 107
Re: Re: Re: Re: Remove Plus Sign + From adjusted price

see uc_attribute.module for line
$display_price = ($option->price != 0 ? ', '. ($option->price > 0 ? '+' : '') . uc_price($price_info, $context) : '');
just delete this +
I know that this is no good to hack the core files, but is there a solution to amend this other way?