Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <file path="catalog/model/payment/cod.php">
- <operation>
- <search><![CDATA[
- public function getMethod($address, $total) {
- ]]></search>
- <add position="after"><![CDATA[
- if (!empty($this->session->data['shipping_method'])) {
- $sm = $this->session->data['shipping_method']['code'];
- $shipping = explode('.', $sm);
- if ($shipping[0] == 'yandex_delivery') return false;
- }
- ]]></add>
- </operation>
- </file>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement