*

Daniel Petre

  • ***
  • 56 posts
Price - Select Option
« on: June 22, 2018, 08:12:06 PM »
I would like to add some options price:
I tried but did not take my order and does not display ..
I added in item.post and item.edit

 <option value="3"><?php _e('Negociable', 'elena'); ?></option>
 <option value="4"><?php _e('/ Piece', 'elena'); ?></option>
 <option value="5"><?php _e('/ Person', 'elena'); ?></option>
 <option value="6"><?php _e('/ Hour', 'elena'); ?></option>
 <option value="7"><?php _e('/ Kilo', 'elena'); ?></option>
 <option value="8"><?php _e('/ Month', 'elena'); ?></option>

and


else if (document.getElementById("PriceSelect").value == 3) {
        document.getElementById("price").readOnly=false;
        document.getElementById("price").style.backgroundColor="#fff";
        document.getElementById("price").style.color="#000";
      }else if (document.getElementById("PriceSelect").value == 4) {
        document.getElementById("price").readOnly=false;
        document.getElementById("price").style.backgroundColor="#fff";
        document.getElementById("price").style.color="#000";
      }else if (document.getElementById("PriceSelect").value == 5) {
        document.getElementById("price").readOnly=false;
        document.getElementById("price").style.backgroundColor="#fff";
        document.getElementById("price").style.color="#000";
      }else if (document.getElementById("PriceSelect").value == 6) {
        document.getElementById("price").readOnly=false;
        document.getElementById("price").style.backgroundColor="#fff";
        document.getElementById("price").style.color="#000";
      }else if (document.getElementById("PriceSelect").value == 7) {
        document.getElementById("price").readOnly=false;
        document.getElementById("price").style.backgroundColor="#fff";
        document.getElementById("price").style.color="#000";
      }else if (document.getElementById("PriceSelect").value == 8) {
        document.getElementById("price").readOnly=false;
        document.getElementById("price").style.backgroundColor="#fff";
        document.getElementById("price").style.color="#000";
      }

and is not working
you can help me with what I am not doing correct
or I still have to change something else

*

Daniel Petre

  • ***
  • 56 posts
Re: Price - Select Option
« Reply #1 on: June 25, 2018, 11:30:18 AM »
Someone some help .

*

MB Themes

Re: Price - Select Option
« Reply #2 on: June 25, 2018, 11:38:25 AM »
@Daniel
There are only 3 types of values osclass support in price:
- blank: check with seller
- 0: free
- > 0 : show amount
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel Petre

  • ***
  • 56 posts
Re: Price - Select Option
« Reply #3 on: June 26, 2018, 10:19:32 AM »
Ok thank s
I did not know that only three variants supported osclass.