Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
It is possible to set some global option for the meta information that will be saved for your categories by heading over to Rank Math > Titles & Meta > Categories.
You can make use of these variables on this page:
1). PRODUCT CATEGORY + SUBCATEGORY :
Please make use of these variables on this page:
Title: %term% %sep% %sitename%
Description: %sitename% %sep% %sitename%
2). PRODUCT
Please make use of these variables:
Title: %title% %sep% %categories(limit=2&separator= -)% %sitename%
Description: %sitename% %sep% %title% %sep% %wc_price%
Unfortunately, we do not have a variable to add the stock amount to the description. This variable can however be added by hooking into this filter:
/**
* Filter to add custom variables
*/
add_filter( 'rank_math/vars/replacements', function( $vars ) {
return $vars;
});
In regards to the translation issue, we might need to investigate this further. Would you mind editing your first response and adding some temporary WP logins on the sensitive data section?
Looking forward to helping you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello Jamel,
Unfortunately, there is no way to change the position of the Euro. It is added by Google automatically.
For the stock, please enter your inventory values:
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello Michael and Todd,
Thank you for your support.
I couldn’t set the variables in Rank Math> Titles & Meta> Categories. :
1). PRODUCT CATEGORY + SUBCATEGORY:
Please use these variables on this page:
Title:% term%% term%% sep%%% site name%
Description:% site name%%% sep%% site name%%
– The title tag does not have the name of the subcategory of products + t-shirt category
ex: Subcategory A – T-shirt – Tennis Team Ambition
– The description tag does not have the following structure:
ex: Tennis Team Ambition – Description of Subcategory A
2) PRODUCT
Please use these variables:
Title:% title
%% sep%%% categories (limit = 2 & separator = -)%% site_name% Description:% site_name%% sep%%% title%% sep%% wc_price%
– Same problem. The display does not include the information: Title tags + Description of the product sheet
Thank you for your support
Jamel
Hello,
We do not have an option in Rank Math to show primary category separate and child category separately. We should the category and if you have more than one categories – we will show them all.
Code for showing the name of the single category is %category%
For showing all categories: %categories%
I just checked a few product and category product pages on your website and the data is being printed just like you have set them in the titles settings.
If you are facing this issue on a particular set of URLs, please share those with us along with the info. of what you expect to see instead.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.