Hello,
I would like to use CBSUBS system of points when a user see an article. One part FREE and one other not free in same article
I research in fact a tutorial how can help me :blush:
First step
I success to input 1 credit with 1 plans on registration
But it is not possible to descrese credit in same article.
Code:
<p style="text-align: center;"><span style="font-size: 10pt;"> </span>{cb:[cb:if cb_crdits>"0"]</p>
<li style="text-align: center;"><span style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"><span style="font-family: arial;">Dell Inspiron 1501</span></span></li>
<li style="font-family: Arial; font-size: x-small; text-align: center;"><span style="font-family: Arial; font-size: 10pt;">Dell Inspiron 6400</span></li>
<p>[/cb:if]cb:[cb:if cb_crdits>"0"] [cb_crdits= cb_crdits-"1"][/cb:if]}</p>
I would like to create buttom to validate spend of credit for user on one article
Possibility to add some php code?