• Hi,

    First, thanks for this great plugin, very useful !
    However, I’ve got a very small issue regarding the currency symbol. When I click on one of the radio buttons (whether it changes the price or not), the currency symbol just disappears.

    Thanks for your time and help.

    Paul

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to add the code:

    
          var bdi = this.priceDiv.find('bdi');
          if (bdi.length){
            this.priceDiv = bdi;         
          }
    

    after the line:

    
          this.priceDiv = this.isOnSale ? $('#product-'+ this.productId +' .summary ins .woocommerce-Price-amount') : $('#product-'+ this.productId +' .summary .woocommerce-Price-amount');      
    

    in the file:
    wp-content/plugins/product-options-for-woocommerce/view/frontend/web/product/main.js

    Stanislav

    Thread Starter paulmaudrydev

    (@paulmaudrydev)

    Hi,

    Thanks for your quick answer, great support.
    However, I tried what you told me but still the currency symbol disappears…
    Any other idea ?

    Best regards.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    I have just checked your website.

    I see the file:
    wp-content/plugins/product-options-for-woocommerce/view/frontend/web/product/main.js

    is still not modified.

    Stanislav

    Thread Starter paulmaudrydev

    (@paulmaudrydev)

    Hi,

    I’ve modified it, I cleared the cache, saw that it didn’t work and commented the code you told me to write.

    Trust me I tried and it didn’t work.

    Best regards.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Can you add the code again so I can check?

    Stanislav

    Thread Starter paulmaudrydev

    (@paulmaudrydev)

    Ok I’ve put it back.

    It actually works but the price doesn’t change from an option to another.

    I’ll let you check.

    Thanks again for your support and reactivity !

    Best regards.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    You forgot to add the last bracket }

    Example of the correct code:

    
          var bdi = this.priceDiv.find('bdi');
          if (bdi.length){
            this.priceDiv = bdi;         
          }
    

    Stanislav

    Thread Starter paulmaudrydev

    (@paulmaudrydev)

    Oh my bad ! Sorry for this.

    It works great thanks !

    One last question, what if the plugin has to be updated, will I loose the code you told me to add ?

    Best regards.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Many people use this plugin modified.

    It is the idea of this plugin. To download the simple base version and to modify it.

    You can disable updates for this plugin as it is described here:
    https://stackoverflow.com/questions/17897044/wordpress-how-to-disable-plugin-update/39217270#39217270

    Stanislav

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Currency symbols disappears on radio button click’ is closed to new replies.