Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4206
Latest: jagwire
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 42721
Total Topics: 7443
Most Online Today: 130
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 47
Total: 47

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

0 Members and 1 Guest are viewing this topic.

Offline KKOG

  • Community Suite Customer
  • Member
  • ******
  • Posts: 47
    • 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: 16205
    • 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
  • Member
  • ******
  • Posts: 47
    • 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
3939 Views
Last post April 03, 2009, 07:58:53 am
by Sweetwater
5 Replies
7192 Views
Last post January 24, 2010, 05:37:32 pm
by SMFHacks
8 Replies
9215 Views
Last post December 23, 2013, 05:09:47 pm
by SMFHacks
2 Replies
4123 Views
Last post December 18, 2013, 11:50:32 pm
by GTN
2 Replies
3386 Views
Last post December 19, 2014, 10:33:23 am
by w5hro

+- Recent Topics

Feature to upload a photo straight when composing a message by SMFHacks
February 04, 2023, 08:13:46 am

Pretty URL's Pro rewriting URLs by [chrisB]
February 01, 2023, 05:18:47 pm

Question before purchase by SMFHacks
February 01, 2023, 03:53:33 pm

Unlimited ending time by Saftek
January 29, 2023, 10:06:26 pm

Converting from Aeva Media by ivanr
January 28, 2023, 10:09:42 am

[Mod] Post Scheduler by bayonetbrant
January 23, 2023, 02:24:09 pm

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by Michael Vail
January 22, 2023, 10:50:23 pm

[Request] Future consideration by [chrisB]
January 18, 2023, 08:42:53 am

Pretty Urls extras by SMFHacks
January 16, 2023, 04:00:57 pm

I don't think its installed correctly by SMFHacks
January 10, 2023, 05:56:21 pm

Powered by EzPortal