[SOLVED]Product Label or SKU for Conditional Logic

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED]Product Label or SKU for Conditional Logic

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6888

    Hello, I need help to get that when using the conditional logic for a calculator, it must be the name of the product or the SKU who determines which fields will be requested from the customer.

    For example, we have 2 products, one called PROD01 with SKU P01 and another PROD02 with SKU P02, for the first we will ask the customer for 2 fields, the field long A, the filed width B and the field diameter D, and for the second we will only ask the customer the width A and the high B, that is, the diameter D must only appear for the first product.

    Could you please help me to solve this?, thank you very much.

    #6891
    Enrico
    Participant

    Dear Tres Isi Mirobriga S.L.U.,

    The more simple solution would be just to create two different calculators for the two different type of products.

    But if you want to do something more sophisticated you could:

    a) Map the SKU code inside your Excel file, let’s say “B2” (Read more about SKU mapping here: https://altoswebsolutions.com/manual/woo-price-calculator/creating-a-calculator-from-a-spreadsheet-file-pro).

    b) In your Excel file, you should set a formula in “C2” like “=B2”. It will just take the SKU from B2. Now you can map this field with an output/input field.

    b) In your conditional logic, add a rule for the field “diameter D”, which rule would be “field of step b)” = “P02” to hide the field for product 2.

    Kind Regards,
    Enrico
    AT1304

    #6890

    I don’t understand how map the SKU code inside the Excel, I’ve read the article referred in your link, but I don’t understand.

    #6889

    Sorry, I’ve deleted the Calculator, and creating a new one the SKU option appears.

    Thank you

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