• Resolved Nass Kouk

    (@nassos71)


    Hello,
    Is there a way to combine two shortcodes for one table?
    For example, I use the Shortcode [product_table id=”123″ ids=”100, 101, 102″] which is very convenient because I only have created one table for my site and just change the product ids for each table I use.
    The problem is that for these tables that are made with that shortcode, I also need to use the following shortcode [product_table id=”123″ laptop_auto_scroll=”true”].
    Is there a way I can use these two shortcodes for the same table?

    Thank you for your attention.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Product Table

    (@wcproducttable)

    Hi,

    Thank you for your query about my plugin WooCommerce Product Table. I will be happy to answer. 

    Yes, you can use multiple shortcode options together. For example please see this demo page for the PRO version of the plugin. When you scroll down on that page you can see the shortcode for the table is provided there and in it there are several shortcode options combined together in the same shortcode.

    So you could have a shortcode like:
    [product_table id=”123″ ids=”100, 101, 102″ laptop_auto_scroll=”true”]

    But please be careful to use the straight quotation marks in the shortcode ” instead of the slanted ones as wordpress may not recognize them.

    I hope this information helps! Please let me know if you have any further questions.

    Useful plugin links: Tutorials | Documentation | FAQs

    Regards,
    Kartik

    Thread Starter Nass Kouk

    (@nassos71)

    Great! It works!
    Thank you!!!

    Plugin Author WC Product Table

    (@wcproducttable)

    I am glad my answer helped resolve your query!

    If you like my plugin please consider leaving it a 5 star rating here to help it grow!

    And please feel free to write in anytime if you have any further questions.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcodes combination’ is closed to new replies.