Category: WooCommerce

With articles also related to:

Aleš Sýkora wrote:

WooCommerce Block Cart: Extend product name

February 15, 2024 in Custom Code, WooCommerce, WordPress

Add emoji before and after product name in Cart.

Continue reading

Aleš Sýkora wrote:

Get WooCommerce Checkout fields slugs

January 9, 2024 in Custom Code, WooCommerce, WordPress

Knowing checkout field slugs is crucial for customizing and optimizing your checkout process. It’s like having a secret key to unlock the full potential of your e-commerce site.

Continue reading

Aleš Sýkora wrote:

Change WooCommerce clear variations text

November 28, 2023 in Custom Code, Plugins, WooCommerce, WordPress

If you’re looking to customize the text of the “Reset Variations” link in WooCommerce, you’ve come to the right place. In this article, we’ll walk you through the process of changing the reset variations text using a simple code snippet. What is reset variations text and where is located? It’s the text, which appears after…

Continue reading

Aleš Sýkora wrote:

Bricks builder WooCommerce Queries

November 28, 2023 in Bricks Builder, Custom Code, Plugins, WooCommerce, WordPress

WooCommerce TOP selling products query in Bricks You need to use Query editor for this and add this code: WooCommerce Featured products query in Bricks To display featured products only, use this in your Query Loop: Retrieve WooCommerce “NEW” products added not more than 30 days ago Bricks builder currently lacks the Date Query, however,…

Continue reading

Aleš Sýkora wrote:

How to Customize the Home Link in WooCommerce Breadcrumbs

November 28, 2023 in Custom Code, Plugins, WooCommerce, WordPress

WooCommerce provides posibillity to display breadcrumbs. These are usable especially for navigation between shop page and archive categories. By default the first link is called Home and url is set to the homepage. What if we want to set it to the shop page? BeforeAfter WooCommerce breadcrumb filter usage WooCommerce provides a straightforward way to…

Continue reading

Aleš Sýkora wrote:

WooCommerce gallery in Bricks dynamic data

December 6, 2023 in Bricks Builder, Custom Code, Plugins, WooCommerce, WordPress

If you would like to use WooCommerce product gallery images in Bricks dynamic data – for example with Gallery module, then you find, that there is no option for that. The solution is simple – create custom function to get the images and then call it with echo. This can be used for Bricks carousel…

Continue reading

Aleš Sýkora wrote:

How to get RankMath primary WooCommerce product category

January 9, 2024 in Custom Code, Plugins, RankMath SEO, WooCommerce, WordPress

Learn how to retrieve and display the primary category of a product in WooCommerce using the RankMath plugin. WooCommerce lacks a built-in feature to assign a primary category, but RankMath fills this gap. With the provided code snippet, you can retrieve the primary category ID and output the category link and name. Improve your SEO…

Continue reading

Aleš Sýkora wrote:

Separate WooCommerce Categories and products

November 28, 2023 in Custom Code, Plugins, Shoptimizer, Themes, WooCommerce, WordPress

When you use default WooCommerce archives, you may like to display child categories and products on category page. When you do it like that, you will see that flex columns and rows has been created, and products starts right after last category, on same row. I would like to have my subcategories separated from products…

Continue reading

Aleš Sýkora wrote:

WooCommerce: Change Shop (product archive) title and description

November 15, 2022 in Oxygen Builder, Plugins, WooCommerce, WordPress

When you are using Oxygen builder dynamic data and creating simple e-shop, you may want to create one template for your shop and your categories. There are many challenges like displaying all product categories and subcategories and more. One of them is displaying the archive title and description dynamically. If you use Oxygen’s dynamic data…

Continue reading

Aleš Sýkora wrote:

WooCommerce: Get product gallery images

November 15, 2022 in Plugins, WooCommerce, WordPress

If you need to display WooCommerce product images programmatically, you can use these functions: TIP: This can be usable for custom gallery creation. For example with Swiper.js and fancybox.

Continue reading