From: Laury GvR Date: Mon, 12 Dec 2016 20:23:20 +0000 (-0500) Subject: Replace cart attribute field codetalk with English X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=b6adfcdd9996659d96776f2448d2210a0c840650;p=WP-Themes%2Fglmthemes%2Fshipwreck-theme.git Replace cart attribute field codetalk with English Attributes of items were getting an attribute_denomenation label in the Woocommerce cart. This has been replaced (using jquery) with "Donation Amount" --- diff --git a/js/app.js b/js/app.js index f38e136..24ab6c5 100644 --- a/js/app.js +++ b/js/app.js @@ -34,4 +34,7 @@ $(document).ready(function () { $(this).append('' + dropdown_page_text + '' ); $(this).addClass('hide-before'); }); + $(".woocommerce .cart_item dt.variation-attribute_denomination").each( function () { + $(this).text("Donation Amount"); + }); }); \ No newline at end of file diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index c60dc7d..1013bf7 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -25,4 +25,7 @@ $(document).ready(function () { $(this).append('' + dropdown_page_text + '' ); $(this).addClass('hide-before'); }); + $(".woocommerce .cart_item dt.variation-attribute_denomination").each( function () { + $(this).text("Donation Amount"); + }); }); \ No newline at end of file