Short codes provide include button but only attached

Short codes provide include button but only attached to a quantity box.
I wish to add pay button into a pricing table so a quantity box wouldn't fit.
Is there a short code provided that excludes a quantity box?
Do however want quantity box on other parts of the site, so worry changing CSS will effect this. Just want 'add to cart' button stand alone for pricing table.

  • Alexander
    • DEV MAN’s Mascot


    The easiest fix here would be to hide the quantity with CSS, but only when it is present within the pricing table. Using a hierarchal selector to only target the quantity field if it is nested within a pricing table.

    Here's a generic example:

    .pricing-table span.mp_quantity { display:none;}

    Hopefully this helps! Otherwise if you can give me a link to your site, I can work out the CSS needed to do this for you.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.