Committer: nnikulochkina
LJSUP-14584: Cannot pay cart with free itemU trunk/bin/upgrading/en_LJ.dat U trunk/cgi-bin/LJ/Widget/Shop/Cart.pm
Modified: trunk/bin/upgrading/en_LJ.dat =================================================================== --- trunk/bin/upgrading/en_LJ.dat 2012-12-12 13:52:20 UTC (rev 13036) +++ trunk/bin/upgrading/en_LJ.dat 2012-12-12 14:36:07 UTC (rev 13037) @@ -11605,6 +11605,9 @@ shop.cart.btn.delete|staleness=1 shop.cart.btn.delete=Remove selected +shop.cart.btn.pay.by.free|staleness=1 +shop.cart.btn.pay.by.free=Buy + shop.cart.btn.pay.by.tokens|staleness=1 shop.cart.btn.pay.by.tokens=Pay by LJ Tokens Modified: trunk/cgi-bin/LJ/Widget/Shop/Cart.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/Shop/Cart.pm 2012-12-12 13:52:20 UTC (rev 13036) +++ trunk/cgi-bin/LJ/Widget/Shop/Cart.pm 2012-12-12 14:36:07 UTC (rev 13037) @@ -206,6 +206,7 @@ 'dengionline_disabled' => $dengionline_disabled, 'dengi_online_html' => $dengi_online_html, 'is_wallet_enable' => !$LJ::DISABLED{'dengionline'} && LJ::Pay::Method::Wallet->suitable_for($cart) ? 1 : 0, + 'is_free_enable' => !$LJ::DISABLED{'dengionline'} && LJ::Pay::Method::Free->suitable_for($cart) ? 1 : 0, }; }