Implementing Product Table on Store page template
-
Hi, a few weeks ago I requested the developer of this plugin to provide support for WCFM Store page template to generate the author ID. The developer was kind enough to provide support and created a plugin which I already installed. My problem is with the instructions given to implement it on the wordpress template. I’d like to know what I’m doing wrong.
Here are the instructions:
“Now you can use the following shortcode to show dynamic product table
[Product_Table id=’144′ name=’Test Table’ author=’4′]
here I have added author id. Dynamically populate author id and pass it through author attribute.
You have to use this shortcode in your PHP template. Where you can generate your author/vendor id as $author_id and when you have found it use it in our plugin’s shortcode like this
<?php $author_id = “generate your author/vendor id here”; echo do_shortcode( ‘[Product_Table id=”144″ name=”Test Table” author=”$author_id”]’ ); ?>”
I am using elementor to create the store template and need to know If I have to paste the PHP there or I should do something else.
- The topic ‘Implementing Product Table on Store page template’ is closed to new replies.