Get a fast, conversion-focused WooCommerce theme in 2025. Switch to Shoptimizer.

Home Documentation Shoptimizer CommerceKit Customizing the Commercekit Wishlist Template

Customizing the Commercekit Wishlist Template

CommerceKit 2.4.1 introduces enhanced customization capabilities for CommerceKit Wishlist, providing developers with greater flexibility in modifying the Wishlist templates and markup.

Empty Wishlist template filter

  • Filter name: cgkit_wishlist_empty_markup
  • Purpose: Override the default empty wishlist template
  • Flexibility: Modify CSS classes, add custom content, or completely replace the empty state markup

Example implementation:

Complete customization:

Wishlist Shortcode Markup Filter

  • Filter name: cgkit_wishlist_shortcode_markup
  • Purpose: Customize the Wishlist shortcode HTML markup
  • Flexibility: Modify CSS classes, restructure markup, or add additional elements

Example implementation:

Complete customization:

Template overriding

  • Original Template: /commercegurus-commercekit/includes/templates/frontend-wishlist.php
  • Override Locations:
    • Child Theme: /your-theme/commercekit/templates/frontend-wishlist.php

Customization scenarios

Scenario 1: Adding Custom CSS classes
Easily add custom classes to modify styling without editing core plugin files.

Scenario 2: Completely replacing markup
Developers can now completely replace the Wishlist markup while maintaining core functionality.

Scenario 3: Template file customization
Full template file override for complete control over the Wishlist grid presentation.

Best practices

  • Always use a child theme for customizations
  • Test thoroughly after implementing custom markup
  • Maintain the original structure and functionality of the Wishlist
  • Use WordPress coding standards when modifying templates

Troubleshooting

  • Verify filter priority if multiple customizations are applied
  • Check for any PHP errors in custom functions
  • Ensure compatibility with other plugins and theme customizations
Success!

The discount has been applied. You will see it when you checkout.

There has been a problem

Unfortunately this discount cannot be applied to your cart.

$50
Off

Do you want a whopping $50 off Shoptimizer for WooCommerce?

Click the button below to get Shoptimizer for only $49. (Regular price: $99).
This is a special launch offer for today only.
Get it before it is gone!