Forum

Thread tagged as: Problem, Error, Shop

Wrong Grand total calculating

After upgrading to Perch 3 & Shop 1.2, I have a problem with grand total calculation. It seems that now, Regular price & Sale price are combined to create total price of an item. If sale price field is empty, the price is ok, if I will there will be a sale price grand total will combine this two prices to create product price ( even if sale price is not active ) On the product page, price is displayed correctly. It is a problem with grand total.

If item regular price is 100 PLN, grand total is 100 PLN. If item regular price is 100 PLN & sale price is 80 PLN (active or not active), grand total is 180 PLN

Diagnostic

Perch information

Perch: 3.0.5
Production mode: Production (100)
Installed apps: content (3.0.5), assets (3.0.5), categories (3.0.5), perch_blog (5.5.1), perch_shop_orders (1.2), perch_shop_products (1.2), perch_shop (1.2), perch_members (1.6.1)
DB driver: PDO
DB tables: perch2_blog_authors (2), perch2_blog_comments (0), perch2_blog_index (355), perch2_blog_posts (8), perch2_blog_posts_to_tags (0), perch2_blog_sections (1), perch2_blog_tags (0), perch2_blogs (1), perch2_categories (17), perch2_category_counts (0), perch2_category_sets (2), perch2_content_index (252), perch2_content_items (85), perch2_content_regions (15), perch2_members (35), perch2_members_forms (1), perch2_members_member_tags (0), perch2_members_sessions (0), perch2_members_tags (0), perch2_menu_items (13), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (11), perch2_resource_log (1601), perch2_resource_tags (2), perch2_resources (2526), perch2_resources_to_tags (16), perch2_settings (36), perch2_shop_addresses (1656), perch2_shop_admin_index (382), perch2_shop_brands (1), perch2_shop_cart (17138), perch2_shop_cart_data (947), perch2_shop_cart_items (435), perch2_shop_countries (248), perch2_shop_currencies (152), perch2_shop_customers (421), perch2_shop_emails (2), perch2_shop_index (9401), perch2_shop_option_values (8), perch2_shop_options (2), perch2_shop_order_items (959), perch2_shop_order_promotions (17), perch2_shop_order_statuses (9), perch2_shop_orders (412), perch2_shop_orders_meta (1), perch2_shop_product_files (0), perch2_shop_product_option_values (43), perch2_shop_product_options (25), perch2_shop_product_tags (0), perch2_shop_products (236), perch2_shop_promotions (3), perch2_shop_sales (0), perch2_shop_search (207), perch2_shop_shipping_zone_countries (1), perch2_shop_shipping_zones (1), perch2_shop_shippings (12), perch2_shop_tax_exhibits (839), perch2_shop_tax_group_rates (1), perch2_shop_tax_groups (1), perch2_shop_tax_locations (1), perch2_shop_tax_rates (1), perch2_shop_variants (71), perch2_user_passwords (0), perch2_user_privileges (76), perch2_user_role_privileges (30), perch2_user_roles (2), perch2_users (3)
Users: 3
App runtimes:
<?php
    $apps_list = array(
        'content',
        'categories',
        'perch_blog',
        'perch_members',
        'perch_shop',
    );
?>
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins:
H1: d1406189caa7f2b79e7ee0b1ccb49203
L1: 177ec0db7992f29090329cc1964db512
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
headerColour: #f0f8f7
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.29: done
latest_version:
on_sale_version:
headerScheme: light
perch_members_login_page: /members/login.php?r={returnURL}
perch_shop_price_tax_mode: inc
perch_shop_site_url: https://bee-eco.pl/
perch_shop_product_url: /shop/products/{slug}
perch_shop_invoice_number_format: %d
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_shop_default_currency: 110
perch_shop_reporting_currency: 110
perch_members_update: 1.4
perch_blog_update: 5.0.1
perch_blog_post_url: /blog/post.php?s={postSlug}
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
logoPath: /perch/resources/logo-black-1.png
update_2.8.31: done
perch_shop_update: 1.2
update_2.8.32: done
update_3.0.5: done
content_skip_region_list: 0
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: xxx
PERCH_DB_SERVER: xxx
PERCH_DB_DATABASE: xxx
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: xxx
PERCH_EMAIL_FROM_NAME: xxx
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/klient.dhosting.pl/beeeco/bee-eco.pl/public_html/perch
PERCH_CORE: /home/klient.dhosting.pl/beeeco/bee-eco.pl/public_html/perch/core
PERCH_RESFILEPATH: /home/klient.dhosting.pl/beeeco/bee-eco.pl/public_html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_DEBUG: 1
PERCH_RUNWAY:
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: 224e435c1fb02ad968ab
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/klient.dhosting.pl/beeeco/bee-eco.pl/public_html/perch/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_XHTML_MARKUP:
PERCH_RWD: 1
PERCH_HTML_ENTITIES:
PERCH_SSL:
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_CUSTOM_EDITOR_CONFIGS:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SHOP_VERSION: 1.2
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings

PHP: 5.6.29-dh1
Zend: 2.6.0
OS: Linux
SAPI: litespeed
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
MySQL server: 5.5.5-10.0.25-MariaDB-cll-lve
Free disk space: 1.37 TB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, interbase, intl, json, ldap, mbstring, mcrypt, mssql, standard, mysqlnd, mysqli, odbc, mysql, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, shmop, SimpleXML, snmp, soap, sockets, exif, sybase_ct, sysvmsg, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, litespeed, dba, geoip, imagick, mailparse, memcache, memcached, SQLite, mhash, ionCube Loader, Zend OPcache
GD: Yes
ImageMagick: Yes
PHP max upload size: 200M
PHP max form post size: 32M
PHP memory limit: 2048M
Total max uploadable file size: 32M
Resource folder writeable: Yes
Session timeout: 16.65 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
TMPDIR: /home/klient.dhosting.pl/beeeco/.tmp
PHPRC: /home/klient.dhosting.pl/beeeco/.settings/
LANG: pl_PL.UTF-8
MAGICK_THREAD_LIMIT: 1
PATH: /bin:/usr/bin:/usr/local/bin
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-GB,en-US;q=0.8,en;q=0.6
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: cmsa=1; p_m=; PHPSESSID=0686d69a3802f454a705f699543fbf47
HTTP_HOST: bee-eco.pl
HTTP_REFERER: https://bee-eco.pl/perch/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
DOCUMENT_ROOT: /home/klient.dhosting.pl/beeeco/bee-eco.pl/public_html
REMOTE_ADDR: 95.160.149.212
REMOTE_PORT: 54457
SERVER_ADDR: 109.95.156.6
SERVER_NAME: bee-eco.pl
SERVER_ADMIN: admin@demonek.com
SERVER_PORT: 80
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/klient.dhosting.pl/beeeco/bee-eco.pl/public_html/perch/core/settings/diagnostics/index.php
QUERY_STRING: extended
SCRIPT_URI: https://bee-eco.pl/perch/core/settings/diagnostics/
SCRIPT_URL: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: LiteSpeed
REQUEST_METHOD: GET
X-LSCACHE: 1
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1496662253.0513
REQUEST_TIME: 1496662253
argc: 1

cart.html

<perch:if id="total_items" match="gt" value="0.00">
    <h1>Twója torba</h1>
<section class="cart-wrap">
    <section class="customer-cart">
        <div class="cart-desc-name">Produkt</div>
        <div class="cart-desc-qua">Ilość</div>
        <div class="cart-desc-price">Cena jed.</div>
        <div class="cart-desc-price">Razem</div>


        <perch:form id="cart" app="perch_shop" class="clearMe cart-form">
        <perch:cartitems>



        <div class="cart-item">
            <div class="cart--thumb"><a href="/shop/item/<perch:cartitem id="slug" type="slug" />/" ><perch:cartitem id="image" type="image" width="80" height="80" density="1.6" crop="true" output="tag" /></a></div>
            <div class="cart--item__name"><a href="/shop/item/<perch:cartitem id="slug" type="slug" />/" ><perch:cartitem id="title" /><i><perch:cartitem id="variant_desc" /></i></a></div>
            <div class="cart--item__qua"><perch:input id="qty:<perch:cartitem id="identifier" />" value="<perch:cartitem id="quantity" />" type="number" min="0" /><perch:input type="submit" class="refresh przelicz" value=" " />
</div>
            <div class="cart--item__price-1"><perch:cartitem id="price_without_tax" format="$:%.2n" /> <perch:shop id="currency_symbol" /></div>
            <div class="cart--item__price-total"><span class="money"><perch:cartitem id="total_without_tax" format="$:%.2n" /> <perch:shop id="currency_symbol" /></span></div>
            <button type="submit" class="cart--item__remove" name="del:<perch:cartitem id="identifier" />" value="1">
                X
            </button>




        </div>
        </perch:cartitems>
                <section class="cart-additionals">
                    <div class="discount">
                        <perch:label for="discount">
                            Posiadasz kupon rabatowy?

                        </perch:label>
                        <perch:input type="text" id="discount_code" /><perch:input type="submit" value=" " />


                    </div>

                </section>


                <div class="total-items">Razem: <span class="money"><perch:shop id="total_items" /> <perch:shop id="currency_symbol" /></span></div>
                <div class="shipping-price"><perch:shop id="shipping_method" /><span class="money"><perch:shop id="shipping_without_tax" /> <perch:shop id="currency_symbol" /></span></div>

                <perch:if id="total_discounts" match="gt" value="0.00">
                <div class="total-discount">
                    Zniżka (<perch:shop id="discount_code" />): <span class="money">-<perch:shop id="total_discounts" format="$:%.2n" /> <perch:shop id="currency_symbol" /></span>

                </div>
                </perch:if>
                <div class="grand-total">Razem:<span class="money"> <perch:shop id="grand_total" /> <perch:shop id="currency_symbol" /></span></div>


                <div class="cart-buttons clearMe">
                    <a class="button kontynuj left" href="../">Kontynuj zakupy</a>
                    <a class="button right" href="checkout">Zamów</a>

                </div>

        </perch:form>


    </section>




</section>



<perch:else />
<h1 class="empty-cart">Twój torba jest pusta.</h1>

</perch:if>

showall from cart.html

ID  Value
perch_page_path /shop/cart/index.php
discount_code   
promotions  
Array
(
)
product_count   1
item_count  1
items   
Array
(
    [0] => Array
        (
            [discount] => 0
            [price_with_tax] => 100.00
            [price_with_tax_formatted] => 100.00zł
            [price_without_tax] => 100.00
            [price_without_tax_formatted] => 100.00zł
            [tax] => 0.00
            [tax_discount] => 0
            [tax_formatted] => 0.00zł
            [tax_rate] => 0
            [total_tax] => 0.00
            [total_tax_formatted] => 0.00zł
            [total_with_tax] => 100.00
            [total_with_tax_formatted] => 100.00zł
            [total_without_tax] => 100.00
            [total_without_tax_formatted] => 100.00zł
            [ref_sale_prices] => Array
                (
                    [discount] => 0
                    [price_with_tax] => 80.00
                    [price_with_tax_formatted] => 80.00zł
                    [price_without_tax] => 80.00
                    [price_without_tax_formatted] => 80.00zł
                    [tax] => 0.00
                    [tax_discount] => 0
                    [tax_formatted] => 0.00zł
                    [tax_rate] => 0
                    [total_tax] => 0.00
                    [total_tax_formatted] => 0.00zł
                    [total_with_tax] => 80.00
                    [total_with_tax_formatted] => 80.00zł
                    [total_without_tax] => 80.00
                    [total_without_tax_formatted] => 80.00zł
                )

            [weight] => 
            [sku] => test
            [title] => test
            [qty] => 1
            [id] => 236
            [identifier] => 236
            [quantity] => 1
            [description] => Array
                (
                    [_flang] => markdown
                    [raw] => 
                    [processed] => 
                )

            [image] => Array
                (
                    [assetID] => 62
                    [title] => Szara etykieta 750x422
                    [_default] => /perch/resources/szara-etykieta-750x422.jpg
                    [bucket] => default
                    [path] => szara-etykieta-750x422.jpg
                    [size] => 22179
                    [w] => 750
                    [h] => 422
                    [mime] => image/jpeg
                    [sizes] => Array
                        (
                            [thumb] => Array
                                (
                                    [w] => 150
                                    [h] => 84
                                    [target_w] => 150
                                    [target_h] => 150
                                    [density] => 2
                                    [path] => szara-etykieta-750x422-thumb@2x.jpg
                                    [size] => 4279
                                    [mime] => image/jpeg
                                    [assetID] => 63
                                )

                            [w800hc0@1x] => Array
                                (
                                    [w] => 750
                                    [h] => 422
                                    [target_w] => 800
                                    [target_h] => 
                                    [crop] => 
                                    [density] => 1
                                    [path] => szara-etykieta-750x422-w800.jpg
                                    [size] => 22179
                                    [mime] => 
                                    [assetID] => 2536
                                )

                            [w310h400c1@1x] => Array
                                (
                                    [w] => 310
                                    [h] => 400
                                    [target_w] => 310
                                    [target_h] => 400
                                    [crop] => true
                                    [density] => 1
                                    [path] => szara-etykieta-750x422-w310h400.jpg
                                    [size] => 18224
                                    [mime] => 
                                    [assetID] => 2537
                                )

                            [w80h80c1@1.6x] => Array
                                (
                                    [w] => 80
                                    [h] => 80
                                    [target_w] => 80
                                    [target_h] => 80
                                    [crop] => true
                                    [density] => 1.6
                                    [path] => szara-etykieta-750x422-w80h80@1.6x.jpg
                                    [size] => 3655
                                    [mime] => image/jpeg
                                )

                            [w120h120c1@1.6x] => Array
                                (
                                    [w] => 120
                                    [h] => 120
                                    [target_w] => 120
                                    [target_h] => 120
                                    [crop] => true
                                    [density] => 1.6
                                    [path] => szara-etykieta-750x422-w120h120@1.6x.jpg
                                    [size] => 6424
                                    [mime] => image/jpeg
                                )

                        )

                )

            [slug] => test-test
            [images] => Array
                (
                    [0] => Array
                        (
                            [more-images] => Array
                                (
                                    [assetID] => 2522
                                    [title] => DSC 0796 crop bursztyn metal
                                    [_default] => /perch/resources/dsc0796-cropbursztynmetal.jpg
                                    [bucket] => default
                                    [path] => dsc0796-cropbursztynmetal.jpg
                                    [size] => 4731299
                                    [w] => 3732
                                    [h] => 2302
                                    [mime] => image/jpeg
                                    [sizes] => Array
                                        (
                                            [thumb] => Array
                                                (
                                                    [w] => 150
                                                    [h] => 92
                                                    [target_w] => 150
                                                    [target_h] => 150
                                                    [density] => 2
                                                    [path] => dsc0796-cropbursztynmetal-thumb@2x.jpg
                                                    [size] => 12362
                                                    [mime] => image/jpeg
                                                    [assetID] => 2523
                                                )

                                            [w800hc0@1.6x] => Array
                                                (
                                                    [w] => 800
                                                    [h] => 493
                                                    [target_w] => 800
                                                    [target_h] => 
                                                    [crop] => 
                                                    [density] => 1.6
                                                    [path] => dsc0796-cropbursztynmetal-w800@1.6x.jpg
                                                    [size] => 183155
                                                    [mime] => image/jpeg
                                                )

                                        )

                                )

                        )

                )

            [price] => Array
                (
                    [110] => 100
                    [_default] => 100
                )

            [sale_price] => Array
                (
                    [110] => 80
                    [_default] => 80
                )

            [trade_price] => 
            [on_sale] => 
            [tax_group] => 1
            [status] => 1
            [brand] => 
            [category] => 
            [stock_status] => 0
            [stock_location] => 0
            [requires_shipping] => 1
            [productID] => 236
            [productSlug] => test-test
            [stock_level] => 
            [parentID] => 
            [productVariantDesc] => 
            [productOrder] => 1
            [productHasVariants] => 0
            [productStockOnParent] => 0
            [productDynamicFields] => {"description":{"_flang":"markdown","raw":"","processed":""},"image":{"assetID":"62","title":"Szara etykieta 750x422","_default":"\/perch\/resources\/szara-etykieta-750x422.jpg","bucket":"default","path":"szara-etykieta-750x422.jpg","size":22179,"w":750,"h":422,"mime":"image\/jpeg","sizes":{"thumb":{"w":"150","h":"84","target_w":150,"target_h":150,"density":2,"path":"szara-etykieta-750x422-thumb@2x.jpg","size":4279,"mime":"image\/jpeg","assetID":"63"},"w800hc0@1x":{"w":"750","h":"422","target_w":"800","target_h":false,"crop":false,"density":"1","path":"szara-etykieta-750x422-w800.jpg","size":22179,"mime":"","assetID":"2536"},"w310h400c1@1x":{"w":"310","h":"400","target_w":"310","target_h":"400","crop":"true","density":"1","path":"szara-etykieta-750x422-w310h400.jpg","size":18224,"mime":"","assetID":"2537"},"w80h80c1@1.6x":{"w":80,"h":80,"target_w":"80","target_h":"80","crop":"true","density":"1.6","path":"szara-etykieta-750x422-w80h80@1.6x.jpg","size":3655,"mime":"image\/jpeg"},"w120h120c1@1.6x":{"w":120,"h":120,"target_w":"120","target_h":"120","crop":"true","density":"1.6","path":"szara-etykieta-750x422-w120h120@1.6x.jpg","size":6424,"mime":"image\/jpeg"}}},"slug":"test-test","images":[{"more-images":{"assetID":"2522","title":"DSC 0796 crop bursztyn metal","_default":"\/perch\/resources\/dsc0796-cropbursztynmetal.jpg","bucket":"default","path":"dsc0796-cropbursztynmetal.jpg","size":4731299,"w":3732,"h":2302,"mime":"image\/jpeg","sizes":{"thumb":{"w":"150","h":"92","target_w":150,"target_h":150,"density":2,"path":"dsc0796-cropbursztynmetal-thumb@2x.jpg","size":12362,"mime":"image\/jpeg","assetID":"2523"},"w800hc0@1.6x":{"w":800,"h":493,"target_w":"800","target_h":false,"crop":false,"density":"1.6","path":"dsc0796-cropbursztynmetal-w800@1.6x.jpg","size":183155,"mime":"image\/jpeg"}}}}],"price":{"110":"100","_default":"100"},"sale_price":{"110":"80","_default":"80"},"trade_price":null,"on_sale":null,"tax_group":"1","status":"1","brand":null,"category":null,"stock_status":"0","stock_location":"0","requires_shipping":"1"}
            [productTemplate] => product.html
            [productCreated] => 2017-06-05 10:47:18
            [productUpdated] => 2017-06-05 11:52:43
            [productDeleted] => 
            [productStatus] => 1
            [perch_description] => Array
                (
                    [_flang] => markdown
                    [raw] => 
                    [processed] => 
                )

            [perch_image] => Array
                (
                    [assetID] => 62
                    [title] => Szara etykieta 750x422
                    [_default] => /perch/resources/szara-etykieta-750x422.jpg
                    [bucket] => default
                    [path] => szara-etykieta-750x422.jpg
                    [size] => 22179
                    [w] => 750
                    [h] => 422
                    [mime] => image/jpeg
                    [sizes] => Array
                        (
                            [thumb] => Array
                                (
                                    [w] => 150
                                    [h] => 84
                                    [target_w] => 150
                                    [target_h] => 150
                                    [density] => 2
                                    [path] => szara-etykieta-750x422-thumb@2x.jpg
                                    [size] => 4279
                                    [mime] => image/jpeg
                                    [assetID] => 63
                                )

                            [w800hc0@1x] => Array
                                (
                                    [w] => 750
                                    [h] => 422
                                    [target_w] => 800
                                    [target_h] => 
                                    [crop] => 
                                    [density] => 1
                                    [path] => szara-etykieta-750x422-w800.jpg
                                    [size] => 22179
                                    [mime] => 
                                    [assetID] => 2536
                                )

                            [w310h400c1@1x] => Array
                                (
                                    [w] => 310
                                    [h] => 400
                                    [target_w] => 310
                                    [target_h] => 400
                                    [crop] => true
                                    [density] => 1
                                    [path] => szara-etykieta-750x422-w310h400.jpg
                                    [size] => 18224
                                    [mime] => 
                                    [assetID] => 2537
                                )

                            [w80h80c1@1.6x] => Array
                                (
                                    [w] => 80
                                    [h] => 80
                                    [target_w] => 80
                                    [target_h] => 80
                                    [crop] => true
                                    [density] => 1.6
                                    [path] => szara-etykieta-750x422-w80h80@1.6x.jpg
                                    [size] => 3655
                                    [mime] => image/jpeg
                                )

                            [w120h120c1@1.6x] => Array
                                (
                                    [w] => 120
                                    [h] => 120
                                    [target_w] => 120
                                    [target_h] => 120
                                    [crop] => true
                                    [density] => 1.6
                                    [path] => szara-etykieta-750x422-w120h120@1.6x.jpg
                                    [size] => 6424
                                    [mime] => image/jpeg
                                )

                        )

                )

            [perch_slug] => test-test
            [perch_images] => Array
                (
                    [0] => Array
                        (
                            [more-images] => Array
                                (
                                    [assetID] => 2522
                                    [title] => DSC 0796 crop bursztyn metal
                                    [_default] => /perch/resources/dsc0796-cropbursztynmetal.jpg
                                    [bucket] => default
                                    [path] => dsc0796-cropbursztynmetal.jpg
                                    [size] => 4731299
                                    [w] => 3732
                                    [h] => 2302
                                    [mime] => image/jpeg
                                    [sizes] => Array
                                        (
                                            [thumb] => Array
                                                (
                                                    [w] => 150
                                                    [h] => 92
                                                    [target_w] => 150
                                                    [target_h] => 150
                                                    [density] => 2
                                                    [path] => dsc0796-cropbursztynmetal-thumb@2x.jpg
                                                    [size] => 12362
                                                    [mime] => image/jpeg
                                                    [assetID] => 2523
                                                )

                                            [w800hc0@1.6x] => Array
                                                (
                                                    [w] => 800
                                                    [h] => 493
                                                    [target_w] => 800
                                                    [target_h] => 
                                                    [crop] => 
                                                    [density] => 1.6
                                                    [path] => dsc0796-cropbursztynmetal-w800@1.6x.jpg
                                                    [size] => 183155
                                                    [mime] => image/jpeg
                                                )

                                        )

                                )

                        )

                )

            [perch_price] => Array
                (
                    [110] => 100
                    [_default] => 100
                )

            [perch_sale_price] => Array
                (
                    [110] => 80
                    [_default] => 80
                )

            [perch_trade_price] => 
            [perch_on_sale] => 
            [perch_tax_group] => 1
            [perch_status] => 1
            [perch_brand] => 
            [perch_category] => 
            [perch_stock_status] => 0
            [perch_stock_location] => 0
            [perch_requires_shipping] => 1
        )

)
shipping_id 12
shipping_method Odbiór osobisty
shipping_tax    0.00
shipping_tax_formatted  0.00zł
shipping_tax_rate   0
shipping_with_tax   0.00
shipping_with_tax_formatted 0.00zł
shipping_without_tax    0.00
shipping_without_tax_formatted  0.00zł
total_items 180.00
total_items_formatted   180.00zł
total_items_tax 0.00
total_items_tax_formatted   0.00zł
total_shipping  0.00
total_shipping_formatted    0.00zł
total_shipping_tax  0.00
total_shipping_tax_formatted    0.00zł
total_items_with_shipping   180.00
total_items_with_shipping_formatted 180.00zł
total_tax   0.00
total_tax_formatted 0.00zł
total_items_discount    0.00
total_items_discount_formatted  0.00zł
total_items_tax_discount    0.00
total_items_tax_discount_formatted  0.00zł
total_items_discounted  180.00
total_items_discounted_formatted    180.00zł
total_items_discounted_with_tax 180.00
total_items_discounted_with_tax_formatted   180.00zł
total_shipping_discount 0.00
total_shipping_discount_formatted   0.00zł
total_shipping_tax_discount 0.00
total_shipping_tax_discount_formatted   0.00zł
total_tax_discount  0.00
total_tax_discount_formatted    0.00zł
total_discounts 0.00
total_discounts_formatted   0.00zł
total_discounts_with_tax    0.00
total_discounts_with_tax_formatted  0.00zł
grand_total 180.00
grand_total_formatted   180.00zł
shipping_weight 0.00
tax_rate_totals 
Array
(
    [0] => Array
        (
            [exchange_rate] => unknown
            [tax_rate] => 0
            [tax_rate_formatted] => 0 %
            [total_tax] => 0.00
            [total_tax_formatted] => 0.00zł
            [total_value] => 180.00
            [total_value_formatted] => 180.00zł
            [reporting_tax] => 0.00
            [reporting_tax_formatted] => 0.00zł
            [reporting_value] => 180.00
            [reporting_value_formatted] => 180.00zł
        )

)
currency_id 110
currency_code   PLN
currency_name   Polish złoty
currency_symbol zł
perch_namespace perch:shop
Maciej Pieńczewski

Maciej Pieńczewski 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I think this is the same as an issue already fixed in Shop1.2.1, so sit tight for a while longer.

Drew, where I can download Shop 1.2.1 ?

Drew McLellan

Drew McLellan 2638 points
Perch Support

From the add-ons site once it's released.

Lol, that was silly question. I thought it is released already. Do You think downgrading to 1.1 will help?

Drew McLellan

Drew McLellan 2638 points
Perch Support

No, I think you'd be better to just wait a few minutes.

Drew McLellan

Drew McLellan 2638 points
Perch Support

It's there now.

Thanks a lot Drew, this update fixed it :)