I want to sell digital goods with shipping disabled. I know how to do this on opencart, but how can I make sure the customer, once transferred to the paypal page, is not requested to input his or her address for the digital product?
I am waiting for Open Cart 3.0
by default, it prompts for address, but it isn't required.
But if you want to make it not prompt at all then you can
1. EDIT: catalog/view/theme/YOURTHEME/template/payment/pp_standard.tpl
2. FIND:
3. AFTER, ADD:
But if you want to make it not prompt at all then you can
1. EDIT: catalog/view/theme/YOURTHEME/template/payment/pp_standard.tpl
2. FIND:
Code: Select all
<input type="hidden" name="custom" value="<?php echo $custom; ?>" />
Code: Select all
<input type="hidden" name="no_shipping" value="1" />
Hi Qphoria,
I am using the version 1.4.9.5 of OpenCart. and I cannot find the code you suggested in pp_standard.tpl , could u please help me on this. I really need to disable shipping in paypal.
I am using the version 1.4.9.5 of OpenCart. and I cannot find the code you suggested in pp_standard.tpl , could u please help me on this. I really need to disable shipping in paypal.
Thanks
Nazmus Sakib
Send Gifts to Bangladesh by deshikutir
could you please please help me. I need this very urgent. need to disable shipping prompt while at paypal transaction page. I wanted to try the code above but could not find it in pp_standard.tpl in version 1.4.9.5 ...Qphoria wrote:by default, it prompts for address, but it isn't required.
But if you want to make it not prompt at all then you can
1. EDIT: catalog/view/theme/YOURTHEME/template/payment/pp_standard.tpl
2. FIND:3. AFTER, ADD:Code: Select all
<input type="hidden" name="custom" value="<?php echo $custom; ?>" />
Code: Select all
<input type="hidden" name="no_shipping" value="1" />
could you please give me a suggestion ... thanks in advanced.
Thanks
Nazmus Sakib
Send Gifts to Bangladesh by deshikutir
The code was improved a lot since then, as of 1.4.7 or later you need to
1. EDIT: catalog/controller/payment/pp_standard.php
2. FIND:
3. AFTER, ADD:
1. EDIT: catalog/controller/payment/pp_standard.php
2. FIND:
Code: Select all
$this->data['email'] = $order_info['email'];
Code: Select all
$this->data['no_shipping'] = '1';
How to apply that changes trough a vqmod xml file?
http://www.restaurantsupplies.eu Restaurant Supplies
Opencart 1.5.6.4 VQMOD 2.4.1
Languages: Italian, French, German, Hungarian, English, Russian, Polish and Spanish
Who is online
Users browsing this forum: No registered users and 5 guests