• Resolved SanPedroUK

    (@sanpedrouk)


    Hi

    I have created custom categories and can get these to display just fine. No problem displaying all the items within a certain category. However… I want to be able to just display all the mens T shirts on one page, so I tried [spreadplugin shop_productcategory=”Men” shop_productsubcategory=”T-Shirts”]

    But this displays a seemingly random collection of mens t shirts and long sleeved shirts.

    Am assuming there’s a way of displaying the content in the way I want. But obviously I’m missing. The Mens T-shirts all show up on my shop ID under myshopID.spreadshirt.co.uk/men-t-shirts-D1P24

    I tried using ‘mens-t-shirts-D1P24’ as a product category and a sub category… but still didn’t work.

    https://ww.wp.xz.cn/plugins/wp-spreadplugin/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    Hi,

    [spreadplugin shop_productcategory="Men" shop_productsubcategory="T-Shirts"]

    should work. Did you click rebuild cache afterwards?

    Best
    Thimo

    Thread Starter SanPedroUK

    (@sanpedrouk)

    Hi Thimo… yes, I rebuild the cache every time.

    This is the list of the rebuild for the page with the shortlink

    T Shirts – Mens

    Rebuilding Page 15 of 15…
    Rebuilding Item 1 of 10 (Ride up grades – Men’s Long Sleeve) …

    Successfully stored page 14
    Done
    Rebuilding Item 2 of 10 (Ride up grades – Women’s Long Sleeve) … Done
    Rebuilding Item 3 of 10 (Ride up grades – Women’s T) … Done
    Rebuilding Item 4 of 10 (Certificate of Manliness – Women’s Long Sleeve) … Done
    Rebuilding Item 5 of 10 (Certificate of Manliness – Men’s Long Sleeve) … Done
    Rebuilding Item 6 of 10 (Certificate of Manliness – Women’s T) … Done
    Rebuilding Item 7 of 10 (Sort your shit out sonny – Women’s T) … Done
    Rebuilding Item 8 of 10 (Velo – Men’s Long Sleeve) … Done
    Rebuilding Item 9 of 10 (Velo – Mens’s T) … Done
    Rebuilding Item 10 of 10 (MTFU, periodically – Men’s Long Sleeve) … Done
    Done

    Successfully stored page 15

    At the moment the page only displays one shirt and the layout of the shirts has changed… they are not in a grid any more.

    I can send you a log-in if you want…

    Thread Starter SanPedroUK

    (@sanpedrouk)

    I created another page and added: [spreadplugin shop_productcategory=”Women” shop_productsubcategory=”T-Shirts”]

    When I rebuild the the cache this page only shows 4 T-shirts. When I view the category on Spreadshirt it shows 14 womens t-shirts in that category.

    The rebuld looks like this:

    T Shirt womens

    Rebuilding Page 16 of 16…
    Rebuilding Item 1 of 10 (Rosie says ‘Man the fuck up’ – Women’s T) … Done
    Rebuilding Item 2 of 10 (Rosie says ‘Man the fuck up’ – Women’s Long Sleeve) …

    Successfully stored page 15
    Done
    Rebuilding Item 3 of 10 (Ride up grades – Men’s Long Sleeve) … Done
    Rebuilding Item 4 of 10 (Ride up grades – Women’s Long Sleeve) … Done
    Rebuilding Item 5 of 10 (Ride up grades – Women’s T) … Done
    Rebuilding Item 6 of 10 (Certificate of Manliness – Women’s Long Sleeve) … Done
    Rebuilding Item 7 of 10 (Certificate of Manliness – Men’s Long Sleeve) … Done
    Rebuilding Item 8 of 10 (Certificate of Manliness – Women’s T) … Done
    Rebuilding Item 9 of 10 (Sort your shit out sonny – Women’s T) … Done
    Rebuilding Item 10 of 10 (Velo – Men’s Long Sleeve) … Done
    Done

    Successfully stored page 16

    Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    Please try again, sometimes the api takes longer to refresh. Click “rebuild cache” again.

    Thread Starter SanPedroUK

    (@sanpedrouk)

    Thanks Thimo… I created a new page and added [spreadplugin shop_productcategory=”Men” shop_productsubcategory=”T-Shirts”]

    Hit rebuild cache again and the plug-in rebuilt 91 items on that page. When I view the finished page it has generated all the men’s t-shirts. So all good.

    Is it normall to rebuild (what appears to be) all the mens products just on that page?

    Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    awfully yes, will change in future. Have fun!

    Thread Starter SanPedroUK

    (@sanpedrouk)

    Ummm… just tried doing a rebuild cache and getting an error message: ”Internal Server Error (500)’. Please check the browser console for more informations.’ Is that my server or spreadshirt?

    Also… I was going to put a nother post but might as well ask here now… is there a way of linking back to the page a customer was viewing from the checkout when they click the ‘back to shop’ link. I’m using the pop-up iframe in modal window for the checkout as the checkout will only seem to fit a full width window. I’m using a sidebar on my pages and the checkout won’t fit. I’ve no problem using the iframe but would like a ‘back to shopping’ type link where it goes back to the page last viewed.

    I also tried adding a straight HTML link in the link field but even after an update the link still defaults back to standard Spreadshirt page.

    Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    Hi,

    back to shopping link can be changed by filling “Change “Back to shop” link in checkout:” in spreadplugin settings page.
    You maybe clear your cookies the link to work and try checkout again.
    Beside of that, I can’t control behavior of spreadshirts checkout 🙁

    The 500 could be spreadshirt or your server, you may check error log of your server to get more details on that error.

    Best
    Thimo

    Thread Starter SanPedroUK

    (@sanpedrouk)

    Thanks. The error seemed to sort itself.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Displaying categories problem (I think)’ is closed to new replies.