Forum

Thread tagged as: Shop

not displaying in shop emails

With the default install of perch shop, the email template that is sent on order payment works great, except everything in the <perch:orderitems> tag.

ie:

<perch:orderitems>
                <tr>
                    <td>
                        <perch:orderitem id="title" type="hidden" />
                    </td>
                    <td>
                        <perch:orderitem id="variant_desc" type="hidden" />
                    </td>
                    <td>
                        <perch:orderitem id="quantity" type="hidden" />
                    </td>
                    <td>
                        <perch:orderitem id="price_without_tax" type="hidden" format="$:%.2n" />
                    </td>
                    <td align="right">
                        <perch:orderitem id="total_without_tax" type="hidden" format="$:%.2n" />
                    </td>
                </tr>
            </perch:orderitems>

I don't know if this help but when doing <perch:showall> in the email, the orderitems are all assigned to the items variable.

Perch Runway: 2.8.34, PHP: 7.1.0, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: d8daadaf41e3cd81d7c6ae96c6091fd15b2c9382 $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), collection_9 (2.8.34), swt_basket_details (2.1), perch_blog (4.6), perch_events (1.9.3), perch_forms (1.8.3), perch_gallery (2.8.6), perch_mailchimp (2.0.1), collection_6 (2.8.34), perch_shop_orders (1.0.10), perch_shop_products (1.0.10), swt_membership (2.1), perch_shop (1.0.10), collection_5 (2.8.34), perch_comments (1.2), perch_members (1.5), perch_twitter (3.5.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'geolocate', 'donations', 'perch_comments', 'perch_gallery', 'perch_forms', 'perch_members', 'perch_mailchimp', 'perch_twitter', 'perch_blog', 'perch_events', 'perch_shop', 'url_helper', 'swt_membership', 'swt_basket_details' );
PERCH_LOGINPATH: /admin
PERCH_PATH: /Users/philsmith/sites/sussexwt/admin
PERCH_CORE: /Users/philsmith/sites/sussexwt/admin/core
PERCH_RESFILEPATH: /data01/sussexwt/assets
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 512M, Total max file upload: 32M
F1: 6a33f95eca3667f9e0c39bf5ca2980fe
Resource folder writeable: No
HTTP_HOST: swt.local
DOCUMENT_ROOT: /Users/philsmith/sites/sussexwt
REQUEST_URI: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
Phil Smith

Phil Smith 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

We've managed to fix this for the next release.