Forums » MoneyPress CafePress Edition »
Issues getting it to work
Added by Michelle Grewe 4 months ago
I purchased the Wordpress plugin for Cafepress... I did everything on the install deal... Got the API...
First I had the issue that "no products found" I researched and played with it and researched and played with it, then I realized oh, I only have sections on my storefront, not products, so I added products and now, I get something, but not what I wanted...
DEBUG: Shortcode called with no attributes.
Requesting product list from:
http://open-api.cafepress.com/product.listByStoreSection.cp?v=3&appKey=tnmm8ptnfyksv3b6we3cxm3c&page=0&pageSize=10&storeId=fortmom§ionId=0
Requesting product list from:
http://open-api.cafepress.com/merchandise.find.cp?v=3&appKey=tnmm8ptnfyksv3b6we3cxm3c&id=552
Item:
SimpleXMLElement Object
(
[@attributes] => Array
(
[id] => 613162578
[name] => Clutch Bag
[merchandiseId] => 552
[sellPrice] => 39.99
[marketplacePrice] => 48.50
[currencyName] => US Dollar
[currencyCode] => USD
[currencySymbol] => $
[description] =>
[memberId] => 51812574
[storeId] => fortmom
[sectionId] => 0
[defaultOrientation] => Normal
[defaultPerspective] => Front
[basePrice] => 39.99
[shortCaption] => Clutch Bag
[defaultCaption] => Clutch Bag
[shortDescription] => Clutch Bag
[categoryId] => 110
[categoryCaption] => Bags & Wallets
[stockAvailability] => In stock. Usually ships within 3-5 business days.
[stockAvailabilityStatusId] => 113
[merchandiseAvailability] => Limited Edition Item
[merchandiseAvailabilityStatusId] => 2
[defaultProductUri] => http://images8.cafepress.com/product/613162578v0_240x240_Front_Color-Black.jpg
[marketplaceUri] => http://www.cafepress.com/buy/x/-/pv_design_prod/pg_1/p_10514929.613162578/pNo_613162578
[storeUri] => http://www.cafepress.com/fortmom.613162578
[additionalPhotoCount] => 0
[isCalendar] => false
[isBook] => false
[isCD] => false
[isAudioCD] => false
[isPoster] => false
[legacyHeightValue] => 0
[legacyWidthValue] => 0
[sortPriority] => 1
[isSellable] => true
)
[color] => SimpleXMLElement Object
(
[@attributes] => Array
(
[id] => 6
[name] => Black
[default] => true
[colorSwatchUrl] => /content/marketplace/img/swatches/swatch_552_c6.gif
)
)
[perspective] => Array
And it goes on a very very VERY long time with the coding before it shows the products that doesn't use any theme.
Can you please help
Replies (1)
RE: Issues getting it to work
-
Added by Michelle Grewe 4 months ago
This is me again... I figured it out...
For those who may have the same problem and is a total idiot like I am when it comes to stuff like this...
Ummm, turning on debugging OUTPUT is what put all that stuff in print before the products. I guess you do that to help you find the problem, and one you find and resolve it, you uncheck it like I did and all that computer jivin language went away.
If you have a store with sections, list by store means that it will pull products (not sections) from your storefront page (not from each individual section's page). If you have no products, it will say no products found.
Hope this helps someone else if they get a similar issue...
(1-1/1)