Title: wp-ecommerce plugin short code not working
Last modified: August 20, 2016

---

# wp-ecommerce plugin short code not working

 *  [fatty123](https://wordpress.org/support/users/fatty123/)
 * (@fatty123)
 * [14 years ago](https://wordpress.org/support/topic/wp-ecommerce-plugin-short-code-not-working/)
 * I was trying out with the shortcode category using:
    [wpsc_products category_id
   =’4′]
 * however when I try to set only 2 items per page:
    [wpsc_products category_url_name
   =’test-category’ number_per_page=’2′]
 * It doesn’t work? I have 3 items in that category and after setting to number 
   per page = 2, it still display all my 3 items?
 * beside what is the difference between limit_of_items and number_per_page??
 * Thanks for the help.

The topic ‘wp-ecommerce plugin short code not working’ is closed to new replies.

## Tags

 * [Ecommerce](https://wordpress.org/support/topic-tag/ecommerce/)
 * [shorcode](https://wordpress.org/support/topic-tag/shorcode/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [fatty123](https://wordpress.org/support/users/fatty123/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/wp-ecommerce-plugin-short-code-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
