mintblau media
Will Strohl
2017-07-05T17:42:42Z
Hello Patrice:

You can absolutely do this, but it will require a tiny bit of development to make it happen. First, you'd use the reward points feature and repurpose it for this use case.

https://support.upendove.../209118766-Reward-Points 

You'd want to have a product that is called whatever these credits are called, and the quantity would be the number of points they're ordering. You'd also have reward points enabled and update the settings, localization, and views to correctly display the point system name and branding.

Whenever a customer purchases the points product, the quantity and/or the dollar amount would end up directly relating to the number of points the customer has access to use during checkout.

There will also be a few other things that you'd have to do. For example, you'd want to think through whether the customer goes through the standard checkout experience when purchasing products with credits (reward points) or not, and what additional work with it require for your team either way. You'd also likely have a custom user experience that's different in browsing and purchasing that's different between the credit products and the reward points product.

Finally, you'd also want to implement a user experience to show and/or notify customers of when their points need to be used before they expire. You can use a combination of a scheduled job and viewset updates to accomplish this. The database schema already includes the transaction date, so you can use that to determine the expiration date as well. The scheduled job would then not only change the user experience, but also expire points.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Kurt
  •  Kurt
  • 78.25% (Friendly)
  • Member
2017-07-06T11:04:49Z
Will, can you please explain in an understandable way how you do it? In babysteps OR a video!
mintblau media
2017-07-06T12:55:01Z
Awesome, thanks Will, we will let you know how it went if client excepts the project.

@Kurt: I don't think Will is going to put together a step by step manual for you. Get to know the software, get your hands dirty, then ask specific questions later. If you're not a developer, find one - otherwise this is not for you. Cheers.
MooreCreative
2017-07-09T02:33:37Z
I was going to reply similar, that the Rewards system within Hotcakes would be perfect for a points-based membership system.

You could also do some custom development to create managers and a way for you to assign points to users in a separate database table and have those as items you purchase within the cart such as a 1000 points product... then you can keep track of adding/subtracting points to the users values in this table. My company's approach is to combine Hotcakes and XMod Pro for development projects like this.

Otherwise, I would wonder about the points aspect, perhaps there's another more simple way to approach too? You can very easily do subscription length and role level based management through the CMS and therefore within Hotcakes too. You may have your mind set already on points, but I might also encourage you to consider perhaps pricing level discounts (which HC Price Groups and the CMS Roles can also do for you) where the user pays different levels for items, or per item after a base monthly or annual subscription... plenty of ways to approach the idea.
Will Strohl
2017-07-11T17:13:31Z
Originally Posted by: Kurt 

Will, can you please explain in an understandable way how you do it? In babysteps OR a video!



Hello Kurt:

I'd definitely like to, but as Patrice pointed out, doing it is not necessarily something that would help everyone. There are many different directions that one might need to take this to accomplish the use case. In my experience, every single e-commerce site is built completely different. So a step-by-step tutorial or video could appear to be quite misleading to a large number of people - causing them to think that "Hotcakes sucks," or "it can't do that." In reality, if they took the time to just get to know the software a bit, they'd realize just how flexible it really is.

For anyone reading this, I'd instead suggest building a proof of concept towards an actual set of requirements, then ask specific questions here about how to get over any speed bumps.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Will Strohl
2017-07-11T17:16:24Z
Originally Posted by: MooreCreative 

I was going to reply similar, that the Rewards system within Hotcakes would be perfect for a points-based membership system.

You could also do some custom development to create managers and a way for you to assign points to users in a separate database table and have those as items you purchase within the cart such as a 1000 points product... then you can keep track of adding/subtracting points to the users values in this table.



Ryan, you made me think of even another approach that could be used if the reward points system can't be used. For example, you might already be using it for it's original intended purpose. In this case, you could indeed use another data source and/or external provider to keep track of "credits" and build a custom payment method to communicate with that provider. The rest of my previously suggested approach would remain the same.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Adrian
  •  Adrian
  • 89.5% (Honored)
  • Advanced Member
2017-08-02T15:35:47Z
I only see one downside to rewards, It likely would be tied to a specific account.

A much easier solution to this, would be to create a promotion with a 1 time use coupon code. You could then email this in a nicely design email with your own creative wording.

And no development needed!
Bada-bing bada-boom
Will Strohl
2017-08-02T20:29:17Z
Originally Posted by: Adrian 

I only see one downside to rewards, It likely would be tied to a specific account.

A much easier solution to this, would be to create a promotion with a 1 time use coupon code. You could then email this in a nicely design email with your own creative wording.

And no development needed!
Bada-bing bada-boom



There isn't a one-time-use coupon feature yet. Just "coupon" at the moment. But that was always on the roadmap to add.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Adrian
  •  Adrian
  • 89.5% (Honored)
  • Advanced Member
2017-08-02T20:54:20Z
Dang, almost nailed it.

Well, seems pretty useful and nice to have.

Either way, little bit of programming could make this one a little easier with a on order complete action delegate extension.

Thanks!
Adrian
  •  Adrian
  • 89.5% (Honored)
  • Advanced Member
2017-08-03T07:02:18Z
Perhaps something like this could let you check on whether coupon code was used...

int CouponUsedCount = Factory.CreateRepo<OrderCouponRepository>(HccApp.CurrentRequestContext).GetUseTimesForStore("{CouponCode}", HccApp.CurrentStore.Id);
Will Strohl
2017-08-04T18:03:47Z
There's certainly custom code that could be put into the viewsets and/or integration pipeline to look for and run logic against coupon codes, but it would all be custom for this use case at this point in time. There's no reason why someone shouldn't do it though. It's a great option to have.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Loading
  • Sign-up for the Hotcakes Community Newsletter: