WooCommerce Integration
Promptless WP works beautifully with WooCommerce, letting you showcase your products in visually stunning sections anywhere on your site. Whether you're highlighting featured products on your homepage or creating category landing pages, this guide shows you how to make the most of WooCommerce with Promptless WP.
What Is WooCommerce Integration?
WooCommerce integration allows you to display your store's products directly within Promptless WP sections. Instead of just showing blog posts, your Post Grid sections can showcase products with images, titles, prices, and add-to-cart buttons.
Benefits
- Showcase products anywhere - Feature products on any page, not just your shop
- Beautiful presentation - Products display with your site's design language
- Flexible filtering - Show all products or filter by category
- Consistent styling - Products match your brand's look and feel
- Quick shopping - Add-to-cart buttons let customers buy without leaving the page
Setting Up WooCommerce Products
Prerequisites
Before using WooCommerce integration:
- WooCommerce installed - Install and activate the WooCommerce plugin
- Products created - Add products to your WooCommerce catalog
- Product images - Each product should have a featured image for best results
- Promptless WP active - Promptless WP plugin installed and activated
Accessing Product Display
Products are displayed through Post Grid sections:
- Edit any page in Promptless WP
- Add a Post Grid section or edit an existing one
- Switch content type to Products in the section settings
Displaying Products in Post Grid Sections
Step-by-Step Setup
1. Add a Post Grid Section
- Click "Add Section" in the left sidebar
- Select "Post Grid" from the section types
- Section appears in your page preview
2. Switch to Product Display
- Click on the Post Grid section to select it
- Look for "Content Type" in the Content tab
- Select "Products" from the dropdown
- Products automatically load in the preview
3. Configure Product Options
Number of Products:
- Choose how many products to display (3, 6, 9, 12)
- More products = more scrolling but greater selection
- Fewer products = cleaner look, highlights specific items
Grid Columns:
- 2 columns - Large product cards, great for detailed products
- 3 columns - Balanced layout, most common choice
- 4 columns - Compact grid, good for category pages
Product Display Elements
When you display products, each product card shows:
- Product Image - Featured image with your global image styling (border radius, shadows)
- Product Title - Links to the individual product page
- Price - Current price, or sale price with original price struck through
- Add to Cart Button - Quick purchase for simple products
Category Filtering
Showing Products from Specific Categories
Filter your product display to show items from particular categories:
- Edit your Post Grid section
- Find "Product Category" in the Content tab
- Select a category from the dropdown
- Products filter immediately to show only that category
When to Use Category Filtering
Homepage Featured Products:
- Create a "New Arrivals" section with products from that category
- Show "Best Sellers" or "Featured" category products
Category Landing Pages:
- On your "Summer Collection" page, show only summer products
- On service pages, show related products
Cross-Selling Opportunities:
- On blog posts, show related product categories
- On about pages, highlight your signature products
Multiple Product Sections
You can add multiple Post Grid sections with different category filters:
Example: Homepage Layout
- Section 1: "New Arrivals" - Products from New Arrivals category
- Section 2: "Best Sellers" - Products from Best Sellers category
- Section 3: "On Sale" - Products from Sale category
Product Button Styling and Alignment
Button Appearance
Product "Add to Cart" buttons use your global button styling:
- Primary Color - Buttons use your brand's primary color
- Border Radius - Matches your global border radius setting
- Font - Uses your button font settings
- Hover Effects - Consistent with other buttons on your site
Button Alignment
Control how product buttons align within cards:
- Edit your Post Grid section
- Look for "Align Buttons to Bottom" toggle
- Enable for consistent layout - All buttons align at card bottom regardless of title/content length
When to Enable Button Alignment:
- Products have varying title lengths
- You want a clean, uniform grid appearance
- Professional product showcase pages
When to Disable Button Alignment:
- Minimal design preference
- Single-row product displays
- Products with similar title lengths
Design Considerations
Matching Your Store's Look
Image Consistency:
- Use consistent product photo style (background, lighting)
- Set up global image border radius for unified appearance
- Consider image shadows for depth on light backgrounds
Color Coordination:
- Product cards inherit your section's theme variant
- Use light theme for bright product photos
- Use dark theme for dramatic product presentations
Typography:
- Product titles use your heading font settings
- Prices use your body text styling
- Button text follows your button font configuration
Theme Variant Recommendations
Light Theme (Default):
- Best for most product types
- Clear visibility of product details
- Professional, clean appearance
Dark Theme:
- Great for premium/luxury products
- Creates dramatic contrast
- Works well with bright product images
Responsive Behavior
Products display responsively across devices:
Desktop (1024px+): Full grid layout with chosen column count Tablet (768-1023px): Reduced to 2-3 columns Mobile (Under 768px): Single column for easy scrolling
Best Practices
Product Photography
- Consistent style - Same background, lighting, and angle
- High quality - At least 800x800px for crisp display
- Optimized size - Compress images for fast loading
- Clear subject - Product should be the obvious focus
Content Strategy
Featured Products Section:
- Limit to 3-6 products for impact
- Choose your best sellers or newest items
- Update regularly to keep content fresh
Category Showcase:
- Use 6-12 products to show variety
- Match to page content (e.g., summer products on summer blog posts)
- Consider seasonal rotations
Cross-Selling:
- Display 3-4 complementary products
- Place after informational content
- Use compelling section headings
Section Headings for Products
Write compelling headers that encourage browsing:
Good examples:
- "Shop Our Favorites" (inviting)
- "New This Week" (timely)
- "Customers Also Love" (social proof)
- "Complete Your Look" (cross-sell)
Avoid:
- "Products" (too generic)
- "Buy Now" (too aggressive)
- Empty headings (missed opportunity)
For Agencies & Development Teams
This section provides technical assurance for agencies recommending Promptless WP with WooCommerce to clients.
Integration Architecture
Clean Hook Integration:
- Uses standard WooCommerce template functions
- No conflicts with WooCommerce core functionality
- Works with WooCommerce hooks and filters
- Compatible with WooCommerce extensions
Data Handling:
- Queries products using standard WC_Product_Query
- Respects product visibility settings
- Follows WooCommerce stock status
- Handles variable products appropriately
Checkout and Cart Compatibility
No Cart/Checkout Interference:
- Product displays are read-only views
- Add-to-cart uses standard WooCommerce AJAX
- No custom cart modifications
- Checkout process remains unaffected
Cart Integration:
- Add-to-cart buttons work with existing cart
- Cart counts update correctly
- Mini-cart widgets update in real-time
- No conflicts with cart page functionality
Theme Compatibility
Tested with Major WooCommerce Themes:
- Storefront (official WooCommerce theme)
- Astra (with WooCommerce module)
- GeneratePress (with WooCommerce support)
- OceanWP (with WooCommerce integration)
- Flatsome and other WooCommerce-specific themes
Custom Theme Compatibility:
- Uses standard WordPress and WooCommerce APIs
- No hard-coded theme dependencies
- Follows WooCommerce coding standards
- Works with custom theme implementations
Performance Considerations
Optimized Queries:
- Efficient product queries with proper limits
- No unnecessary database calls
- Caching-friendly implementation
- Compatible with object caching plugins
Frontend Performance:
- Minimal JavaScript overhead
- Lazy loading for product images
- Works with WooCommerce's asset loading
- No impact on store page performance
Edge Cases Handled
Variable Products:
- Displays price range (e.g., "$19.99 - $49.99")
- Shows "Select options" instead of "Add to cart"
- Links to product page for variation selection
Sale Products:
- Displays original price with strikethrough
- Shows sale price prominently
- Handles scheduled sales correctly
Out of Stock Products:
- Respects catalog visibility settings
- Can be hidden or shown based on WooCommerce settings
- Shows appropriate stock status
Product Visibility:
- Follows WooCommerce visibility rules
- Hidden products don't appear in grids
- Catalog-only products handled correctly
Troubleshooting
Products Not Displaying
WooCommerce not active:
- Go to Plugins → Installed Plugins
- Ensure WooCommerce is activated
- Check for WooCommerce errors in admin notices
No published products:
- Go to Products → All Products
- Ensure products are set to "Published" status
- Check product visibility settings
Category filter too restrictive:
- Try selecting "All Categories" first
- Verify selected category has products
- Check products are assigned to the chosen category
Wrong Products Appearing
Check category assignment:
- Edit individual products
- Verify category assignments in product data
- Update and republish if needed
Check product visibility:
- Edit the product
- Look for Catalog Visibility setting
- Ensure it's set to "Shop and search results"
Styling Issues
Buttons look wrong:
- Check global button settings in Promptless WP
- Verify button color contrast
- Clear any caching plugins
Images inconsistent:
- Verify all products have featured images
- Check image dimensions for consistency
- Use Regenerate Thumbnails plugin if needed
Layout broken:
- Test with default WordPress theme
- Check for CSS conflicts
- Clear browser and server caches
Add to Cart Not Working
AJAX issues:
- Check browser console for JavaScript errors
- Verify WooCommerce AJAX is enabled
- Test with other plugins deactivated
Cart redirect issues:
- Check WooCommerce → Settings → Products
- Verify cart behavior settings
- Clear WooCommerce transients
Common Use Cases
Homepage Product Showcase
Setup:
- Add Post Grid section below hero
- Select "Products" content type
- Choose 3-6 featured products
- Use 3-column grid
- Add compelling heading like "Shop Our Best Sellers"
Category Landing Page
Setup:
- Create a page for each main category
- Add hero section with category information
- Add Post Grid showing products from that category
- Include 6-12 products for variety
- Consider adding testimonials below products
Blog Post Cross-Selling
Setup:
- On relevant blog posts, add a Post Grid section
- Filter to show related product category
- Display 3-4 products
- Use heading like "Products Mentioned in This Post"
About Page Trust Building
Setup:
- Near the end of your About page
- Show 3-6 signature products
- Use heading like "Explore Our Collection"
- Light theme for welcoming appearance
Next Steps
Now that you understand WooCommerce integration:
- Create a product showcase on your homepage
- Build category landing pages for your main collections
- Add cross-selling sections to relevant content pages
- Review Post Grid Sections for more display options
Need More Help?
- Check Working with Sections for editing basics
- Review Global Settings for styling options
- Read Performance Optimization for loading speed tips
- Contact support at contact@promptlesswp.com for WooCommerce questions
Remember: Product displays work best when your WooCommerce catalog is well-organized with great images, clear titles, and proper categorization. The better your product data, the better your Promptless WP product sections will look!