Support » Plugin: Markup by Attribute for WooCommerce » No puedo sumar decimales

  • Resolved abordarlo

    (@abordarlo)


    ¡Hola!
    Lo primero que quiero es dar las gracias ya que el pluging, si finalmente consigo que funcione, me ayudará muchísimo.

    El problema es que quiero crear un atributo que pueda usar en varios productos. Quiero que sume 2,90€ si lo seleccionan, pero solo suma 2!! Además cuando lo edito no guarda +2,90, sino +2.

    ¿Me podéis ayudar?

    Gracias!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark Tomlinson

    (@marktomlinson)

    This is strange. I cannot find any reason for it in the code, and I cannot reproduce it. Can you answer some questions for me?

    1. When you edit the attribute term and add click the [Update] button, does it change to +2 then? Or does it change when you leave and come back?
    2. On WooCommerce >> Settings >> General, what is your Thousand separator?
    3. What is your Decimal separator?
    4. What is your Number of decimals?
    5. What version of WooCommerce are you running?
    Thread Starter abordarlo

    (@abordarlo)

    ¡Hola!
    Conseguí arreglarlo. No sé realmente cómo ya que probé varias cosas.
    Actualicé WooCommerce. Probé con , ‘ y . y con diferentes decimales. Finalmente poniendo 2.90 funcionó aunque cuando configuro el precio de un producto solo puedo usar , y no .

    Gracias igualmente!

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    I have not been able to recreate the problem. But I am looking at how the markup is saved very closely. There are a couple of areas where I can probably improve the code, so I will do that and hope it clears up your issue. The next release should be in a couple of weeks.

    Thanks for working through this with me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.