liqiusheng / silverstripe-ecommerce

Automatically exported from code.google.com/p/silverstripe-ecommerce
0 stars 0 forks source link

When you change the quantity of an item on the checkout page CartSubTitle disappears. #551

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
e-commerce version: 3.1 24/08/2013

SilverStripe version: 3.1 from github

When you change the quantity of an item on the checkout page, CartSubTitle 
disappears.

See screenshots.

Regards Nicolaas
Jose A.

Original issue reported on code.google.com by supp...@sendasoft.com on 24 Aug 2013 at 11:25

Attachments:

GoogleCodeExporter commented 8 years ago

The screenshots are from your web-demo:
http://3.1.silverstripe-ecommerce.com/checkout-page/

Original comment by supp...@sendasoft.com on 24 Aug 2013 at 11:37

GoogleCodeExporter commented 8 years ago
FIXED.... Please try again in a few days.  

Fix in Cart Response:

        //turn HTMLText (et al.) objects into text
        foreach($js as $key => $node) {
            if(isset($node["v"])) {
                if($node["v"] instanceOF DBField) {
                    $js[$key]["v"] = $node["v"]->forTemplate();
                }
            }
        }

Original comment by nfranc...@gmail.com on 31 Aug 2013 at 7:23