https://kb.oboxthemes.com/articles/how-to-setup-woocommerce-pages-using-shortcodes/
How To Setup WooCommerce Pages Using Shortcodes
This is a How To for: Tips & Tricks, WooCommerce Add To My Bookmarks
Problem Description:
If you are having issues with your shop, cart or checkout pages page not working, being lost or duplicated, refer to the Documentation area and reference your theme’s “Verify WooCommerce Pages” article for important steps to take.
Answer:
Shop Pages
When you install WooCommerce, you are prompted to automatically install your pages. These are then correctly linked to WooCommerce. Note that there are not physical pages for everything – content like My Account > Change Password is dynamically generated using what is called an “Endpoint”. For this reason, you don’t need to create a physical page for all of these different parts of the account area.
To ensure your WooCommerce pages are setup correctly and linked, see your Theme Documentation’s “Verify Your WooCommerce Pages” article.
Cart
Used on the cart page, the cart shortcode displays the cart contents and interface for coupon codes and other cart bits and pieces. Use the Full Width page template with this shortcode.
Your cart is currently empty.
Checkout
Used on the checkout page, the checkout shortcode displays the checkout process. Use the Full Width page template with this shortcode.
Order Tracking Form
Lets a user see the status of an order by entering their order details. Use the Full Width or Shop Sidebar page template with this shortcode.
My Account
Shows the ‘my account’ section where the customer can view past orders and update their information. You can specify the number or order to show, it’s set by default to 15 (use -1 to display all orders.)
Use the Full Width or Shop Sidebar page template with this shortcode.
Login
Register
Special WooCommerce Pages
The following shortcodes can be used to create custom shop pages such as category lists, on-sale and featured products.
When setting the number of columns, keep your WooCommerce image sizes in mind. If you have your images set to the theme recommendation, they will be optimized for 3 columns with a sidebar in most cases. Setting your shortcode to 3 or more columns shouldn’t be an issue, but if you choose to show less columns, your images will not fill out the column.
Sale Products
List all products on sale. Use the Full Width or Shop Sidebar page template with this shortcode.
1000pcs/lot 6mm Slingshot Hunting Shooting Slingshot High-carbon Steel Balls Catapult Slingshot Hitting Ammo Steel Ball Yernea
Sale!
RM95.00 RM69.00
Add to cart12V Water Level Automatic Controller Liquid Sensor Switch Solenoid valve Motor Pump automatic control Relay Board
Sale!
RM24.00 RM17.00
Add to cart150-250水冷12寸铝轮 带差速器 四轮沙滩车摩托车大公牛ATV沙滩车
Sale!
RM2,749.00 RM2,281.00
Add to cart16L Large Capacity Agricultural Drone for Crop Spraying AK-81
Sale!
RM40,168.00 RM33,339.00
Add to cart1Pair No tie Shoelaces Round Elastic Shoe Laces For Kids and Adult Sneakers Shoelace Quick Lazy Laces 21 Color Shoestrings
Sale!
RM7.00 RM5.00
Select options1pc Harvesting rice Lawn mower accessories,Multi-function weeder Grass Trimmer,Rice Corn wheat harvesting,Trimmer parts
Sale!
RM95.00 – RM263.00
Select options1pc NEW Lawn mower accessories,Multi-function weeder Grass Trimmer,Rice Corn wheat harvesting,Brush cutter universal parts
Sale!
RM159.00 – RM295.00
Select options2018 hot sale folding electric handcycle motorized wheel chair
Sale!
RM2,379.00 RM1,974.00
Add to cart2019 New 36V/48V 350w/500w Electric Handcycle Folding Fork Wheelchair Attachment Hand WheelChair Conversion Kits
Sale!
RM1,594.00 – RM2,588.00
Select options24V 36V 350W electric bike Bicycle Motor conversion Kit electric Derailleur Engine Set for MTB mountain bike DIY bike to e bike
Sale!
RM354.00 RM249.00
Select options250w electric folding handcycle wheelchair
Sale!
RM2,472.00 RM2,051.00
Add to cart36/48V 350W hub motor Electric Handcycle Folding Wheelchair Attachment Hand Cycle Bike DIY Wheel Chair Conversion Kits
Sale!
RM458.00 – RM476.00
Select options
Best Selling Products
List best selling products. Use the Full Width or Shop Sidebar page template with this shortcode.
Addurannafis mp3 Lengkap – Syarahan Baba Ismail Sepanjang
Sale!
RM100.00 RM80.00
Add to cartbonus-himpunan-kitab-pdf-dan-wirid
RM25.00
Add to cartHerba Lelaki
RM50.00
Add to cartAvailable for sell in stock brand new & used Phone 11 Pro Max 6.5″ Unlocked Sim Free
Sale!
RM6,179.00 RM5,128.00
Add to cartWingsmoto 49cc 52cc Big Bore Pocket Bike Engine with Performance Cylinder CNC Engine Cover Racing Carburetor DIY Engine + Air Filter
Sale!
RM528.00 – RM532.00
Select options盛诺150型仿手工饺子机商用全自动水饺机器蒸饺混沌锅贴包饺子机
Sale!
RM382.00 – RM3,831.00
Select options36/48V 350W hub motor Electric Handcycle Folding Wheelchair Attachment Hand Cycle Bike DIY Wheel Chair Conversion Kits
Sale!
RM458.00 – RM476.00
Select optionsAutomatic A3 DTG Printer Flatbed T-Shirt Printing Machine with Textile Ink for Canvas Bag Shoe Hoodie Direct to Garment Printers
Sale!
RM8,939.00 – RM10,704.00
Select optionsFix for 5inch rubber pattern roller, wall decoration painting tools, liquid wallpaper paint handle grip with single color tank
Sale!
RM99.00 RM83.00
Add to cartSlingshot Catapult Hunting High Quality Stainless steel With Rubber Band Outdoor Shooting Game sling shot
Sale!
RM75.00 RM56.00
Read more60W 90W 100W 6040 640激光雕刻机 Laser engraving machine
Sale!
RM3,966.00 RM3,291.00
Add to cartIn Stock Brand New/Used DJI Inspire 2 Quadcopter – Cap & Lanyard – Additional Battery – Cinessd 240GB – 128GB
Sale!
RM6,179.00 RM5,128.00
Add to cart
Top Rated Products
List top rated products. Use the Full Width or Shop Sidebar page template with this shortcode.
250w electric folding handcycle wheelchair
Sale!
RM2,472.00 RM2,051.00
Add to cartHigh Quality Blanched Peanut 41/51
Sale!
RM10.00 RM8.00
Add to cartMonochrome paint wall texture wallpaper pattern roller coating machine tool monochrome decorative paint machine
Sale!
RM120.00 RM63.00
Read moreSuper Strong Power Deep Sea Release Magnetic Buckle Fishing 800 Pull Force Double Side Fish Magnet
Sale!
RM89.00 RM73.00
Add to cartHeavy Duty 52cc Petrol Powered Grass Rice Wheat Cutter Harvest Cutter Brush Cutter Cropper Garden Tools Agricultural machine
Sale!
RM597.00 RM385.00
Add to cartOriginal dji h3-3d dji inspire 2 quadcopter/drone with 4k
Sale!
RM9,657.00 RM8,015.00
Add to cartDJI INSPIRE 2 DRONE
Sale!
RM6,110.00 RM5,071.00
Add to cartAgricultural spraying drone 6-axis 10 kg
Sale!
RM3,291.00 – RM15,163.00
Select optionsElectric Folding Aluminum wheelchair for elderly and Disabled people
Sale!
RM3,214.00 RM2,667.00
Add to cartPremium Grade and Vacuum Bag Packaging BLANCHED PEANUTS / Roasted and salted peanut
Sale!
RM1,298.00 RM1,077.00
Add to cartTwo-color paint wall texture wallpaper pattern roller coating machine tool two-color decorative paint machine
Sale!
RM98.00 RM81.00
Read moreFactory wholesale Strong Permanent NdfeB Magnetic Fishing Hook Pot Magnet 250lbs with eyebolt
Sale!
RM61.00 RM50.00
Add to cart
Products With Specific Attributes
List products with an attribute. For example, create a page that shows all products that have thecolor attribute, and show only black ones. Note that the WooCommerce filtered nav allows you to create links to filtered pages like this automatically, but this shortcode is useful if you have a promotion running on black dresses, for example.
Use the Full Width or Shop Sidebar page template with this shortcode.
Recent Products
The Shop page template will do this by default. Only use this shortcode if you want a specially formatted landing page that is different from your main shop index, or if you want to display the shop without widgets on your homepage by using a static page.
Use the Full Width or Shop Sidebar page template with this shortcode.
The ‘per_page’ attribute determines how many products to show on the page and the columns attribute controls how many columns wide the products should be before wrapping.
H20 20L agricultural drone flight platform full carbon fiber folding frame 8 nozzles high efficiency with power system
Sale!
RM5,007.00 – RM9,486.00
Select optionsEFT E616S 6 Axis 16L spraying gimbal system Folding Quadcopter Spray pump Agriculture drone (Frame spray system)
Sale!
RM5,329.00 RM3,936.00
Add to cart6Axis Agriculture Drone 1600mm Agricultural UAV Drone Frame Capacity 16KG 15L Tank for Farm Use
Sale!
RM2,660.00 – RM3,308.00
Select options12V Water Level Automatic Controller Liquid Sensor Switch Solenoid valve Motor Pump automatic control Relay Board
Sale!
RM24.00 RM17.00
Add to cart盛诺150型仿手工饺子机商用全自动水饺机器蒸饺混沌锅贴包饺子机
Sale!
RM382.00 – RM3,831.00
Select options全自动饺子机商用仿手工小型水饺机电动多功能锅贴柳叶水饺子机器
Sale!
RM766.00 – RM1,532.00
Select options饺子机商用全自动小型韭菜盒子柳叶蒸饺煎饺130/150型包水饺机器
Sale!
RM764.00 – RM2,297.00
Select optionsSA616 16L Agriculture Spraying Drone 16KG 1650mm 6 Axis Hexa
Sale!
RM4,251.00 RM3,528.00
Select optionsAgricultural spraying drone 6-axis 10 kg
Sale!
RM3,291.00 – RM15,163.00
Select options翱胜MX410专业农用农业无人机10L喷洒植保机可折叠机臂到手作业
Sale!
RM19,144.00 – RM21,442.00
Select options新款农业植保无人机16升多旋翼播种施肥打农药喷药架线送快递包邮
Sale!
RM688.00 – RM14,933.00
Select options压面机商用全自动电动不锈钢擀面揉面一体机新型饺子皮面条机家用
Sale!
RM1,470.00 – RM3,271.00
Select options
Featured Products
Works exactly the same as recent products but displays products which have been set as “featured”. In this example, the page will show 12 featured products per page in 4 columns.
Use the Full Width or Shop Sidebar page template with this shortcode.
Single Product
Show a single product by ID or SKU. Use the Full Width or Shop Sidebar page template with this shortcode.
*If the product isn’t showing, make sure it isn’t set to Hidden in the Catalog Visibility.
To find the Product ID, edit the product and look at the browser address bar. The ID follows the “post” part of the URL as shown here:
Multiple Products
Show multiple products by ID or SKU. Use the Full Width or Shop Sidebar page template with this shortcode.
To find the Product ID, edit the product and look at the browser address bar. The ID follows the “post” part of the URL as shown here:
Add To Cart
Show the price and add to cart button of a single product by ID. This is useful if you have a POSTannouncing a product and want to give users a quick way to buy or download.
Product Category
Show multiple products in a category by slug. Note that WooCommerce already creates category pages, but this shortcode is useful if you want to setup a special set of products without using the widgetized page template and widgets.
Use the Full Width or Shop Sidebar page template with this shortcode.
To find the category slug, go to Products > Categories and look at the slug column.
Product Categories
Display a list of featured images representing your product categories on a special page.
You can do this without a shortcode by going to
> and setting the “Shop Page Display” option to Show SubCategories under the Products tab. This shortcode is useful if you want to show all categories on one page without adjusting your post count for your shop.Use the Full Width or Shop Sidebar page template with this shortcode.
The number attribute is used to display the number of products and the ids attribute is to tell the shortcode which categories to display. To get the category ID, edit a category and look at the browser address bar. The Category ID is the number following the “tag_ID” part of the URL. If you want to show all categories, you can omit the ids attribute.