Forum
problem with perch_shop_product()
Hi,
spend hours trying to fix an issue i have..
I can't get any put using perch_shop_product('test3-lms0003');
if I call perch_shop_product() with now product slug, it lists all the products (with warning) with slug I used!
what am i doing wrong?
tony
Warning: Missing argument 1 for perch_shop_product(), called in /nfs/c05/h06/mnt/78335/domains/shop.stylishlittleme.com/html/single.php on line 178 and defined in /nfs/c05/h06/mnt/78335/domains/shop.stylishlittleme.com/html/perch/addons/apps/perch_shop/runtime/products.php on line 24
Notice: Undefined variable: slug in /nfs/c05/h06/mnt/78335/domains/shop.stylishlittleme.com/html/perch/addons/apps/perch_shop/runtime/products.php on line 32
LMS0003 Peach & grey floral dress set test3-lms0003
This outfit is ideal outfit for a party or a special occasion. The 3 piece set includes a dress, jacket and leggings. The dress features a round neckline with diamantes around the neckline, grey waistband with crystals on and 3d flower motifs, pleats on the skirt part of the dress and a zip fastening on the back. The leggings have rouched bottoms with peach buttons on. The jacket is cropped with long sleeves and a grey trimmed edge.
This outfit is ideal outfit for a party or a special occasion. The 3 piece set includes a dress, jacket and leggings.
Material: 95% Polyester 5% Elastane. Care instructions: Wash 30 degrees. Do not bleach. Do not tumble dry. Professional dry clean. Iron low heat.
/perch/resources/peachemilyfront2-h750-h1200.jpg /perch/resources/peachemilyfront2-h750-h800.jpg /perch/resources/peachemilyfront2-h750-h375.jpg /perch/resources/peachemilyfront2-h750-w80h80@1.6x.jpg /perch/resources/peachside-h1200-w1200.jpg /perch/resources/peachside-h1200-h800.jpg /perch/resources/peachside-h1200-h375.jpg /perch/resources/peachside2-h1200-w1200.jpg /perch/resources/peachside2-h1200-h800.jpg /perch/resources/peachside2-h1200-h375.jpg 1 Little Stylish Me Girls (2-14 years) 0 £9.99 £4.99 UK In Stock 5 0 3 1 .6 25 25 5
We need your Diagnostics Report and your code in order to be able to help.
diagnostics:
This looks to be correct:
I created a new product, and it works???
very strange
tony
Ok, how can I help?
all fixed thanks
tony