{"id":582,"date":"2020-07-01T11:48:06","date_gmt":"2020-07-01T10:48:06","guid":{"rendered":"https:\/\/www.graphicz.co.uk\/blog\/?p=582"},"modified":"2020-07-01T11:53:55","modified_gmt":"2020-07-01T10:53:55","slug":"coupon-code-and-value-not-showing-in-swift-checkout-cart-grid","status":"publish","type":"post","link":"https:\/\/www.graphicz.co.uk\/blog\/coupon-code-and-value-not-showing-in-swift-checkout-cart-grid\/","title":{"rendered":"Coupon code and value not showing in Swift checkout cart grid"},"content":{"rendered":"\n<p>In a default Swift site, when you add a coupon code and go to the next step the cart value drops by the coupon&#8217;s discount amount but the coupon itself does not appear in the cart calculations only in the receipt.<\/p>\n\n\n\n<p>Here is how to fix this, a variable seems to have been omitted from the Swift release.<\/p>\n\n\n\n<p>Go to &#8216;Design | Library | Layouts&#8217; and scroll down to the group &#8216;Shopping Cart Table and expand it.<\/p>\n\n\n\n<p>In the layout: &#8216;Small Checkout Shopping Cart Grid Swift&#8217;<\/p>\n\n\n\n<p>Locate the following code: &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> &lt;Actinic:REMOVE TAG=\"AdjustmentRows\"&gt;\n   &lt;actinic:variable name=\"ShoppingCartAdjustmentList\" \/&gt;\n&lt;\/Actinic:REMOVE&gt;\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"306\" height=\"52\" src=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmentone.jpg\" alt=\"\" class=\"wp-image-583\" srcset=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmentone.jpg 306w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmentone-300x51.jpg 300w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmentone-250x42.jpg 250w\" sizes=\"(max-width: 306px) 100vw, 306px\" \/><\/figure>\n\n\n\n<p>and replace it with the following code: &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;Actinic:REMOVE TAG=\"AdjustmentRows\"&gt;\n    &lt;actinic:variable name = \"AdjustmentRows\"\/&gt;\n    &lt;actinic:variable name=\"ShoppingCartAdjustmentList\" \/&gt;\n&lt;\/Actinic:REMOVE&gt;\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"315\" height=\"68\" src=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmenttwo.jpg\" alt=\"\" class=\"wp-image-584\" srcset=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmenttwo.jpg 315w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmenttwo-300x65.jpg 300w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/adjustmenttwo-250x54.jpg 250w\" sizes=\"(max-width: 315px) 100vw, 315px\" \/><\/figure>\n\n\n\n<p>and click &#8216;OK&#8217; to close the layout.<\/p>\n\n\n\n<p>Then go to the layout: &#8216;View Cart Page Shopping Cart Grid&#8217;<\/p>\n\n\n\n<p>Locate the following code: &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;Actinic:REMOVE TAG=\"AdjustmentRows\"&gt;\n   &lt;actinic:variable name=\"ShoppingCartAdjustmentList\" value=\"Shopping Cart Adjustment List In Cart\" \/&gt;\n&lt;\/Actinic:REMOVE&gt;\n<\/pre>\n\n\n\n<p>and replace it with the following code: &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;Actinic:REMOVE TAG=\"AdjustmentRows\"&gt;\n    &lt;actinic:variable name = \"AdjustmentRows\"\/&gt;\n    &lt;actinic:variable name=\"ShoppingCartAdjustmentList\" value=\"Shopping Cart Adjustment List In Cart\" \/&gt;\n&lt;\/Actinic:REMOVE&gt;\n<\/pre>\n\n\n\n<p>and click &#8216;OK&#8217; to close the layout.<\/p>\n\n\n\n<p>Once you have done this, upload the site and test.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>If you have customised layouts look for the <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;Actinic:REMOVE TAG=\"AdjustmentRows\"&gt;<\/pre>\n\n\n\n<p>as above and if the blue &#8216;<span class=\"has-inline-color has-vivid-cyan-blue-color\"><strong><span style=\"text-decoration: underline;\">AdjustmentRows<\/span><\/strong><\/span>&#8216; is missing then add it as above.<\/p>\n\n\n\n<p><em>Thanks to Gary and the Sellerdeck Developers for this.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a default Swift site, when you add a coupon code and go to the next step the cart value drops by the coupon&#8217;s discount amount but the coupon itself does not appear in the cart calculations only in the<span class=\"ellipsis\">&hellip;<\/span> <a href=\"https:\/\/www.graphicz.co.uk\/blog\/coupon-code-and-value-not-showing-in-swift-checkout-cart-grid\/\"><\/p>\n<div class=\"read-more\"><b>Read more &#8250;<\/b><\/div>\n<p><!-- end of .read-more --><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-582","post","type-post","status-publish","format-standard","hentry","category-graphicz-articles"],"_links":{"self":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts\/582"}],"collection":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":5,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts\/582\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}