Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12400
Latest: mikel
New This Month: 5
New This Week: 1
New Today: 1
Stats
Total Posts: 40609
Total Topics: 7132
Most Online Today: 180
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 143
Total: 143

Author Topic: Using Alternate PayPal Address  (Read 85 times)

0 Members and 1 Guest are viewing this topic.

Offline KKOG

  • Community Suite Customer
  • Newbie
  • ******
  • Posts: 34
    • View Profile
Using Alternate PayPal Address
« on: January 13, 2021, 05:24:23 pm »
Hi,

Following your suggestion to use the Alternative PayPal Address to force a "Buy Now" option I have found a bug in the software.

Using this option applies a Shipping Condition (if one have been set) even though the "Requires Shipping" option has not been ticked.  The workaround is to delete the shipping condition that is triggered.

Regards
Greg Ralph
KKOG Forum Admin

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15291
    • View Profile
Re: Using Alternate PayPal Address
« Reply #1 on: January 13, 2021, 06:48:14 pm »
Hotfix
Open Store*.template.php find
Code: [Select]
$context['store_item']['shipping'] = ReturnShippingCost($finalprice,$context['store_item']['shipping'],$context['store_item']['weight']);

After add
Code: [Select]
if ($context['store_item']['requireshipping'] == 0)
$context['store_item']['shipping'] = 0;
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline KKOG

  • Community Suite Customer
  • Newbie
  • ******
  • Posts: 34
    • View Profile
Re: Using Alternate PayPal Address
« Reply #2 on: January 13, 2021, 07:24:46 pm »
Thanks for this and I note the new version release

Regards

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3451 Views
Last post April 03, 2009, 07:58:53 am
by Sweetwater
5 Replies
6326 Views
Last post January 24, 2010, 05:37:32 pm
by SMFHacks
8 Replies
8808 Views
Last post December 23, 2013, 05:09:47 pm
by SMFHacks
2 Replies
3531 Views
Last post December 18, 2013, 11:50:32 pm
by GTN
2 Replies
2931 Views
Last post December 19, 2014, 10:33:23 am
by w5hro

+- Recent Topics

Forum ToolBox by Monocero
Today at 11:47:48 am

Gallery Pro v8.0 and PHP 7.4 by SMFHacks
January 20, 2021, 10:21:25 pm

[Mod] Tagging System by SMFHacks
January 13, 2021, 08:43:33 pm

Using Alternate PayPal Address by KKOG
January 13, 2021, 07:24:46 pm

Assigning a BuyNow Button to a product by SMFHacks
January 12, 2021, 04:59:32 pm

SMF Links by Nicole
January 10, 2021, 12:02:39 pm

Error on the latest version by davejo
January 06, 2021, 08:04:05 am

Recent topics on board index by eugen
January 01, 2021, 11:08:16 am

Parser by swayforth
December 31, 2020, 12:24:23 am

Show Gallery in Users Profile by swayforth
December 29, 2020, 10:37:17 pm

Powered by EzPortal