• 15 Days Money-back Guarantee
  • Smile Safe & Secure online payment
  • Dedicated Support

Buy Now Shortcode

Use the shortcode to place a standalone “Buy Now” button for a specific product anywhere shortcodes are supported:

[arch_buy_now product_id=”123″]

[arch_buy_now product_id=”123″ show_price=”yes”]

Attribute Required Description
product_id Yes WooCommerce product ID. The shortcode renders nothing (plus an admin-only notice) if missing or invalid.
show_price No "yes" or "no" (default "no"). Prints the product’s price using WooCommerce’s own price formatting before the button.
style No Visual style variant for the button (default "style1").
Clicking the button adds one unit of the product via the plugin’s AJAX add-to-cart endpoint, then opens the side cart drawer the same way the rest of the plugin does.