|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions My own shop |
My own shop |
I make a shop when the user clicks buy, how to make it and buy it take a certain number of coins?
Here's the code for the coins: Code <script> $(document).ready(function() { var novcici = 25*($_BLOG_ENTRIES$+$_BOARD_ENTRIES$+$_COM_ENTRIES$+$_DIR_ENTRIES$+$_FORUM_ENTRIES$+$_LOAD_ENTRIES$+$_NEWS_ENTRIES$+$_PHOTO_ENTRIES$+$_PUBL_ ENTRIES$+$_STUFF_ENTRIES$+$_SHOP_ENTRIES$+$_VIDEO_ENTRIES$+$AWARDS$+$_REPUTATION$) ;$("#rater").text(novcici);}); </script> <img src="http://ludus.ucoz.com/Razno/coins-icon.png" /><span style="font-size:18pt;color:green;"><b><div id="rater"></div></b></span><br><br> Added (2013-05-15, 9:17 AM) |
LeonHaker, I don't understand what you're asking exactly - perhaps provide screenshots. Also keep in mind here on the uCoz Community we do not assist with custom solutions by default, it is up to if someone is willing and able to help.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
LeonHaker, are you meaning to take off a certain number of coins from the user? Unfortunately this wouldn't be possible.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
According to me LeonHaker , you should first activate the E-Shop module which will cost you some money.
|
LeonHaker, if you mean the following situation:
A user has a number of coins which he can use to purchase something and then a certain number is taken out of his account when he does the purchase, then you need to implement it using specialized assistance. This can be done in PHP I believe, and you can ask somebody for assistance in either Russian from here (uCoz Partner) or in English on People per Hour, for example. Of course, a friend is always the best option |
| |||
| |||