Support » Plugin: Yoast SEO » Variable for categories Woocommerce

  • Resolved TonyHnor

    (@tonyhnor)


    Hello. I have been trying to search for this issue without finding any solutions.

    I have a woocommerce site that have the products divided in Main Category –> Sub Category.

    I use the %%term_title%% variable, but in the sub categories I want to include the main category. Some suggest to use the %%ct_product_cat%% variable, but this has no effect and are not listed on the documentation.

    I would like to continue with the %%term_title%% and include main category after it. Is there a variable for this?
    “I.e. Buy %%term_title%% %%parent_cat%% in our webshop”

    (I know that this will make the main categories weird, so I will manually enter site title/meta description for this.)

    Looking forward to an answer.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Variable for categories Woocommerce’ is closed to new replies.