Displaying Country Names in Multiple Languages on WooCommerce Checkout

In a recent Business Bloomer Club discussion, a user faced a challenge with WooCommerce’s country dropdown on a Bulgarian-language site. While the checkout country field displayed country names in Bulgarian by default, international customers needed to search using English names, creating a usability gap.

The user sought a way to add English names alongside Bulgarian in the dropdown, allowing search functionality for both languages.

Through a collaboration in the forum, the user leveraged the woocommerce_countries_allowed_countries filter to display country names in both Bulgarian and English. By setting up an array of English country names and merging them with the default Bulgarian names, they successfully enabled bilingual search functionality in the country dropdown.

Continue reading Displaying Country Names in Multiple Languages on WooCommerce Checkout

Managing Free Gift Rules Based on Cart Total in WooCommerce

In a recent Business Bloomer Club discussion, a member faced an issue with the Flycart Woo Discount Rules plugin when trying to add a free gift product based on cart totals. While a discount rule applied a free gift when the cart subtotal reached €200, the rule didn’t adjust if a coupon reduced the cart total below this threshold.

The plugin settings allowed checks only against the subtotal, not the updated cart total after a coupon was applied. Seeking a solution, the member explored alternative discount plugins and custom setups.

A community member suggested trying Studio Wombat’s WooCommerce Discounts plugin, which offers more flexibility with cart total conditions. The plugin author added an option for tracking the cart total, enabling more precise control over free gift rules, particularly when coupons are involved.

Continue reading Managing Free Gift Rules Based on Cart Total in WooCommerce

Creating a Multi-Step Form on WooCommerce Product Pages

In a recent Business Bloomer Club query, a member aimed to create a product page with form-like steps, requiring customers to complete multiple fields before adding the product to their cart. This setup provides a guided experience for users, ideal for products with customization options or detailed specifications. Several solutions were suggested, with options ranging from WooCommerce-specific plugins to advanced form integrations.

For simpler use cases, plugins like WooCommerce’s Product Add-Ons or Advanced Product Fields by Studio Wombat provide additional input options (e.g., dropdowns, checkboxes, text fields). These plugins allow you to add extra fields directly on the product page, although they lack multi-step form functionality.

Continue reading Creating a Multi-Step Form on WooCommerce Product Pages

Moving the WooCommerce Coupon Field to a Custom Location on the Checkout Page

In a recent Business Bloomer Club discussion, a member needed a solution to move the WooCommerce coupon field from its default top position on the checkout page to a location after the order review section.

Directly modifying templates posed issues due to WooCommerce’s default form structure, so a more customized approach was required.

Below is an effective solution that hides the default coupon field and adds a custom form that triggers the WooCommerce coupon functionality.

This solution involves hiding the original coupon field, adding a new custom field in the desired location, and using jQuery to handle its visibility and functionality. This setup will allow customers to enter their coupon code below the order review table, providing a more intuitive checkout experience.

Continue reading Moving the WooCommerce Coupon Field to a Custom Location on the Checkout Page

Changing Product IDs in WooCommerce: Feeds and Migration Considerations

In a recent Business Bloomer Club discussion, a member faced a challenge with product IDs after migrating a WooCommerce store. During the import/export process, product IDs changed, impacting shopping feeds that relied on the original IDs for platforms like Google Shopping and Amazon.

While fixing the issue by changing product IDs in the live database might seem straightforward, it’s a complex and high-risk process, as WooCommerce and various plugins reference product IDs extensively across the database.

Here’s a breakdown of why this issue occurred, the possible solutions, and best practices for future migrations.

Continue reading Changing Product IDs in WooCommerce: Feeds and Migration Considerations

Working with Porto Theme’s Custom Country Selector on WooCommerce Checkout

In a recent Business Bloomer Club discussion, a member encountered an issue with the Porto theme’s checkout customization in WooCommerce.

Specifically, Porto replaces the standard WooCommerce select dropdown for country selection with a custom element, making it difficult to trigger certain events, like reloading the checkout when a country changes. Here’s how to handle custom elements like these and ensure checkout updates work smoothly.

Porto’s theme uses the Select2 script to enhance standard select elements, replacing the default WooCommerce country selector. This can prevent traditional jQuery selectors from working as expected when trying to detect changes and update the checkout page.

Continue reading Working with Porto Theme’s Custom Country Selector on WooCommerce Checkout

How to Round Prices Without VAT for Non-European Customers in WooCommerce

In a recent Business Bloomer Club thread, a member raised a question about displaying rounded prices for non-European customers. Although prices on the site were set to include VAT, users outside of Europe were seeing unrounded, non-taxed prices (e.g., €1143.75 displayed as €1144).

The goal was to adjust both the display and actual prices, so non-European customers would see rounded amounts in all relevant areas, such as product pages, cart, and checkout.

Here’s a guide on how to implement this feature by overriding WooCommerce product prices based on the customer’s location.

Continue reading How to Round Prices Without VAT for Non-European Customers in WooCommerce

Resolving Tax Display Issues in WooCommerce: Ensuring Consistent VAT-Inclusive Prices

In a recent Business Bloomer Club discussion, a member encountered a perplexing tax display issue in their WooCommerce store. Despite setting up prices to include VAT and configuring WooCommerce’s tax display settings to always show VAT-inclusive prices, an unexpected amount was displayed on the product listing page.

Only in the cart or after selecting a shipping country did the correct price appear. This inconsistent behavior led to confusion, as it seemed WooCommerce was ignoring the store’s tax settings.

Here’s how we approached diagnosing and fixing this problem.

Continue reading Resolving Tax Display Issues in WooCommerce: Ensuring Consistent VAT-Inclusive Prices

Simulating Automatic Cancellation of Pending Payments in WooCommerce

In a recent Business Bloomer Club discussion, a WooCommerce store owner wanted to simulate the automatic cancellation of “Pending Payment” orders after a set time.

WooCommerce has a built-in feature to move pending payments to “Canceled” status, but in this case, the auto-cancellation wasn’t consistently triggering during testing with Mollie’s test API key. Since no actual order is created on Mollie’s platform with the test key, pending orders in the shop would remain in that status, causing issues with testing sub-orders in the Yith Deposit plugin.

For anyone facing similar challenges, here’s a potential solution using WooCommerce’s Action Scheduler.

Continue reading Simulating Automatic Cancellation of Pending Payments in WooCommerce

Quantity Input as a Dropdown in WooCommerce: Limiting Quantity to a Custom Maximum

In a recent Business Bloomer Club discussion, a WooCommerce developer encountered a challenge when implementing a quantity dropdown for product selection.

Despite setting a maximum quantity of 20, the dropdown was still allowing up to 9999 units. This scenario highlighted some key considerations when adjusting WooCommerce’s quantity input fields, especially for products with stock management enabled.

The default quantity input field in WooCommerce is typically a text field, but with some custom code, it can be turned into a dropdown to enhance user experience. Here’s a breakdown of how to modify this input field while ensuring it adheres to a maximum limit.

Continue reading Quantity Input as a Dropdown in WooCommerce: Limiting Quantity to a Custom Maximum

Displaying WooCommerce Products in Swedish Alphabetical Order

In a recent Business Bloomer Club discussion, a member shared a challenge with displaying product titles alphabetically according to Swedish standards in WooCommerce.

By default, WooCommerce sorts letters like å, ä, and ö before “A,” which doesn’t match the Swedish alphabetical order, where they should appear at the end. Efforts to adjust the database settings directly didn’t resolve the issue, even after disabling plugins and testing with the Storefront theme.

This scenario highlights a common hurdle for WooCommerce users working with international character sorting. Below is a breakdown of the troubleshooting steps taken and the eventual solution.

Continue reading Displaying WooCommerce Products in Swedish Alphabetical Order

Unexpected WooCommerce Product Purchase Despite Private Setting: How It Happened

In a recent Business Bloomer Club discussion, a member shared a perplexing situation with a WooCommerce product that was set to “Private” but still ended up being ordered by a customer.

When a product is marked private, it shouldn’t be accessible publicly; instead, it’s intended to be hidden from non-admin or non-editor users. However, this case suggests that even private products may still be accessible under certain conditions or due to unexpected system behaviors.

Here’s a breakdown of possible explanations for this occurrence and how it might be resolved.

Continue reading Unexpected WooCommerce Product Purchase Despite Private Setting: How It Happened

Displaying a Cart Notice for Missing Shipping Information in WooCommerce

A Business Bloomer Club member recently asked about adding a cart notice in WooCommerce to prompt customers to enter their postal code in the shipping calculator.

They noted that customers sometimes overlook this step, leading to confusion when no shipping options are available.

Below, we’ll walk through a method to display a notice at the top of the cart page, reminding customers to add their address information to view shipping options.

Continue reading Displaying a Cart Notice for Missing Shipping Information in WooCommerce

Tracking Monthly Customer Cohorts in WooCommerce for Repeat Orders

A recent Business Bloomer Club member posed a question about tracking customer behavior over time, specifically aiming to monitor how many orders new customers place after their initial signup.

For instance, if 30 new customers joined in May 2023, they’d like to observe how many of these customers placed additional orders in subsequent months. This type of analysis is known as cohort analysis and can provide insights into customer loyalty and engagement over time.

Here’s a guide on how to implement cohort analysis in WooCommerce.

Continue reading Tracking Monthly Customer Cohorts in WooCommerce for Repeat Orders