How can I show the shortcode only in a specific product page?
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Matias on June 1, 2021, 01:58Hi, I added this line in price.php, following the FAQs:
<?php echo do_shortcode("[woocs]"); ?>
The problem is that I need to hide the Currency Switcher in all product pages and show it in 3 products pages only, or better, in a specific category that has 3 products.
I tried adding the slug of product pages in the last option of tab OPTIONS but didn't work.
I attach the two methods I tried. Or show in all pages or hide in all pages...
This is one of the products page:
https://wpdemo.singularmaleclaria.com/producto/cuadernillo-flores-hojas-2/Thanks!
Hi, I added this line in price.php, following the FAQs:
<?php echo do_shortcode("[woocs]"); ?>
The problem is that I need to hide the Currency Switcher in all product pages and show it in 3 products pages only, or better, in a specific category that has 3 products.
I tried adding the slug of product pages in the last option of tab OPTIONS but didn't work.
I attach the two methods I tried. Or show in all pages or hide in all pages...


This is one of the products page:
https://wpdemo.singularmaleclaria.com/producto/cuadernillo-flores-hojas-2/
Thanks!
Quote from Pablo Borysenco on June 1, 2021, 12:09Hello
It should works with this setting - https://share.pluginus.net/image/i20210601130857.png - but now it looks like you disabled this plugin
Hello
It should works with this setting - https://share.pluginus.net/image/i20210601130857.png - but now it looks like you disabled this plugin
Quote from Matias on June 1, 2021, 18:35Hi Pablo, thanks for reply! The plugin is enable, but with that features only show the word [woocs] as you can see:
https://wpdemo.singularmaleclaria.com/producto/cuadernillo-flores-hojas-2/
But the principal issue is that happens in all the product pages, It's impossible to divide the pages to hide and show the shortcode functionally.
As an example:
https://wpdemo.singularmaleclaria.com/producto/abstracto-2/
I don't know what I'm doing wrong...
Hi Pablo, thanks for reply! The plugin is enable, but with that features only show the word [woocs] as you can see:
https://wpdemo.singularmaleclaria.com/producto/cuadernillo-flores-hojas-2/
But the principal issue is that happens in all the product pages, It's impossible to divide the pages to hide and show the shortcode functionally.
As an example:
https://wpdemo.singularmaleclaria.com/producto/abstracto-2/
I don't know what I'm doing wrong...
Quote from Pablo Borysenco on June 2, 2021, 10:38Hello
Ok ! Please drop me wp-admin access - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png I will check it
Hello
Ok ! Please drop me wp-admin access - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png I will check it
Quote from Matias on June 2, 2021, 22:36Thanks Pablo, I resolve this issue adding the conversor as a shortcode in the short description of each product where I need to show it.
The new problem happens when I choose the secondary currency (USD) in these products.
After that, if I search or watch a product where I don't show the coverter, the price turns in the secondary currency, and I need to show only in the principal currencya (Argentinian Pesos).
Example:
https://wpdemo.singularmaleclaria.com/producto/ebook-flores-hojas-1/?currency=ARSIf you change to USD, any other page (without the shortcode converter) turns its price to USD.
Example:
https://wpdemo.singularmaleclaria.com/producto/explosion-de-colores-2/How can I disable the conversion in products where I don't show the Converter Shortcode?
Do you need a wp-admin access for that?
Thanks!
Thanks Pablo, I resolve this issue adding the conversor as a shortcode in the short description of each product where I need to show it.
The new problem happens when I choose the secondary currency (USD) in these products.
After that, if I search or watch a product where I don't show the coverter, the price turns in the secondary currency, and I need to show only in the principal currencya (Argentinian Pesos).
Example:
https://wpdemo.singularmaleclaria.com/producto/ebook-flores-hojas-1/?currency=ARS
If you change to USD, any other page (without the shortcode converter) turns its price to USD.
Example:
https://wpdemo.singularmaleclaria.com/producto/explosion-de-colores-2/
How can I disable the conversion in products where I don't show the Converter Shortcode?
Do you need a wp-admin access for that?
Thanks!
Quote from Pablo Borysenco on June 3, 2021, 10:38Hello Matias
Unfortunately the plugin does not have this feature.
You need code customization.
An example:
add_filter('wp_head',function(){
if(class_exists('WOOCS') AND !(is_page('add_your_page')) ){
global $WOOCS;
$WOOCS->reset_currency();
}
});
Hello Matias
Unfortunately the plugin does not have this feature.
You need code customization.
An example:
add_filter('wp_head',function(){
if(class_exists('WOOCS') AND !(is_page('add_your_page')) ){
global $WOOCS;
$WOOCS->reset_currency();
}
});
Quote from Matias on June 4, 2021, 20:23Thanks Pablo! Sorry but I'm not a developer, only a designer touching plugins and code :P
Can you tell me where do I have to add that code? Maybe in the functions.php in my Child Theme?Thanks a lot!
Thanks Pablo! Sorry but I'm not a developer, only a designer touching plugins and code :P
Can you tell me where do I have to add that code? Maybe in the functions.php in my Child Theme?
Thanks a lot!
Quote from Pablo Borysenco on June 7, 2021, 11:45Hello Matias
Maybe in the functions.php in my Child Theme? - Yes correct
But pay attention that you need to change this string - https://share.pluginus.net/image/i20210607124145.png - https://codex.wordpress.org/Conditional_Tags
Hello Matias
Maybe in the functions.php in my Child Theme? - Yes correct
But pay attention that you need to change this string - https://share.pluginus.net/image/i20210607124145.png - https://codex.wordpress.org/Conditional_Tags