| |

Get the sub category of the current product category page

Get the sub category of the current product category page. This code is applied if you are viewing the product archive page. The codes below and a sample category hierarchy list. Example: Category Parent Category 1 Category 2 Category 3 Category 4 Category 1.1 Category 2.1 Category 3.1 Category 4.1 Here’s a code:

How to set up woocommerce product retail map discount?
| |

How to set up woocommerce product retail map discount?

How to set up woocommerce product retail map discount? Copy and paste the codes below to your functions.php Note: to get the $retail_map, make sure you have retail_map key in each products. You can add custom fields with the name retail_map and put a value. For more blog like this make sure to follow or…