vanthan The wallet amount are saved in cents. So if you want the amount to be 10, you need to multiply 10 with 100 = 10000
Instead of 10 * 100, you can also directly write 10000 on that section.
Saurabh Thank you so much for Expresss clearly!
knurillaev seems you want to give $10 to every new customers on your platform.
Not sure it will it is relevant but if you do not want to go through code changes then you can create discount copuan wit flat discount of $10 once per user or may be for first order for every customer only..
Saurabh fyi
just a thought..
knurillaev
Saurabh Sorry sir, i have implemented but not working
raj820601 I agree with you it is not profitable, but I just wanted to learn the code, I can just for 10 cents (or 1 cent)add each new user to the wallet so that the client sees that there is a wallet
raj820601 Except that if we add this code it is the administrator who will take care of the 10$. If it's a coupon it's the restaurant that will take care of the 10$. So it's not the same thing...
Unfortunately we do not yet have the possibility of putting the coupons in our charge.
vanthandoes it work for you? It doesn't work for me
knurillaev working well
Saurabh Thank you, very nifty and useful. Can you help with another line of code for the new registration to auto push a welcome message in the alerts? That will complete the welcome part, pls see if you can help !
kdevdoes this code work for you? You can share the file usercontroller.php?
knurillaev Yes it did work, I simply inserted the code line and thats it. Checked by registering a user, wroked!
@Saurabh @NikhilJain pls advise.. Like auto giving credit in wallet, can we send a single line welcome alert message in notification for new registration?
kdev I guess it can be done let me check that
Saurabh Useful info, need to save for future campaign!
Yes a coupon that would not charge the restaurant but the admin would me great.
Example: we give 5,- away Somebody order 20 USD worth get 5 USD of total user pay 15USD Restaurant will still receives 20USD
tusHedel We should do some customization in backend.
ramesh Your customize Admin Sponsored Stores so useful optionn Bro! Can you share your code bro?
ramesh nice. How to get this sir? Any changes required too on frontend? Tq
bhojmandu @Saurabh @NikhilJain
bhojmandu Disable login with OTP and Check.
bhojmandu bro Register New Account then check in user's wallet