Forum
Help a n00b with the shop app.
I have this site running and am trying to create a shop for it. Is there a complete set of documentation that I am missing somehow? I feel like I am missing some steps. I have installed shop and members app, but no payment info is showing up in settings.
Here is my shop page with two products on it. These products have info and images attached, nut if you click the item or add to cars you go to a blank page: https://www.piratesofthecarabina.com/shop/
in my shop/index.php file I have:
<?php perch_content('shop'); ?> <?php perch_shop_products(); ?>
and then thanks to a forum member I have a product.php page containing this:
<?php perch_shop_product(perch_get('s')); ?>
plus added this to template: <a href="/shop/product.php?s=<perch:shop id="slug" type="slug" />/">
Is there a video somewhere that walks a new user through this? Thanks
One thing at a time. Can you post your diagnostics report?
Your product detiail page looks ok, you just need to remove the trailing slash from the link.
https://www.piratesofthecarabina.com/shop/product.php?s=zebra
Thanks Drew. How is that trailing slash getting in there? I see from that resultant page there is still a path error as the image is not displaying.
here is diags:
It's right there in your template.
Gotcha- just spotted that. Okay its gone and now page displays, but without images and no cart. Thanks
Ok, so what can you tell me to help?
Well I need to know what I have missed out, what code should be on my cart page apart from what I have - and why the product page is incomplete. Hows the report look? I found a thread somewhere inthe forum that suggested I had to install a feather, butr that was not included in the shop download. Thanks J
What do you have on your cart page?
<?php perch_content('cart'); ?>
<?php perch_shop_cart([ 'template' => 'cart/mini-cart.html', ]); ?>
So Icreated a region then chose the cart.html template which I have copied over to perch/templates/content
It looks like there's a redirect happening when you post to the cart page. You might want to disable your rewrite rules temporarily so that you can isolate your problems.