display product categories in shop page
display product categories in shop page Read More »
To use a shortcode inside a WordPress menu, you need to ensure that WordPress processes shortcodes in the wp_nav_menu output. The code snippet enables shortcodes in menus by adding filters to process them. Here’s how you can complete the implementation:
Enable shortcodes in WordPress menu navigation Read More »
To delete records in MySQL from the bmh_actionscheduler_logs table where the log_date_gmt is before a specific date and time (2024-12-02 14:11:20), you can execute the following SQL query: Verify Deletion: SELECT * FROM bmh_actionscheduler_logsWHERE log_date_gmt < ‘2024-12-02 14:11:20’; Delete all: DELETE FROM bmh_actionscheduler_logs;
To delete records in the bmh_woocommerce_sessions table where the session_key starts with t_, you can use the following SQL query: Explanation: Make sure you back up your database before running the query, as DELETE operations are irreversible.
This only works if the customer has processing cash on delivery orders
Woocommerce: add items to processing orders Read More »
in this example, we add two fields, one billing_phone and another phone, you can replace either one to use a custom field
Woocommerce: Search customers in ajax based on billing phone num Read More »
We will display a message in the frontend based on the shipping class chosen. Based on the shipping class slug we will display the class description as a message under the add to cart button. For slug message1 and message2
Shipping class message in single product page Woocommerce Read More »