• Resolved stopanddance

    (@stopanddance)


    Hi There,
    Thank you for your plugin-it’s exactly what I needed. I am trying to adjust the default quantity of the first product on my linesheet and I can’t get it to read as 4.
    This is the current code I have input and the default is showing as 0. I’m sure I’m missing something.

    Also, one other follow-up to this question, if I do successfully change the default to 4 on this page, will this also change the default on the product page? I only want it on my linesheet page to read as default 4 as this is for wholesale users who must buy a minimum of 4.
    Thanks again

    [a2c_button product=26744 quantity={4} show_quantity={yes} button_text=”Add To Cart”]

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author The Rite Sites

    (@theritesites)

    Hi stopanddance!

    Thanks for the kind words!

    You will find if you remove the {} around the 4, the default quantity will update as you intend.

    Seems like we may have a need to update our documentation to reflect to users actual usage. The curly brackets in the attributes are referencing that you can pick from one of the operators within them, separated by a “pipe” ( | ). It is something we are used to within internal documentation that we will approach for more general usage.

    As for the question, in short: no.
    The default quantity and the min max quantity functions used in this plugin are specific to that block or shortcode and have no influence on WooCommerce built-in, other Add to Cart (pro or free) rows/buttons, or other plugins that might output an add to cart button.

    If there is anything else we can help you with, do not hesitate to ask!

    Cheers,
    Parker

    Thread Starter stopanddance

    (@stopanddance)

    I knew it was something simple and basic. I don’t really use code, so I was thrilled to find the solution in your plugin. THANK YOU!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adjusting Default Quantity’ is closed to new replies.