Shortcode
Shortcode Guide
Every EasyCart shortcode is one click away — no code, no memorizing tags. Open the built-in shortcode editor, pick what you need, and drop it straight onto any page or post.
Open the Shortcode Editor
One tiny cart icon in your editor toolbar puts every shortcode in this guide at your fingertips.
WP EasyCart — Shortcode Toolbar Icon

WP EasyCart — Shortcode Picker Popup

Store & Category Display Shortcodes
Show your whole catalog, a curated category list, or a rich nested category browser — pick the display that fits your page.
- Store Shortcode: Drop the
ec_storeshortcode onto any page and you have a fully working storefront — nothing custom to configure. - Categories Shortcode: Shows all your featured categories, or pick one parent category and show its children — displayed as a list of product-style tiles.
- Category View Shortcode: Built for stores with real category depth. Add a description and image to each category and it shines with three layers — say, Household Items › Couches › Recliner Couches.
WP EasyCart — Categories Shortcode

WP EasyCart — Category View Shortcode

Build a Page Around One Menu, Category, Manufacturer, or Product
These four shortcodes insert the store grid, pre-filtered to exactly what you choose — perfect for a dedicated landing page.
- Product Menu Shortcode: Inserts a store shortcode scoped to the menu ID you choose. Learn how to build a store menu system here.
- Product Category Shortcode: Inserts a store shortcode scoped to the category ID you choose. Learn how to build a store category here.
- Manufacturer Group Shortcode: Inserts a store shortcode scoped to the manufacturer ID you choose. Learn how to build a store manufacturer here.
- Product Details Shortcode: Inserts a store shortcode scoped to one product ID — perfect for a dedicated product landing page. Learn how to build a product here.
WP EasyCart — Product Menu Shortcode

WP EasyCart — Product Category Shortcode

WP EasyCart — Manufacturer Group Shortcode

WP EasyCart — Product Details Shortcode

Single Item & Select Items Displays
Need pixel-level control over layout and order? These two shortcodes hand you the wheel.
Single Item Shortcode
Insert one product, styled and sized how you like — great for a custom layout that needs just one item front and center. Learn how to build a product here. Set the display type to “custom display type 1” and stack a few, like this:
[ec_product productid="248" style="3"][ec_product productid="3" style="3"][ec_product productid="5" style="3"]
WP EasyCart — Single Item Shortcode

Result — Single Item Shortcode Display

Select Items Shortcode
Insert multiple products in exactly the order you want, with a custom display type. Reorder them anytime by rearranging the product IDs in the shortcode. Learn how to build a product here. Match your column count to the page width for the best-looking result.
WP EasyCart — Select Items Shortcode

Result — Select Items Shortcode Display

Cart, Account & Add-to-Cart Shortcodes
The simplest shortcodes in the toolbox — one line each, no configuration needed.
- Cart Shortcode: Turns any page into a full EasyCart cart and checkout page. Just drop in the shortcode.
- Account Shortcode: Turns any page into a full EasyCart customer account page — login, order history, everything.
- Add to Cart Button Shortcode: Drops a standalone add-to-cart button anywhere on a page, including any option sets attached to the product — ideal when you’re building a custom page packed with videos, documents, or other content to help a shopper decide before they buy.
- Cart Display Shortcode: Shows just the cart’s contents on a page, with none of the checkout fields — style it with CSS however you like.
Membership Shortcode
Wrap content so only customers who bought a specific product — or hold an active subscription — can see it.
Choose the Required Product(s)
Select the product or products a customer must purchase — or the active recurring billing subscription they must hold — to unlock the page.
Write the Member Content
Place your members-only content inside the ec_membership tags — that’s exactly what buyers will see.
Write the Non-Member Pitch
Use ec_membership_alt to tell everyone else what they’re missing and exactly how to buy in.
WP EasyCart — Membership Shortcode Product Selection

WP EasyCart — Membership Shortcode Editor Code

💡 Prefer the newer method: We now recommend our secure membership system built for a WordPress page instead of this shortcode. Learn more on this newer method.
Ready to Build with Shortcodes?
Every shortcode in this guide drops straight into any page, post, or widget area — mix and match until your store looks exactly right.