MS Web Arts Rebranding Logo Icon
MS Web Arts Rebranding Logo
View Categories

Shortcodes

< 1 min read

[wcoffers_request_button]

Renders the “Request a Custom Offer” button for a product anywhere shortcodes run (pages, page builders, block editor).

AttributeDefaultDescription
product_idcurrent post IDThe product to request an offer for. Omit inside a product context to use the current product.
[wcoffers_request_button product_id="123"]

[wcoffers_seller_request_button]

Renders the request button for a specific seller (no product preselected; the customer may pick one in the popup).

AttributeDefaultDescription
seller_id0The seller’s WordPress user ID.
[wcoffers_seller_request_button seller_id="45"]

Both shortcodes respect every visibility rule: the global request toggles, seller-owned products, suspended sellers, and the wcoffers_show_request_button filter. Logged-out visitors get the login link. If the rules say “hide”, the shortcode outputs nothing.

Go to Top