fix this problem as soon as possible
]]>For our new website, we are switching from a custom-made theme to Oxygen Builder because we don’t want to be busy with developing our website. Because of the switch, we also have to switch the Google Tag Manager integration. For this integration, we use the GTM4WP plugin. The plugin is working wonders with the Woocommerce pages of Oxygen Builder. However, with the product categories page, which is a custom page without standard Woocommerce hooks, the product_cat data is not shown in the data layer. Because the page isn’t the standard Woocommerce page, it makes sense that the correct data is not shown.
Could someone give me any direction on how to integrate the correct data for GTM4WP into this page?
Thank you!
Best regards,
Vincent
When using TranslatePress + WooCommerce with the permalink structure /shop/%product_cat%/ , the links to products in the translated version are wrong: instead of concatenating the product_cat they are rewritten as /shop-product_cat/etc.
I think this is a bug of the new version.
Regards,
Stefano
Faced a problem. I can’t get the output Product by category or by tags.
Also in the shortcode show_categories and show_tags are not displayed in the product page.
]]>I have a script that change woocommerce product categorie like
update_post_meta($Product_id, ‘product_cat’, $Category_id /*(term_id of wp_terms table) */ );
i works well so i have:
meta_id post_id meta_key meta_value
699235 89867 product_cat 135332 ( = $categorie_id)
but still my products have no categories. It is the wrong place to define categories ?
thanks for helping me !
]]>
$args = array(
'post_type' => 'product_variation',
'post_status' => array('private', 'publish'),
'tax_query' => array(
array(
'taxonomy' => 'product_cat',
'field' => 'term_id',
'terms' => $selected_category_id
)
)
);
$variations = get_posts( $args );
but “tax_query” part seems to be ignored and no matter what will be provided inside, it does not affect the query.
Any ideas how to do that?
]]>I am trying to setup a simple form to add a WooCommerce product. Everything works beautifully apart from the category.
I tried several ways of choosing categories, but nothing works. In the product form builder, there is no “Taxonomy” field so I added a dropdown with “product_cat” as the Meta Key, but it doesn’t work.
Is there a way to add product categories? If yes, how?
I thank you in advance for your help!
]]>Scenario 2 – OK
1. settings-> permalink posts use names : /%postname%/
2. settings-> permalink products use : default
3. enter as customer,
4. go to my-account
5. click my-orders => Ok
remark: here categories are listed under /
Scenario 3 – Partly Ok / Partly unexpected
1. settings-> permalink posts use names: /%postname%/
2. settings-> permalink products are under : /sklep/
3. enter as customer,
4. go to my-account
5. click my-orders => Ok
BUT: here categories are listed under / – while Scenario 1 suggests I’m right I expect it under /sklep/
Anyway, we need Scenario 1 (use of product categories) fixed
]]>