Forum

Thread tagged as: Question, Shop

Conditional within perch:orderitems

I'm trying to create a shop email that only displays an item if the product's e-ticket field checkbox is checked.

So I have

<perch:orderitems> 
<perch:if exists="eticket">
...show the record
</perch:if>
</perch:orderitems>

But when I add the conditional around the output, no items appear in the email even though some of the order items are checked as e-tickets. Should I be able to use a conditional like that in shop's emails?

Monty Lewis

Monty Lewis 2 points

  • 2 years ago
<perch:orderitems> 
<perch:showall>
<perch:if exists="eticket">
...show the record
</perch:if>
</perch:orderitems>

Monty. Try the perch showall as I have above... is the “eticket” field present?

Yes it’s there.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your diagnostic report?

sure, here is the diagnostic report:

Perch Runway: 3.1.2
Production mode: Production (100)
Installed apps: content (3.1.2), assets (3.1.2), categories (3.1.2), impeng_backupdash (1), perch_forms (1.10), gosquared_montlewis (1.0), perch_shop_orders (1.2.6), perch_shop_products (1.2.6), chirp_seo (1.4), perch_shop (1.2.6), perch_shop_tickets (1.2.6), perch_members (1.6.4), pepperjack_tags (1.3), pipit_catalog (1.3), redfinch_logger (1.0.1), perch_mailchimp (3.1), montlewis_salescharts (1), pipit_shortcuts (1.0)
DB driver: PDO
DB tables: fm_concerts (17), fm_ticketmanager (0), fm_tickets (4932), fm_update (1), perch2_backup_plans (1), perch2_backup_resources (418), perch2_backup_runs (2354), perch2_categories (17), perch2_category_counts (0), perch2_category_sets (1), perch2_chirp_seo (9), perch2_chirp_seo_scores (6), perch2_collection_index (1622), perch2_collection_items (248), perch2_collection_revisions (104), perch2_collections (5), perch2_content_index (694), perch2_content_items (194), perch2_content_locks (2), perch2_content_regions (32), perch2_forms (1), perch2_forms_responses (2859), perch2_mailchimp_campaigns (0), perch2_mailchimp_imports (0), perch2_mailchimp_lists (1), perch2_mailchimp_subscribers (74), perch2_mailchimp_subscriptions (74), perch2_mailchimp_webhooks (1), perch2_members (1628), perch2_members_forms (2), perch2_members_member_tags (1664), perch2_members_sessions (2), perch2_members_tags (19), perch2_menu_items (31), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_routes (11), perch2_page_templates (52), perch2_pages (37), perch2_pipit_shortcuts_menus (0), perch2_redfinch_logger_events (96), perch2_resource_log (561), perch2_resource_tags (1), perch2_resources (409), perch2_resources_to_tags (1), perch2_scheduled_tasks (40), perch2_settings (70), perch2_shop_addresses (6169), perch2_shop_admin_index (32), perch2_shop_brands (1), perch2_shop_cart (418627), perch2_shop_cart_data (3267), perch2_shop_cart_items (3129), perch2_shop_countries (250), perch2_shop_currencies (151), perch2_shop_customers (1635), perch2_shop_emails (14), perch2_shop_index (38408), perch2_shop_option_values (64), perch2_shop_options (18), perch2_shop_order_items (3761), perch2_shop_order_promotions (803), perch2_shop_order_statuses (26), perch2_shop_orders (1704), perch2_shop_orders_meta (1), perch2_shop_product_files (0), perch2_shop_product_option_values (176), perch2_shop_product_options (66), perch2_shop_product_tags (29), perch2_shop_products (293), perch2_shop_promotions (27), perch2_shop_sales (0), perch2_shop_search (260), perch2_shop_shipping_zone_countries (1), perch2_shop_shipping_zones (1), perch2_shop_shippings (1), perch2_shop_tax_exhibits (4619), perch2_shop_tax_group_rates (1), perch2_shop_tax_groups (2), perch2_shop_tax_locations (2), perch2_shop_tax_rates (2), perch2_shop_variants (1152), perch2_twitter_scheduled_tweets (0), perch2_twitter_settings (1), perch2_twitter_tweets (0), perch2_user_passwords (3), perch2_user_privileges (80), perch2_user_role_buckets (0), perch2_user_role_privileges (50), perch2_user_roles (2), perch2_users (4), revslider_css (62), revslider_images (0), revslider_layer_animations (0), revslider_navigations (0), revslider_options (11), revslider_sessions (1), revslider_sliders (0), revslider_slides (0), revslider_static_slides (0), revslider_transients (0), revslider_user (1)
Users: 4
App runtimes:
<?php
    $apps_list = array(
        'perch_forms',
        'perch_members',
        'perch_shop',
        'perch_mailchimp',
        'perch_shop_tickets',
        'chirp_seo'
    );
Scheduled tasks for perch_mailchimp: import_data (1 mins)
Scheduled tasks for redfinch_logger: logger_events_gc (1440 mins)
Scheduled tasks for Backup: plan_1 (10 mins)
Editor plug-ins: ckeditor, config-min.js, config.js, redactor-plugins
H1: 4d57a4cb3185f0f0989350774075eef5
L1: 81da7494b385f68756836054932323a6
F1: 3b606135b33e6a102526838f4152a807
headerColour: #941100
content_singlePageEdit: 1
helpURL:
update_runway_3.0.4: done
hideBranding: 1
content_collapseList: 1
lang: en-us
update_2.8.34: done
headerScheme: dark
update_runway_2.8.34: done
latest_version:
on_sale_version:
perch_shop_update: 1.2.6
perch_shop_price_tax_mode: exc
perch_shop_trade_price_tax_mode: exc
perch_shop_product_url: /concerts/{slug}
perch_shop_default_currency: 142
perch_shop_reporting_currency: 142
perch_shop_invoice_number_format: Invoice %d
dashboard: 1
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 1
perch_members_update: 1.4
logoPath: /perch/resources/symphonylogo.png
perch_shop_site_url: https://capeannsymphony.org
update_runway_3.0: done
perch_twitter_update: 3.5
update_runway_3.0.1: done
siteOffline: 0
perch_members_login_page: /log-in?r={returnURL}
update_runway_3.0.2: done
update_runway_3.0.3: done
content_skip_region_list: 1
perch_mailchimp_api_key: 00220d4ac4a96c8dca1f68ac3feef3ca-us15
perch_mailchimp_campaign_url: /mailchimp/campaign/{campaignSlug}
perch_mailchimp_secret: 5832e7a
siteURL: https://capeannsymphony.org
update_runway_3.0.5: done
redfinch_logger_gc: 180
update_runway_3.0.7: done
keyboardShortcuts: 0
update_runway_3.0.8: done
update_runway_3.0.10: done
assets_restrict_buckets: 0
chirp_seo_license_key: 0UXP1-N0T7R-3N4M7-2LI8F
chirp_update: 1.4
update_runway_3.0.13: done
sidebar_back_link: 0
gs_api: 1S060Q9YBR2A14WT
gs_site_id: GSN-572831-M
pipit_catalog_update: 1.3
pipit_catalog_productsSet: 1
pipit_catalog_lowStok:
pipit_catalog_thumbW:
pipit_catalog_thumbH:
pipit_catalog_thumbDensity:
pipit_catalog_hideCat: 0
pipit_catalog_hideBrand: 0
pipit_catalog_hideStatus: 0
pipit_catalog_hideSale: 0
pipit_catalog_hideShipping: 0
pipit_catalog_hideSearch: 0
pipit_catalog_hideProductImages: 0
pipit_catalog_displaySalePrices: 0
pipit_catalog_thumbCrop: 0
update_runway_3.1.1: done
update_runway_3.1.2: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: caso_data_user
PERCH_DB_SERVER: mysql.capeannsymphony.org
PERCH_DB_DATABASE: caso_db
PERCH_DB_PREFIX: perch2_
PERCH_SSL: 1
PERCH_SITEPATH: /home/capeannsymphony/tickets.capeannsymphony.org
PERCH_PRODUCTION_MODE: 100
PERCH_EMAIL_FROM: info@capeannsymphony.org
PERCH_EMAIL_FROM_NAME: Cape Ann Symphony
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/capeannsymphony/tickets.capeannsymphony.org/perch
PERCH_CORE: /home/capeannsymphony/tickets.capeannsymphony.org/perch/core
PERCH_TZ: America/New_York
PERCH_RESFILEPATH: /home/capeannsymphony/tickets.capeannsymphony.org/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_RWD: 1
PERCH_SCHEDULE_SECRET: joyofmusic
PERCH_EMAIL_METHOD: smtp
PERCH_EMAIL_HOST: smtp.postmarkapp.com
PERCH_EMAIL_AUTH: 1
PERCH_EMAIL_PORT: 2525
PERCH_EMAIL_USERNAME: 5c707a48-6d0a-40c9-a31d-50d91e1dddb2
PERCH_CUSTOM_EDITOR_CONFIGS: 1
PERCH_YOUTUBE_API_KEY: AIzaSyB2Uh2JaLIZbMskIEC2sfd_aY3fW8fORgA
PERCH_GMAPS_API_KEY: AIzaSyBQImXPMlXHqUe8ROzwi51e5CJP0LLPRoU
PERCH_RUNWAY: 1
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: 6738d5d5f5664f7c5e34
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/capeannsymphony/tickets.capeannsymphony.org/perch/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_XHTML_MARKUP:
PERCH_HTML_ENTITIES:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_DEFAULT_BUCKET: default
PERCH_TRANSLATION_ASSIST:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_PRIV_ASSIST:
PERCH_ENABLE_EXIF: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SHOP_VERSION: 1.2.6
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings

PHP: 7.0.32
Zend: 3.0.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
MySQL server: 5.6.34-log
Free disk space: 47.84 GB
Extensions: Core, date, libxml, pcre, sqlite3, filter, hash, mbstring, SPL, PDO, Reflection, pdo_sqlite, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, exif, fileinfo, ftp, gd, gettext, iconv, imap, json, mcrypt, mysqlnd, openssl, pcntl, pdo_mysql, zlib, posix, pspell, mysqli, SimpleXML, soap, sockets, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, Phar, imagick, memcached, Zend OPcache
GD: Yes
ImageMagick: Yes
PHP max upload size: 100M
PHP max form post size: 105M
PHP memory limit: 128M
Total max uploadable file size: 100M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
PATH: /bin:/usr/bin:/sbin:/usr/sbin
RAILS_ENV: production
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/1.1
GATEWAY_INTERFACE: CGI/1.1
REMOTE_PORT: 43539
SCRIPT_FILENAME: /home/capeannsymphony/tickets.capeannsymphony.org/perch/core/settings/diagnostics/index.php
SERVER_ADMIN: webmaster@capeannsymphony.org
DOCUMENT_ROOT: /home/capeannsymphony/tickets.capeannsymphony.org
REMOTE_ADDR: 71.233.175.185
SERVER_PORT: 443
SERVER_ADDR: 64.111.119.118
SERVER_NAME: capeannsymphony.org
SERVER_SOFTWARE: Apache
HTTP_ACCEPT_ENCODING: br, gzip, deflate
HTTP_REFERER: https://capeannsymphony.org/perch/core/settings/diagnostics/
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15
HTTP_COOKIE: PHPSESSID=AzaGuGyboqgDUbABh-Tp31; cmsa=1; gs_v_GSN-572831-M=; gs_u_GSN-572831-M=4bb1ea1a111087446ccc15059457dc71:5307:40247:1544058191272
HTTP_CONNECTION: close
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_HOST: capeannsymphony.org
SSL_TLS_SNI: capeannsymphony.org
HTTPS: on
DH_USER: capeannsymphony
dsid: 34160468
SCRIPT_URI: https://capeannsymphony.org/perch/core/settings/diagnostics/
SCRIPT_URL: /perch/core/settings/diagnostics/
UNIQUE_ID: XDOq@EBvd3YAAD7QhnYAAAAJ
FCGI_ROLE: RESPONDER
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1546889976.4149
REQUEST_TIME: 1546889976
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is the item there but with no value? Or does it have a value? What is the value?

Yes, when viewing show all, I see eticket true and perch_eticket true (the 2nd of these two records shown has the value).

ID  Value
perch_page_path /perch/addons/apps/perch_shop_orders/order/index.php
Alert_head  
_variant_opts   Adult ($43)\, Sat\, May 18\, 7:30pm\, Manchester Essex RHS|258,Adult ($43)\, Sun\, May 19\, 2pm\,{...}
alert_text  
brand   1
catalog_only    0
category    
Array
(
    [0] => 4
    [1] => 11
)
dates   
Array
(
    [0] => Array
        (
            [concert-date] => 2019-05-18 19:30:00
            [venue] => Array
                (
                    [0] => 22
                )

        )

    [1] => Array
        (
            [concert-date] => 2019-05-19 14:00:00
            [venue] => Array
                (
                    [0] => 23
                )

        )

)
depth   
description 
Cape Ann Symphony audience favorites, violinist Lucia Lin and cellist Owen Young return to perform a work by Miklos Rozsa famous for his Ben Hur movie score. In addition the orchestra will perform Dvorak’s New World Symphony providing a spectacular end to the season.

discount    0.00
email_description   
Cape Ann Symphony audience favorites, violinist Lucia Lin and cellist Owen Young return to perform a work by Miklos Rozsa famous for his Ben Hur movie score. In addition the orchestra will perform Dvorak’s New World Symphony providing a spectacular end to the season.

follow_on_items 
has_variants    true
height  
identifier  3737
image   /perch/resources/mayconcert-1.jpg
itemDiscount    0.00
itemDynamicFields   
itemID  3737
itemPrice   38.00
itemQty 2
itemTax 0.00
itemTaxDiscount 0.00
itemTaxRate 0
itemTotal   38.00
itemType    product
keywords    
max_in_cart 
meta_description    
musical_selection   
Array
(
    [0] => Array
        (
            [composer] => Dvorak
            [piece] => Array
                (
                    [_flang] => plain
                    [raw] => ​New World Symphony
                    [processed] => ​New World Symphony
                )

        )

    [1] => Array
        (
            [composer] => Rózsa
            [piece] => Array
                (
                    [_flang] => plain
                    [raw] => Parade of the Charioteers
                    [processed] => Parade of the Charioteers
                )

        )

    [2] => Array
        (
            [composer] => Rózsa
            [piece] => Array
                (
                    [_flang] => plain
                    [raw] => Sinfonia Concertante
                    [processed] => Sinfonia Concertante
                )

        )

)
nofollow    
noindex 
nosnippet   
on_sale 
options 
Array
(
    [0] => Array
        (
            [title] => 2017/18 Individual Subscription Concert Prices
            [date_string] => 
            [select_text] => Select the ticket type.
            [precendence] => 2
            [optionID] => 9
            [optionTitle] => 2017/18 Individual Subscription Concert Prices
            [optionPrecendence] => 2
            [optionDynamicFields] => {"title":"2017\/18 Individual Subscription Concert Prices","date_string":null,"select_text":"Select the ticket type.","precendence":"2"}
            [optionCreated] => 2017-03-27 17:35:39
            [optionUpdated] => 2018-04-20 08:46:10
            [optionDeleted] => 
            [perch_title] => 2017/18 Individual Subscription Concert Prices
            [perch_date_string] => 
            [perch_select_text] => Select the ticket type.
            [perch_precendence] => 2
            [options] => Array
                (
                    [0] => Array
                        (
                            [id] => 20
                            [title] => Adult ($43)
                            [skucode] => AD
                        )

                    [1] => Array
                        (
                            [id] => 21
                            [title] => Senior ($38)
                            [skucode] => SN
                        )

                    [2] => Array
                        (
                            [id] => 34
                            [title] => Student ($15)
                            [skucode] => STU
                        )

                    [3] => Array
                        (
                            [id] => 22
                            [title] => Youth ($5)
                            [skucode] => YTX
                        )

                )

            [productvalues] => Array
                (
                    [0] => Array
                        (
                            [prodoptID] => 275
                            [optionID] => 9
                            [valueID] => 20
                            [optionTitle] => 2017/18 Individual Subscription Concert Prices
                            [valueTitle] => Adult ($43)
                            [valueSKUCode] => AD
                            [valueOrder] => 1
                            [valueDynamicFields] => {}
                            [valueCreated] => 2017-03-27 17:35:39
                            [valueUpdated] => 2018-04-20 08:46:12
                            [valueDeleted] => 
                        )

                    [1] => Array
                        (
                            [prodoptID] => 276
                            [optionID] => 9
                            [valueID] => 21
                            [optionTitle] => 2017/18 Individual Subscription Concert Prices
                            [valueTitle] => Senior ($38)
                            [valueSKUCode] => SN
                            [valueOrder] => 2
                            [valueDynamicFields] => {}
                            [valueCreated] => 2017-03-27 17:35:39
                            [valueUpdated] => 2018-04-20 08:46:12
                            [valueDeleted] => 
                        )

                    [2] => Array
                        (
                            [prodoptID] => 277
                            [optionID] => 9
                            [valueID] => 34
                            [optionTitle] => 2017/18 Individual Subscription Concert Prices
                            [valueTitle] => Student ($15)
                            [valueSKUCode] => STU
                            [valueOrder] => 3
                            [valueDynamicFields] => {}
                            [valueCreated] => 2017-04-25 22:21:41
                            [valueUpdated] => 2018-04-20 08:46:12
                            [valueDeleted] => 
                        )

                    [3] => Array
                        (
                            [prodoptID] => 278
                            [optionID] => 9
                            [valueID] => 22
                            [optionTitle] => 2017/18 Individual Subscription Concert Prices
                            [valueTitle] => Youth ($5)
                            [valueSKUCode] => YTX
                            [valueOrder] => 4
                            [valueDynamicFields] => {}
                            [valueCreated] => 2017-03-27 17:37:21
                            [valueUpdated] => 2018-04-20 08:46:12
                            [valueDeleted] => 
                        )

                )

        )

    [1] => Array
        (
            [title] => 2019 May Concert Dates
            [date_string] => 
            [select_text] => Select the Concert Date
            [precendence] => 6
            [optionID] => 15
            [optionTitle] => 2019 May Concert Dates
            [optionPrecendence] => 6
            [optionDynamicFields] => {"title":"2019 May Concert Dates","date_string":null,"select_text":"Select the Concert Date","precendence":"6"}
            [optionCreated] => 2018-04-20 12:29:21
            [optionUpdated] => 2018-04-20 08:55:07
            [optionDeleted] => 
            [perch_title] => 2019 May Concert Dates
            [perch_date_string] => 
            [perch_select_text] => Select the Concert Date
            [perch_precendence] => 6
            [options] => Array
                (
                    [0] => Array
                        (
                            [id] => 58
                            [title] => Sat, May 18, 7:30pm, Manchester Essex RHS
                            [skucode] => C401
                        )

                    [1] => Array
                        (
                            [id] => 59
                            [title] => Sun, May 19, 2pm, Ipswich High School
                            [skucode] => C402
                        )

                )

            [productvalues] => Array
                (
                    [0] => Array
                        (
                            [prodoptID] => 279
                            [optionID] => 15
                            [valueID] => 58
                            [optionTitle] => 2019 May Concert Dates
                            [valueTitle] => Sat, May 18, 7:30pm, Manchester Essex RHS
                            [valueSKUCode] => C401
                            [valueOrder] => 1
                            [valueDynamicFields] => {}
                            [valueCreated] => 2018-04-20 12:29:21
                            [valueUpdated] => 2018-04-20 08:55:10
                            [valueDeleted] => 
                        )

                    [1] => Array
                        (
                            [prodoptID] => 280
                            [optionID] => 15
                            [valueID] => 59
                            [optionTitle] => 2019 May Concert Dates
                            [valueTitle] => Sun, May 19, 2pm, Ipswich High School
                            [valueSKUCode] => C402
                            [valueOrder] => 2
                            [valueDynamicFields] => {}
                            [valueCreated] => 2018-04-20 12:29:21
                            [valueUpdated] => 2018-04-20 08:55:10
                            [valueDeleted] => 
                        )

                )

        )

)
orderID 1686
page_banner_image   
page_thumb_image    /perch/resources/mayconcert-1.jpg
parentID    232
perch_Alert_head    
perch_alert_text    
perch_brand 1
perch_catalog_only  0
perch_category  
Array
(
    [0] => 4
    [1] => 11
)
perch_dates 
Array
(
    [0] => Array
        (
            [concert-date] => 2019-05-18 19:30:00
            [venue] => Array
                (
                    [0] => 22
                )

        )

    [1] => Array
        (
            [concert-date] => 2019-05-19 14:00:00
            [venue] => Array
                (
                    [0] => 23
                )

        )

)
perch_depth 
perch_description   
Cape Ann Symphony audience favorites, violinist Lucia Lin and cellist Owen Young return to perform a work by Miklos Rozsa famous for his Ben Hur movie score. In addition the orchestra will perform Dvorak’s New World Symphony providing a spectacular end to the season.

perch_email_description 
Cape Ann Symphony audience favorites, violinist Lucia Lin and cellist Owen Young return to perform a work by Miklos Rozsa famous for his Ben Hur movie score. In addition the orchestra will perform Dvorak’s New World Symphony providing a spectacular end to the season.

perch_follow_on_items   
perch_height    
perch_image /perch/resources/mayconcert-1.jpg
perch_keywords  
perch_max_in_cart   
perch_meta_description  
perch_musical_selection 
Array
(
    [0] => Array
        (
            [composer] => Dvorak
            [piece] => Array
                (
                    [_flang] => plain
                    [raw] => ​New World Symphony
                    [processed] => ​New World Symphony
                )

        )

    [1] => Array
        (
            [composer] => Rózsa
            [piece] => Array
                (
                    [_flang] => plain
                    [raw] => Parade of the Charioteers
                    [processed] => Parade of the Charioteers
                )

        )

    [2] => Array
        (
            [composer] => Rózsa
            [piece] => Array
                (
                    [_flang] => plain
                    [raw] => Sinfonia Concertante
                    [processed] => Sinfonia Concertante
                )

        )

)
perch_nofollow  
perch_noindex   
perch_nosnippet 
perch_on_sale   
perch_page_banner_image 
perch_page_thumb_image  /perch/resources/mayconcert-1.jpg
perch_price 38
perch_product_order 4000
perch_program   
perch_requires_shipping 1
perch_sale_price    38
perch_sell_until    2019-05-19 14:30:00
perch_sibtitle  May 2019 Concert
perch_slug  from-the-new-world-and-beyond-2019c4
perch_status    false
perch_stock_location    1
perch_stock_status  1
perch_tax_group 1
perch_trade_price   38
perch_weight    1
perch_width 
perch_willcall_window_open  
price   38
price_with_tax  38.00
price_with_tax_formatted    $38.00
price_without_tax   38.00
price_without_tax_formatted $38.00
productCreated  2018-04-20 12:33:27
productDeleted  
productDynamicFields    {"price":{"142":"38","_default":"38"},"sale_price":{"142":"38","_default":"38"},"trade_price":{"142"{...}
productHasVariants  0
productID   260
productOrder    3
productSlug 
productStatus   0
productStockOnParent    1
productTemplate product.html
productUpdated  2018-10-31 09:48:27
productVariantDesc  Senior ($38), Sat, May 18, 7:30pm, Manchester Essex RHS
product_order   4000
program 
quantity    2
requires_shipping   1
sale_price  38
sell_until  2019-05-19 14:30:00
shippingID  
sibtitle    May 2019 Concert
sku 2019C4-SN-C401
slug    from-the-new-world-and-beyond-2019c4
status  false
stock_level 
stock_location  1
stock_status    1
tax 0.00
tax_discount    0.00
tax_formatted   $0.00
tax_group   1
tax_rate    0
title   From the New World and Beyond
total_tax   0.00
total_tax_formatted $0.00
total_with_tax  76.00
total_with_tax_formatted    $76.00
total_without_tax   76.00
total_without_tax_formatted $76.00
trade_price 38
variant_desc    Senior ($38), Sat, May 18, 7:30pm, Manchester Essex RHS
weight  1
width   
willcall_window_open    
perch_item_first    true
perch_item_zero_index   0
perch_item_index    1
perch_item_rev_index    2
perch_item_rev_zero_index   1
perch_item_odd  
perch_item_count    2
perch_namespace perch:orderitem
Spring Into Strings

Spring Into Strings
General Admission ($35)
THIS IS YOUR TICKET FOR THE EVENT. 

Sunday, April 28, 2pm, Crowell Chapel
4 Rosedale Avenue, Manchester-by-the-Sea, MA

For our Musicians Unleashed series of concerts, we are not issuing tickets as we do for our Subscription Series Concerts. You can bring this as confirmation, but if you forget, will have a list of ticket purchases at the concert.

more detail

35.00
x 2
ID  Value
perch_page_path /perch/addons/apps/perch_shop_orders/order/index.php
Alert_head  
_variant_opts   General Admission ($35)|444,Youth ($15)|445
alert_text  
brand   1
catalog_only    0
category    
Array
(
    [0] => 17
)
dates   
Array
(
    [0] => Array
        (
            [concert-date] => 2019-04-28 14:00:00
            [venue] => Array
                (
                    [0] => 109
                )

        )

)
depth   
description 
A joyful April welcome to the changing season at the lovely Crowell Chapel.

discount    0.00
email_description   
THIS IS YOUR TICKET FOR THE EVENT. 

Sunday, April 28, 2pm, Crowell Chapel
4 Rosedale Avenue, Manchester-by-the-Sea, MA

For our Musicians Unleashed series of concerts, we are not issuing tickets as we do for our Subscription Series Concerts. You can bring this as confirmation, but if you forget, will have a list of ticket purchases at the concert.

eticket true
follow_on_items 
Sunday, April 28, 2pm
Crowell Chapel
4 Rosedale Avenue, Manchester-by-the-Sea, MA
E Ticket

has_variants    true
height  
identifier  3738
image   /perch/resources/springstrings-2.jpg
itemDiscount    0.00
itemDynamicFields   
itemID  3738
itemPrice   35.00
itemQty 2
itemTax 0.00
itemTaxDiscount 0.00
itemTaxRate 0
itemTotal   35.00
itemType    product
keywords    
max_in_cart 
meta_description    
nofollow    
noindex 
nosnippet   
on_sale 
options 
Array
(
    [0] => Array
        (
            [title] => 2019 Special Concert Series
            [date_string] => 
            [select_text] => Select the type of ticket you would like
            [precendence] => 1
            [optionID] => 18
            [optionTitle] => 2019 Special Concert Series
            [optionPrecendence] => 1
            [optionDynamicFields] => {"title":"2019 Special Concert Series","date_string":null,"select_text":"Select the type of ticket you would like","precendence":"1"}
            [optionCreated] => 2018-12-03 14:39:25
            [optionUpdated] => 2018-12-03 10:14:37
            [optionDeleted] => 
            [perch_title] => 2019 Special Concert Series
            [perch_date_string] => 
            [perch_select_text] => Select the type of ticket you would like
            [perch_precendence] => 1
            [options] => Array
                (
                    [0] => Array
                        (
                            [id] => 63
                            [title] => General Admission ($35)
                            [skucode] => GA
                        )

                    [1] => Array
                        (
                            [id] => 64
                            [title] => Youth ($15)
                            [skucode] => YTX
                        )

                )

            [productvalues] => Array
                (
                    [0] => Array
                        (
                            [prodoptID] => 457
                            [optionID] => 18
                            [valueID] => 63
                            [optionTitle] => 2019 Special Concert Series
                            [valueTitle] => General Admission ($35)
                            [valueSKUCode] => GA
                            [valueOrder] => 1
                            [valueDynamicFields] => {}
                            [valueCreated] => 2018-12-03 14:39:25
                            [valueUpdated] => 2018-12-03 10:14:40
                            [valueDeleted] => 
                        )

                    [1] => Array
                        (
                            [prodoptID] => 458
                            [optionID] => 18
                            [valueID] => 64
                            [optionTitle] => 2019 Special Concert Series
                            [valueTitle] => Youth ($15)
                            [valueSKUCode] => YTX
                            [valueOrder] => 2
                            [valueDynamicFields] => {}
                            [valueCreated] => 2018-12-03 14:39:25
                            [valueUpdated] => 2018-12-03 10:14:40
                            [valueDeleted] => 
                        )

                )

        )

)
orderID 1686
page_banner_image   
page_thumb_image    
parentID    439
perch_Alert_head    
perch_alert_text    
perch_brand 1
perch_catalog_only  0
perch_category  
Array
(
    [0] => 17
)
perch_dates 
Array
(
    [0] => Array
        (
            [concert-date] => 2019-04-28 14:00:00
            [venue] => Array
                (
                    [0] => 109
                )

        )

)
perch_depth 
perch_description   
A joyful April welcome to the changing season at the lovely Crowell Chapel.

perch_email_description 
THIS IS YOUR TICKET FOR THE EVENT. 

Sunday, April 28, 2pm, Crowell Chapel
4 Rosedale Avenue, Manchester-by-the-Sea, MA

For our Musicians Unleashed series of concerts, we are not issuing tickets as we do for our Subscription Series Concerts. You can bring this as confirmation, but if you forget, will have a list of ticket purchases at the concert.

perch_eticket   true
perch_follow_on_items   
Sunday, April 28, 2pm
Crowell Chapel
4 Rosedale Avenue, Manchester-by-the-Sea, MA
E Ticket

perch_height    
perch_image /perch/resources/springstrings-2.jpg
perch_keywords  
perch_max_in_cart   
perch_meta_description  
perch_nofollow  
perch_noindex   
perch_nosnippet 
perch_on_sale   
perch_page_banner_image 
perch_page_thumb_image  
perch_price 35
perch_product_order 
perch_program   
perch_requires_shipping 0
perch_sale_price    
perch_sell_until    2019-04-28 14:00:00
perch_sibtitle  Special Concert 3
perch_slug  spring-into-strings-2019c7
perch_status    1
perch_stock_location    1
perch_stock_status  1
perch_tax_group 1
perch_trade_price   
perch_weight    
perch_width 
perch_willcall_window_open  
price   35
price_with_tax  35.00
price_with_tax_formatted    $35.00
price_without_tax   35.00
price_without_tax_formatted $35.00
productCreated  2018-12-03 15:19:08
productDeleted  
productDynamicFields    {"stock_location":"1"}
productHasVariants  0
productID   444
productOrder    1
productSlug 
productStatus   1
productStockOnParent    1
productTemplate product.html
productUpdated  2018-12-18 17:58:57
productVariantDesc  General Admission ($35)
product_order   
program 
quantity    2
requires_shipping   0
sale_price  
sell_until  2019-04-28 14:00:00
shippingID  
sibtitle    Special Concert 3
sku 2019C7-GA
slug    spring-into-strings-2019c7
status  1
stock_level 120
stock_location  1
stock_status    1
tax 0.00
tax_discount    0.00
tax_formatted   $0.00
tax_group   1
tax_rate    0
title   Spring Into Strings
total_tax   0.00
total_tax_formatted $0.00
total_with_tax  70.00
total_with_tax_formatted    $70.00
total_without_tax   70.00
total_without_tax_formatted $70.00
trade_price 
variant_desc    General Admission ($35)
weight  
width   
willcall_window_open    
perch_item_last true
perch_item_zero_index   1
perch_item_index    2
perch_item_rev_index    1
perch_item_rev_zero_index   0
perch_item_odd  odd
perch_item_count    2
perch_namespace perch:orderitem

Shoot, I'm sorry. Reuploading from dev works as expected now. Sorry.

Is there a better way to test email layouts?

Thank you, Monty

Drew McLellan

Drew McLellan 2638 points
Perch Support

How are you testing them at the moment?