Post by op_user » Sun Dec 13, 2009 9:49 am

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


New member

Posts

Joined
Thu Dec 10, 2009 9:45 am

Post by Qphoria » Mon Dec 14, 2009 1:26 pm

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:

Code: Select all

<input type="hidden" name="custom" value="<?php echo $custom; ?>" />
3. AFTER, ADD:

Code: Select all

<input type="hidden" name="no_shipping" value="1" />

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by opsakib » Sat Jun 11, 2011 2:58 pm

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.

Thanks
Nazmus Sakib
Send Gifts to Bangladesh by deshikutir


User avatar
Newbie

Posts

Joined
Sat May 28, 2011 5:57 pm
Location - Dhaka, Bangladesh

Post by opsakib » Tue Jun 14, 2011 1:41 pm

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:

Code: Select all

<input type="hidden" name="custom" value="<?php echo $custom; ?>" />
3. AFTER, ADD:

Code: Select all

<input type="hidden" name="no_shipping" value="1" />
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 ...
could you please give me a suggestion ... thanks in advanced.

Thanks
Nazmus Sakib
Send Gifts to Bangladesh by deshikutir


User avatar
Newbie

Posts

Joined
Sat May 28, 2011 5:57 pm
Location - Dhaka, Bangladesh

Post by Qphoria » Thu Jul 28, 2011 11:07 pm

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:

Code: Select all

$this->data['email'] = $order_info['email'];
3. AFTER, ADD:

Code: Select all

$this->data['no_shipping'] = '1';

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by tarnecki » Fri Jul 29, 2011 10:40 pm

in version 1.5.0.5 i removed
'name' => $this->language->get('text_total'),

from the catalog/controller/payment/pp_standard.php

and Shipping, Handling, Discounts & Taxes text is gone from the paypal invoice page :)

Newbie

Posts

Joined
Mon Jul 11, 2011 9:12 pm

Post by matteoraggi » Mon May 20, 2013 6:16 pm

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


Active Member

Posts

Joined
Fri Apr 10, 2009 8:16 pm
Who is online

Users browsing this forum: No registered users and 3 guests