From 4fe9f08b67931dff682a01d5c535af45f395e767 Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 11 Jun 2021 11:12:13 +0200 Subject: [PATCH] changed 'add to cart' button text on pricing page --- .../assets/dist/module-pricing.bundle.js | 2 +- .../assets/dist/module-pricing.bundle.js.gz | Bin 868 -> 910 bytes .../materiotheme/assets/dist/report.html | 4 +- .../vuejs/components/Content/Product.vue | 41 +++--------------- 4 files changed, 10 insertions(+), 37 deletions(-) diff --git a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js index 3e2d3d22..fa8201d2 100644 --- a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js +++ b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js @@ -1 +1 @@ -(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[665],{1003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>v});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"pricing"}},[t.products.length?t._l(t.products,(function(t){return s("Product",{key:t.uuid,attrs:{product:t}})})):s("div",{staticClass:"loading"},[s("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};o._withStripped=!0;var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("article",{staticClass:"product"},[s("header",[s("h1",{domProps:{innerHTML:t._s(t.product.title)}})]),t._v(" "),s("section",{staticClass:"content"},[s("div",{staticClass:"description",domProps:{innerHTML:t._s(t.product.body)}})]),t._v(" "),t.isAdherent?t._e():s("aside",t._l(t.product.variations,(function(e){return s("div",{key:e.id,staticClass:"variation"},[s("div",{staticClass:"variation-description",domProps:{innerHTML:t._s(e.description)}}),t._v(" "),s("button",{attrs:{type:"button",name:"addtocart"},on:{click:function(s){return s.stopPropagation(),t.checkaddtocart(s,e.id)}}},[t._v("\n "+t._s(t.$t("default.Add to cart"))+"\n ")])])})),0)])};r._withStripped=!0;var n=s(4408),i=s(1423);const c={name:"Product",router:n.Z,props:["product"],mixins:[i.Z],data:()=>({quantity:1})};var a=s(1900),d=(0,a.Z)(c,r,[],!1,null,"0f9e2147",null);d.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Product.vue";const u=d.exports;var p=s(629);const l={name:"Pricing",computed:{...(0,p.rn)({products:t=>t.Pages.products})},created(){this.products.length||this.getProducts()},methods:{...(0,p.nv)({getProducts:"Pages/getProducts"})},components:{Product:u}};var m=(0,a.Z)(l,o,[],!1,null,"bdd44e2e",null);m.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue";const v=m.exports}}]); \ No newline at end of file +(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[665],{1003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>v});var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"pricing"}},[t.products.length?t._l(t.products,(function(t){return s("Product",{key:t.uuid,attrs:{product:t}})})):s("div",{staticClass:"loading"},[s("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};r._withStripped=!0;var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("article",{staticClass:"product"},[s("header",[s("h1",{domProps:{innerHTML:t._s(t.product.title)}})]),t._v(" "),s("section",{staticClass:"content"},[s("div",{staticClass:"description",domProps:{innerHTML:t._s(t.product.body)}})]),t._v(" "),t.isAdherent?t._e():s("aside",t._l(t.product.variations,(function(e){return s("div",{key:e.id,staticClass:"variation"},[s("div",{staticClass:"variation-description",domProps:{innerHTML:t._s(e.description)}}),t._v(" "),s("button",{attrs:{type:"button",name:"addtocart"},on:{click:function(s){return s.stopPropagation(),t.checkaddtocart(s,e.id)}}},[t._v("\n "+t._s(t.$t(t.variation_btn_txt[e.id]))+"\n ")])])})),0)])};o._withStripped=!0;var n=s(4408),i=s(1423);const a={name:"Product",router:n.Z,props:["product"],mixins:[i.Z],data:()=>({quantity:1,variation_btn_txt:{3:"Yeees!",4:"Yay!",5:"Great!",6:"OKAY!"}})};var c=s(1900),d=(0,c.Z)(a,o,[],!1,null,"0f9e2147",null);d.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Product.vue";const u=d.exports;var p=s(629);const l={name:"Pricing",computed:{...(0,p.rn)({products:t=>t.Pages.products})},created(){this.products.length||this.getProducts()},methods:{...(0,p.nv)({getProducts:"Pages/getProducts"})},components:{Product:u}};var _=(0,c.Z)(l,r,[],!1,null,"bdd44e2e",null);_.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue";const v=_.exports}}]); \ No newline at end of file diff --git a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz index d6efcc9134e366320142087f24b3045a88e65e1f..061033478001212b4d127af0f1bb96265aa238cc 100644 GIT binary patch literal 910 zcmV;919AKxiwFP!000021Fclsj@vd6{S_~f2N7ZE%R1XG4W$ScMGGWF7f4^St|8Fk z*j6o*syK4ikOlN>`eFH!jxLtHo3sef+JH@sW;o{@9!}sPUCEEI%yhiH+Z1-Y(+GLu zqS)=ie|vd6&KF!}h2I48`OVF%g(%0P(X|RtfbcwgU9!T%z+;}o$Yx&V0dV1^2|$zv zR=P-01(dh1_-wE9K_0FO8)M>Zz{@&-A#M^cAVm2h&VgG0kirfu3QwV^0T;!`Bg}HZ zBDVt{Fq7<=C^cg4RhbyYGHRdLHLEHyN15f$6ft_4f?eb0d)g)q&S4Ss5RjMWUGLlX zwDT4Y3T06wMs!WOT7^}`E6!C9!lT9{zDu?Dilt7Q28NhZg3q*NHJ)f6)J*8-1yWtB zihS25fBN$;#yMZqUoqj;ESJ&81UK(V(kufLUX2>z-2Wk*&IxP^&vAF`I@}x326EP} z$CPW_ji?Phvh8i?gXwhi9Ty3$#?#3)pOJYy4s=+yB>Q`tyMhLnvhqP>jiU43*$c5t z9urHUL_REp(WslT6qJ7y+LC(@YAilOt;%b~J^+BfVq!{5eW1lF#eS^s8!c}X`{nJM z4_B-n3k}}5MtM6Labdz>Bx3o%11+4GFT~YY*dk2@8?A0(GM;|RnrA*U(lux7WfZNF z6hcPRc!(Ri&3+gcbTYePHX6W^#K{F+Ho;j!;o=OF9}=N-2p#CUeV!(**Pi!`CS9^%{IXQHi{0N06c6RF9?S zGx&IHqHDkoq7SHM2e@&@pF7z-b-G9*SaqY}MTj-cdg`j|UZ|pKPax`bPeuMj_oXq@ kDNNv`d-R`mZ_#zqU8=qhqm$}YwcxYA0hQ}96@mu<0EH~P4gdfE literal 868 zcmV-q1DpIGiwFP!000021FcluZre5#eifJK1&MOBoqE|KLmi4>z%Duj`?%E0X~{eia0_<30JkphbPyz5;*Pdo47 zF+x>U*2n>5SQ}x}h(?HLBoR=fO>Q$CLc}t!O-Dnns2~*Dv6j!~z*{Bs^BQSg?~3}+ z7k~NVPbP#|w_kZBnx$8pPZrZ($kL(!6Tg~u#+Cnvak?b389e7bs2g~vpbeC)f1XpV z@i}=@v|c+0$r*)0;L1eL|;Bth|frB(upr8r6lfIu+0t zEf2lZeaHwcNg>&fdvFRH=_V%4kZSg;n+zZJ=7osAH)eu<(h(5i%~;O5xYIq7v-W>k zz8rZM2fkR$z8BKc(|mFDRxBwv0VhdZ_X5W|Tl$KcR^-&ZEIKz=W2)COx1X(}A*=4! z(rDCOOXBtKm3EZe$7oKsx`Wg$(9LWnq>1@VYIQGoB1^ei%U5&hsw|Uiw!ML?`Qkg) zy^Ez$zB{6zHk+-@AZFA|r7V%iV9a6xS8(z@|Ifbn>;~&DT|dP6$@QjLi{)QrhHb4u2LJ#-uBfH} diff --git a/web/themes/custom/materiotheme/assets/dist/report.html b/web/themes/custom/materiotheme/assets/dist/report.html index 7b076032..18c58e1a 100644 --- a/web/themes/custom/materiotheme/assets/dist/report.html +++ b/web/themes/custom/materiotheme/assets/dist/report.html @@ -3,7 +3,7 @@ - materio.com [10 Jun 2021 at 18:19] + materio.com [11 Jun 2021 at 09:10] diff --git a/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue b/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue index f9a51eb8..e0b9725c 100644 --- a/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue +++ b/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue @@ -5,7 +5,6 @@
-
- -