WordPress.org

Forums

WordPress Simple Paypal Shopping Cart
[resolved] PHP version of show_wp_shopping_cart? (4 posts)

  1. oxygensmith
    Member
    Posted 1 year ago #

    hey TTHQ,

    Thanks for a great plugin - it's working so terrifically!

    I'm just wondering if there is a PHP version of the "show_wp_shopping_cart" shortcode that displays the cart. This would allow us to display the cart on product detail/single page templates as well.

    Something like < ?php echo shopping_cart(); ? > -- if my meaning isn't clear.

    Cheers & thanks,

    Rob

    https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/

  2. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi Rob, try the following code
    <?php echo print_wp_shopping_cart(); ?>

    See if the above helps you.

    Kind regards

  3. oxygensmith
    Member
    Posted 1 year ago #

    PERFECT! Works great.

    Thanks so much for your help.

  4. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    You are most welcome Rob :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic