журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r13037: LJSUP-14584: Cannot pay cart with free i...

Committer: nnikulochkina
LJSUP-14584: Cannot pay cart with free item
U   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,
     };
 }
 

Tags: dat, ljcom, nikulochkina, nnikulochkina, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments