Skip to main content
Tweeted twitter.com/#!/StackMagento/status/533208615503400960
edited title
Link
Fabian Blechschmidt
  • 35.4k
  • 8
  • 75
  • 182

How to change the "+" sign for Edit custom options with priceselect box content

updated title
Link
Anna Völkl
  • 17.4k
  • 5
  • 60
  • 142

I have added How to change the "+" sign for custom option in product as selectboxoptions with price

added 7 characters in body; edited tags
Source Link
Fabian Blechschmidt
  • 35.4k
  • 8
  • 75
  • 182

I have added custom option in product as selectbox. Its showing fine on frontend but in select box + sign its showing. Is there a way to remove + Sign Symobl

Select Box here

Select Box options are

-- Please Select --

400x600x300 + Rs1,992.00

450x600x300 + Rs2,121.00

I have change js/varien/configurable.jsjs/varien/configurable.js changed this line var str = ''; price = parseFloat(price); if(showSign){ if(price<0){ str+= '-'; price = -price; } else{ str+= '+'; to str+= ' '; } } But

var str = '';
    price = parseFloat(price);
    if(showSign){
        if(price<0){
            str+= '-';
            price = -price;
        }
        else{
            str+= '+'; **to**
            str+= ' '; 
        }
    }

But it's not working.

I have added custom option in product as selectbox. Its showing fine on frontend but in select box + sign its showing. Is there a way to remove + Sign Symobl

Select Box here

Select Box options are

-- Please Select --

400x600x300 + Rs1,992.00

450x600x300 + Rs2,121.00

I have change js/varien/configurable.js changed this line var str = ''; price = parseFloat(price); if(showSign){ if(price<0){ str+= '-'; price = -price; } else{ str+= '+'; to str+= ' '; } } But it's not working.

I have added custom option in product as selectbox. Its showing fine on frontend but in select box + sign its showing. Is there a way to remove + Sign Symobl

Select Box here

Select Box options are

-- Please Select --

400x600x300 + Rs1,992.00

450x600x300 + Rs2,121.00

I have change js/varien/configurable.js changed this line

var str = '';
    price = parseFloat(price);
    if(showSign){
        if(price<0){
            str+= '-';
            price = -price;
        }
        else{
            str+= '+'; **to**
            str+= ' '; 
        }
    }

But it's not working.

deleted 1 character in body
Source Link
Siva Kumar
  • 173
  • 1
  • 8
Loading
added 23 characters in body
Source Link
Siva Kumar
  • 173
  • 1
  • 8
Loading
added 418 characters in body
Source Link
Siva Kumar
  • 173
  • 1
  • 8
Loading
added 17 characters in body
Source Link
Siva Kumar
  • 173
  • 1
  • 8
Loading
Source Link
Siva Kumar
  • 173
  • 1
  • 8
Loading