BAJI26
Retired Forum Member-
Posts
1000 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by BAJI26
-
I dont see it, what does it say?
- 41 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"); ?>
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
@brian! Hi Brian, any progress on the addon?
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
-
@brian! Drop me a link when you complete it!
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Cool... I'll wait then... Thanks!
- 41 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!
- 41 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.??
- 41 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!
- 41 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?
- 41 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?
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Looking Awesome!
- 41 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?
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
I sent you a PM!
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Yes,I wanna get it working first then I'll play and learn.... I don't have that [highlight]$myproducts[/highlight] in the debug window
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
What should I look for in the pop-up page after I added {debug}?
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
I did put in the gid and also just used the last snippet above and the site still renders blank page... none accessible! I removed the last line add_hook("ClientAreaPage", 1, "homepage_products_hook"); and the site comes back...
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Hi, this is what my hook php file looks like: <?php $products = Capsule::table('tblproducts') ->join('tblpricing', 'tblproducts.id', '=', 'tblpricing.relid') ->select('tblproducts.*','tblpricing.*') ->where('tblproducts.gid', 'x') ->where('tblpricing.type', 'product') ->get(); ?> But it makes my site blank...
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Where do I put that code and how to add it to the custom page to show the particular price, description?
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
It belongs to the same group...
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Its a pricing table for hosting plans, if I use the javascript data feed it slows the page down dramatically because I have 4 plans on one page.
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
I'm not a coder, can you show me a sample? Thanks!
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Is there a way to show the product name, product price and product description on custom whmcs page without using the javascript data feed?
- 41 replies
-
- custom whmcs page
- product description
-
(and 1 more)
Tagged with:
-
Look like I'm going to bailout too! http://www.digitalfaq.com/editorials/websites-blogs/hostgator-alternatives-eig-pt1.htm
