• Resolved xfinallight

    (@xfinallight)


    Hi there,

    I want to make use of free samples, but I want them to be able to select only 5 for example among the 20.
    How can we do that?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author moomooagency

    (@moomooagency)

    Hi,

    What do you mean “use of free samples”? Could you clarify?

    Thread Starter xfinallight

    (@xfinallight)

    for example, color samples of materials.
    i want to display the material image as the option.
    and they can pick among X amount of options to get the samples send to them

    Plugin Author moomooagency

    (@moomooagency)

    I see.

    It is possible. You can use special variable {option_slug_count} to check selected suboptions. Please check the documentation https://moomoo-agency.gitbooks.io/uni-cpo-4-documentation/content/checkbox.html Add some condition logic, if count of selected suboptions greater that your limit set price to 0 and show notification that max limit is 20. Formula condition logic example: https://joxi.ru/v29Oew1izkNWor

    Thread Starter xfinallight

    (@xfinallight)

    Ah i see, great!
    Thanks alot

    Plugin Author moomooagency

    (@moomooagency)

    You are welcome.

    Thread Starter xfinallight

    (@xfinallight)

    I’ve added some options for the checkboxes, i select more than 5 and it still let’s me add it to card with the extra cart button free sample mode, zero rate.

    it doesn’t show a parsley error in red also saying i’ve selected more than 5.

    screenshot: https://prnt.sc/ra1hg7

    am i doing something wrong here?

    Thread Starter xfinallight

    (@xfinallight)

    i’ve managed to do it by conditional logic hiding the extra cart button.
    but i’m still trying to find a way to hide the main cart button while retaining extra cart button i put in with the builder.
    (the standard theme button is still there)

    Plugin Author moomooagency

    (@moomooagency)

    You need to set price to 0. If price is 0 the standard theme button (Add to cart button) will be disable. And user won’t be able to add product to the cart.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘limit selections with checkbox for samples.’ is closed to new replies.