SMFHacks.com

SMF Store => Support => Feature Requests => Topic started by: Senkusha on April 23, 2009, 03:56:07 pm

Title: Integrate with SMF Shop
Post by: Senkusha on April 23, 2009, 03:56:07 pm
Hi,

I am wondering if it's possible to integrate SMF Store with SMF Shop.  What i want to do is this:

For each 1,000 "points" earned by SMF Shop, the member get's $1.00 credit that he/she can use towards purchases in the SMF Store.

Can this be done?
Title: Re: Integrate with SMF Shop
Post by: SMFHacks on April 23, 2009, 06:55:03 pm
Would be possible in the future but would need to add a store credit system to the Store in order to get this feature added.
Title: Re: Integrate with SMF Shop
Post by: Senkusha on April 30, 2009, 06:23:03 pm
Do you have any quick ideas where I could start with this.

I think the most logical place would be just before checkout, to have the option to use "Store Credits" to buy merchandise.
Title: Re: Integrate with SMF Shop
Post by: SMFHacks on April 30, 2009, 06:52:30 pm
The shop points are stored in the SMF's member's table.  Yeah I would put in on the checkout page like pay for using store credit. The tricky part would be if you are doing partial payments. Like pay part of the balance with store credit.
Title: Re: Integrate with SMF Shop
Post by: Senkusha on April 30, 2009, 08:22:47 pm
I've just set it up to use up to 50% discount for "credits" for each item.  Now all I need to know is where is the final action either before or after the payment is done, so I can actually subtract the 'points' from the member account.
Title: Re: Integrate with SMF Shop
Post by: SMFHacks on April 30, 2009, 08:27:13 pm
Either function template_shopping_cart() in Store.template.php

Or in Sources/Store.php in the CreatePayPalButton  function

Title: Re: Integrate with SMF Shop
Post by: SMFHacks on May 13, 2009, 11:13:22 pm
Might me more possible I just have taken over development for the SMF Shop mod as well.
Title: Re: Integrate with SMF Shop
Post by: Sweetwater on July 27, 2009, 09:29:15 am
Why not a redemption system. Cash in shop (that name is deceiving) credits for a coupon. Could be run independant of Store. Could just set a "member rewards redemption" topic in a forum.  Just a thought....
Title: Re: Integrate with SMF Shop
Post by: Senkusha on March 11, 2010, 08:35:53 pm
That was kind of the idea I had with integrating with SMF Shop.  Members could have their "Shop Credits" pay for upto 50% of the item's cost.
Title: Re: Integrate with SMF Shop
Post by: lain_ww23 on April 02, 2010, 06:12:47 pm
WoW this funktion is for the future the best i have heart ;) i hope in 2010 it will be done very nice
Title: Re: Integrate with SMF Shop
Post by: prestigehackers on June 28, 2010, 01:18:33 pm
was this ever looked into or was this abandoned? i posted a request for this in the wrong section but im still very interested in getting this running.