We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Perch Shop Help
Starting a new thread for support assistance. I have the Perch shop installed on Perch runway. It's fully configured etc. Now I'm simply trying to link my categories and product listings to templates (whether they be the built in templates or my own) and nothing is outputting to the shop homepage? What am I missing here? What built-in templates from Perch Shop should I be using for these functions? Essentially all I require from Perch Shop is the ability to list SKUs/Products, Categorize them and have a detail page/slug for each listed SKU.
<div class="container toplayer"> <div class="blog-content w-row"> <div class="w-col w-col-4"> <ul class="catlist"> <?php perch_shop_categories(array( 'template'=>'product_category_link.html' )); ?> </ul> </div> <div class="w-col w-col-4"> <?php perch_shop_product( ['template' => 'product.html', 'count' => 10,] );?> </div> </div> </div>
category link template
<li class="cat-list"><a href="category.php?cat=<perch:shop id="categorySlug" />"><perch:shop id="categoryTitle" /></a></li>
Perch Runway: 3.1.2, PHP: 7.1.20, MySQL: 5.6.39, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (3.1.2), assets (3.1.2), categories (3.1.2), perch_blog (5.6.1), perch_shop_orders (1.2.6), perch_shop_products (1.2.6), chirp_seo (1.2.1), perch_shop (1.2.6), perch_members (1.6.4) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_members', 'perch_shop', ); ?> PERCH_LOGINPATH: /perch PERCH_PATH: /var/www/vhosts/142/1004491/webspace/httpdocs/perch PERCH_CORE: /var/www/vhosts/142/1004491/webspace/httpdocs/perch/core PERCH_RESFILEPATH: /var/www/vhosts/142/1004491/webspace/httpdocs/perch/resources Image manipulation: GD Imagick PHP limits: Max upload 32M, Max POST 32M, Memory: 256M, Total max file upload: 32M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes HTTP_HOST: www.lirchocolates.com DOCUMENT_ROOT: /var/www/vhosts/142/1004491/webspace/httpdocs REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Want to reply to this thread?Login with Perch