This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
joomla30:lovefactory:memberships [2016/09/29 09:55] sorin [Memberships] |
joomla30:lovefactory:memberships [2017/06/16 10:06] sorin [Memberships] |
||
---|---|---|---|
Line 52: | Line 52: | ||
\\ | \\ | ||
If you are experiencing issues with permissions, resave your memberships after enabling the **Update all sold memberships** option. | If you are experiencing issues with permissions, resave your memberships after enabling the **Update all sold memberships** option. | ||
+ | |||
\\ | \\ | ||
+ | |||
+ | **(!)** **If you want to customize your memberships page, by adding more details regarding your offers**, go to **/components/com_lovefactory/views/memberships/tmpl/default.tpl** and look for: | ||
+ | \\ | ||
+ | <code> <table class="memberships"> | ||
+ | |||
+ | <thead> | ||
+ | |||
+ | <tr> | ||
+ | |||
+ | <td></td> | ||
+ | |||
+ | {foreach $items as $item} | ||
+ | |||
+ | <th>{$item->title}</th> | ||
+ | |||
+ | {/foreach} | ||
+ | |||
+ | </tr> | ||
+ | |||
+ | </thead> | ||
+ | |||
+ | |||
+ | |||
+ | <tbody> | ||
+ | |||
+ | {foreach $features as $feature => $key} | ||
+ | |||
+ | <tr class="{cycle values=",alternate"}"> | ||
+ | |||
+ | <th> | ||
+ | |||
+ | <i class="factory-icon icon-membership-feature-{$feature}"></i> | ||
+ | |||
+ | {jtext _="memberships_membership_features_"|cat:$feature} | ||
+ | |||
+ | </th> | ||
+ | |||
+ | {foreach $items as $item} | ||
+ | |||
+ | <td> | ||
+ | |||
+ | {if isset($item->features[$feature])} | ||
+ | |||
+ | {$item->features[$feature]} | ||
+ | |||
+ | {/if} | ||
+ | |||
+ | </td> | ||
+ | |||
+ | {/foreach} | ||
+ | |||
+ | </tr> | ||
+ | |||
+ | {/foreach} | ||
+ | |||
+ | </tbody> | ||
+ | |||
+ | </table> </code> | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | To add your own text check out the next example: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | <code> | ||
+ | <table class="memberships"> | ||
+ | |||
+ | <thead> | ||
+ | |||
+ | <tr> | ||
+ | |||
+ | <td></td> | ||
+ | |||
+ | {foreach $items as $item} | ||
+ | |||
+ | <th>{$item->title}</th> | ||
+ | |||
+ | {/foreach} | ||
+ | |||
+ | </tr> | ||
+ | |||
+ | </thead> | ||
+ | |||
+ | |||
+ | |||
+ | <tbody> | ||
+ | |||
+ | {foreach $features as $feature => $key} | ||
+ | |||
+ | <tr class="{cycle values=",alternate"}"> | ||
+ | |||
+ | <th> | ||
+ | |||
+ | <i class="factory-icon icon-membership-feature-{$feature}"></i> | ||
+ | |||
+ | {jtext _="memberships_membership_features_"|cat:$feature} | ||
+ | |||
+ | </th> | ||
+ | |||
+ | {foreach $items as $item} | ||
+ | |||
+ | <td> | ||
+ | |||
+ | {if isset($item->features[$feature])} | ||
+ | |||
+ | {$item->features[$feature]} | ||
+ | |||
+ | {/if} | ||
+ | |||
+ | </td> | ||
+ | |||
+ | {/foreach} | ||
+ | |||
+ | </tr> | ||
+ | |||
+ | {/foreach} | ||
+ | |||
+ | <tr> | ||
+ | |||
+ | <th>FeatureName</th> | ||
+ | |||
+ | <td>Value for first membership</td> | ||
+ | |||
+ | <td>Value for second membership</td> | ||
+ | |||
+ | <td>Value for thrid membership</td> | ||
+ | |||
+ | </tr> | ||
+ | |||
+ | </tbody> | ||
+ | |||
+ | </table> | ||
+ | </code> | ||
===== Prices ===== | ===== Prices ===== | ||
\\ | \\ | ||
Line 60: | Line 197: | ||
{{gallery> joomla30:lovefactory:prices.png?999x999 }}\\ | {{gallery> joomla30:lovefactory:prices.png?999x999 }}\\ | ||
\\ | \\ | ||
- | Clicking on **New** allows you to add add price properties to the available memberships.\\ | + | Clicking on **New** allows you to add price properties to the available memberships.\\ |
Select the membership you wish to add the price settings and then if you wish to publish that pricing plan.\\ | Select the membership you wish to add the price settings and then if you wish to publish that pricing plan.\\ | ||
\\ | \\ | ||
- | The **Trial membership** option allows you to add the new membership pricing as a trial, this is available so that you can let users test a membership, for free. After it expires they revert back to their previous membership (if still active, otherwise the default is applied).\\ | + | The **Trial membership** option allows you to add the new membership pricing as a trial. This is available so that you can let users test a membership, for free. After it expires, they revert back to their previous membership (if still active, otherwise the default is applied).\\ |
\\ | \\ | ||
A setup suggestion would be creating a couple of pricing plans for the same membership and also a trial, let's say with a duration of 24 hours.\\ | A setup suggestion would be creating a couple of pricing plans for the same membership and also a trial, let's say with a duration of 24 hours.\\ | ||
Line 90: | Line 227: | ||
{{gallery> joomla30:love:prices4.png }}\\ | {{gallery> joomla30:love:prices4.png }}\\ | ||
\\ | \\ | ||
- | Clicking on the **Options** button will trigger a popup window from which you can change the used currency.\\ | + | Clicking on the **Options** button will trigger a pop-up window from which you can change the used currency.\\ |
\\ | \\ | ||
**Set prices for each gender** allows you to add different prices depending on the gender or one price for all genders. This will change the price properties section and add multiple fields for each gender.\\ | **Set prices for each gender** allows you to add different prices depending on the gender or one price for all genders. This will change the price properties section and add multiple fields for each gender.\\ | ||
Line 97: | Line 234: | ||
\\ | \\ | ||
In case you enabled **Set prices for each gender**, additional fields will become available when creating/editing a pricing plan.\\ | In case you enabled **Set prices for each gender**, additional fields will become available when creating/editing a pricing plan.\\ | ||
- | You will be able to add a different price for each gender or to make it unavailable.\\ | + | You will be able to add a different price for each gender or make it unavailable.\\ |
\\ | \\ | ||
{{gallery> joomla30:love:prices6.png }}\\ | {{gallery> joomla30:love:prices6.png }}\\ | ||
Line 106: | Line 243: | ||
{{gallery> joomla30:love:buymembership.png }}\\ | {{gallery> joomla30:love:buymembership.png }}\\ | ||
\\ | \\ | ||
- | Once clicking on the price it will redirect the user to select the gateway and the period of availability of selected membership.\\ | + | Once clicking on the price will redirect the user to selecting the gateway and the period of availability of the selected membership.\\ |
\\ | \\ | ||
{{gallery> joomla30:love:buymembership2.png }}\\ | {{gallery> joomla30:love:buymembership2.png }}\\ | ||
Line 112: | Line 249: | ||
\\ | \\ | ||
---- | ---- | ||
- | **(!)** Documentation based on **Love Factory** version **4.4.0** | + | **(!)** Documentation based on **Love Factory** version **4.4.9** |