File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,12 @@ public function apply()
97
97
$ setting = $ settingParts [1 ];
98
98
$ payLaterPath = self ::PAYLATERPATH . $ page ;
99
99
100
+ if (array_key_exists (self ::BMLPATH . $ page . '_display ' , $ bmlSettings )
101
+ && $ bmlSettings [self ::BMLPATH . $ page . '_display ' ] === '0 '
102
+ ) {
103
+ continue ;
104
+ }
105
+
100
106
foreach ($ this ->bmlToPayLaterSettings as $ bmlToPayLaterSetting ) {
101
107
if (in_array ($ page , $ bmlToPayLaterSetting ['pages ' ])
102
108
&& array_key_exists ($ setting , $ bmlToPayLaterSetting ['data ' ])
Original file line number Diff line number Diff line change 188
188
<verify_peer >1</verify_peer >
189
189
</hosted_pro >
190
190
<paypal_paylater >
191
- <experience_active >1 </experience_active >
191
+ <experience_active >0 </experience_active >
192
192
<enabled >0</enabled >
193
193
<productpage_display >0</productpage_display >
194
194
<productpage_position >header</productpage_position >
You can’t perform that action at this time.
0 commit comments