Start your cross-border journey
Contact us now

Website development customer service

Customer Service

Designer (making Figma prototypes)

WordPress / woocommerce Shortcodes

WooCommerce is moving to the "block".

Page level:

[woocommerce_cart] - Shopping cart page contentThe 

[woocommerce_checkout] - Checkout page contentThe 

[woocommerce_my_account] - My Account Page(log in/enrollment,purchase orders etc.). 

[woocommerce_order_tracking] - Order Tracking Form(draw a blank (e.g. on computer)).

Product Display/Button:

  • [product_page] - Renders aFull Single Product Page(by id or sku).
[product_page id="99"] maybe [product_page sku="ABC-123"]

[products] - List of the most versatile productsshortcode; support filtering/sorting/pagination by ids|skus|category|tag|attribute|on_sale|featured|best_selling|top_rated|orderby|order|paginate|columns|limit|min_price|max_ price|stock_status|visibility etc. price|stock_status|visibility, etc. Filter/sort/paginate.

[products category="t-shirts" limit="12" columns="4" orderby="date" paginate="true"]

[product_category] - show specifiedcategorizationproducts; commonly used: category, limit, columns, etc.

[product_category category="accessories" limit="8" columns="4"]

[product_categories] - showcategorized gridThe number, columns, parent, hide_empty, etc. can be set.

[product_categories number="12" columns="4" parent="0" hide_empty="0"]

[add_to_cart] - Outputs an add-to-cart button for a product (optionally showing price, style, etc.).

[add_to_cart id="99" show_price="true"]

[add_to_cart_url] - Access to a commodity's"Add to cart"link (on a website) URL.  

[shop_messages] - Show on non-store pages WooCommerce draw attention to sth./notificationsThe