BAJI26
Member-
Posts
1000 -
Joined
-
Last visited
-
Days Won
1
BAJI26 last won the day on October 29 2016
BAJI26 had the most liked content!
About BAJI26
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
BAJI26's Achievements
Senior Member (3/3)
1
Reputation
-
I dont see it, what does it say?
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
@brian! Hi there, digging up an old post here bud. Based on the Hook below how can I get the pricing options so that when the client chooses a price option and click buy that chose get transferred to the cart! <select name="billingcycle" class=""> <option value="monthly">1 Month - $15.99</option> <option value="quarterly">3 Months - $47.97</option> <option value="semiannually">6 Months - $95.94</option> <option value="annually">1 Year - $191.88</option> </select> <?php use Illuminate\Database\Capsule\Manager as Capsule; function RG_cloud_hosting_hooks($vars) { if ($vars['templatefile'] == "cloud_hosting") { $myproducts = Capsule::table('tblproducts') ->join('tblpricing', 'tblproducts.id', '=', 'tblpricing.relid') ->select('tblproducts.*','tblpricing.*') ->where('tblpricing.type', 'product') ->where('tblproducts.hidden','0') ->where('tblproducts.gid', '36') ->groupBy('tblproducts.id') ->get(); $encodedata = json_encode($myproducts); $decodedata = json_decode($encodedata, true); return array("myproducts" => $decodedata); } } add_hook("ClientAreaPage", 1, "RG_cloud_hosting_hooks"); ?>
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
@brian! Hi Brian, any progress on the addon?
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
-
@brian! Drop me a link when you complete it!
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Cool... I'll wait then... Thanks!
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
In WHMCS Admin you can put extensions on [highlight]sale[/highlight], I only want to display 6 manually chosen extensions with their prices. Like I have on my homepage!
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Question: Is there a way to have just enter the smarty tag with the product ids.... like for product 1= {$myproduct.pid=18}, product 2= {$myproduct.pid=19} So if I have more than one groups on the page I can just enter the PID for the product.??
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
I wanna use it for my homepage where I have those 6 or so domains!
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
I've done a few pages so far but I have a page with 2 groups, so I did this ->where('tblproducts.gid', '13,2') but group 2 doesn't show! How can I have 2 groups on 1 page? Also how to show the domain pricing on homepage?
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Thanks! So I can use what you did and apply it to other pages just create another hook php file correct?
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Looking Awesome!
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Ok! Thanks! Exactly what I wanted! I've used <span>${$myproducts.0.monthly}</span>/Monthly on the different packages and just changed the 0 to 1 and it will show for the next package which worked for 3 of the 4 but the 4th package no price shows... What is that number in relation to the product itself?
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
I sent you a PM!
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
- 40 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with: