Comments 1Jonathan started the conversationDecember 12, 2023 at 9:13amHello. Is it possible to hide a portion of the product description for non-logged in users using a shortcode?Attached files: Captura de Pantalla 2023-12-12 a las 10.10.57 a. m..png 2,218WebWizards repliedDecember 12, 2023 at 11:06amHello Jonathan,Thank you for purchasing our plugin,It is possible to do that, by using our plugin's content restriction shortcode: https://woocommerce-b2b-plugin.com/docs/shortcode-to-restrict-content-to-b2b-b2c-user-groups-specific-users/To show some content only for logged in users, you can write it as follows: [b2bking_content show_to=b2b,b2c]content for logged in users only[/b2bking_content]Basically "b2b" refers to logged in b2b users, and "b2c" refers to logged in b2c users. For logged out users, loggedout has to be used. Let me know if I can help with anything, or if you have any questions, Kind regards, Stefan Sign in to reply ...
Hello. Is it possible to hide a portion of the product description for non-logged in users using a shortcode?
Attached files: Captura de Pantalla 2023-12-12 a las 10.10.57 a. m..png
Hello Jonathan,
Thank you for purchasing our plugin,
It is possible to do that, by using our plugin's content restriction shortcode: https://woocommerce-b2b-plugin.com/docs/shortcode-to-restrict-content-to-b2b-b2c-user-groups-specific-users/
To show some content only for logged in users, you can write it as follows:
Basically "b2b" refers to logged in b2b users, and "b2c" refers to logged in b2c users. For logged out users, loggedout has to be used.
Let me know if I can help with anything, or if you have any questions,
Kind regards,
Stefan