WordPress.org

Forums

WP eCommerce
How to integrate wp e-commerce with widget logic? (2 posts)

  1. webpagedesign
    Member
    Posted 2 years ago #

    What conditional tags can I use to integrate wp e-commerce with widget Logic?

    I would like the cart widget to appear in store pages only. Currently I'm using Dynamic Widgets but it's slowing my site down.

    http://wordpress.org/extend/plugins/wp-e-commerce/

  2. Roy Ho
    Member
    Posted 2 years ago #

    You can check for the post type.

    if ( get_post_type() === 'wpsc-product' ) {
    // show widget
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic