• Resolved ollylama

    (@ollylama)


    Is there a way to automatically show the pricing table on a page? Either via shortcode or php?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author flycart

    (@flycart)

    Hi

    Are you looking to show the table in a page other than the product page ?
    If it is on the product page, you can turn on the discount table option in the plugin settings
    https://docs.flycart.org/en/articles/2417123-all-about-discount-table

    If you are looking to get the discount table elsewhere, you can try something on these lines (Just an example code):
    https://gist.github.com/AshlinRejo/24b5334058421979f99d5b164cc8a23c

    Thanks

    Thread Starter ollylama

    (@ollylama)

    Thanks, yes I wanted the second option. I’m afraid I don’t know how to implement that. I tried turning it into a shortcode with the add_shortcode function but I guess it has parameters so I don’t know how to do it. Thanks anyway.

    Plugin Author flycart

    (@flycart)

    That is a direct PHP implementation. Depending on your requirement, you may have to adjust it.
    You may want to consider hiring a freelancer if you are thinking of a custom PHP implementation.
    If it is on the product pages, we already provide the option. The snippet is only for custom implementations.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode or php to display pricing table’ is closed to new replies.