开发者 |
varunms
vaahosttech |
---|---|
更新时间 | 2022年2月12日 09:35 |
捐献地址: | 去捐款 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 5.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
ShortcodesWoocommerce Settings ==> Products ==> WC Quick Buy
- WC Simple Product
- WC Grouped Product
- WC Variable / Variation Product
- WooCommerce Product Add-Ons
- WooCommerce Product Bundles
- Woocommerce Variable / Simple Subscriptions
- YITH Product Bundles
- YITH WooCommerce Product Add-Ons
- YITH WooCommerce Subscription
- WooCommerce added to cart popup (Ajax) Settings Available Under
[wc_quick_buy]
This can be used anywhere inside the website
- product : product id to generate quick buy button Eg : [wc_quick_buy product="22"]
- label : custom text for generated button Eg : [wc_quick_buy label="Hurry Up!!"]
- hide_in_cart : Enter "yes" to hide the button if the same product already in cart or enter "no"
- css_class : You can give your custom css class name in shortcode to add it in button.
- qty : Enter custom qty for a html button / link [wc_quick_buy qty="10"]
[wc_quick_buy_link]
This can be used to generate sharable link
[wc_quick_buy product="33" label="Hurry UP!!" qty="100"] Example Shortcode To Get Product's Quick Buy URL [wc_quick_buy_link product="33" qty="100"]
- product : product id to generate quick buy button Eg : [wc_quick_buy_link product="22"]
- qty : Enter custom qty for a html button / link [wc_quick_buy_link qty="10"] Example Shortcode To Get Clickable Button
woocommerce-quick-buy
folder to the /wp-content/plugins/
directoryWoocommerce => Settings => Product => WC Quick Buy
[wc_quick_buy name="Instant Buy"]
add_to_cart_redirect
to woocommerce_add_to_cart_redirect
filterText Domain: woocommerce-quick-buy
data-productid
wc_quick_buy_product_{product_id}
& quick_buy_{product_id}
data-productid
wc_quick_buy_form
And wc_quick_buy_form_{product_id}
[wc_quick_buy echo="false/true"]
[wc_quick_buy show_js="false/true"]