Jump to content

cart.php product overview - shop groups


cluster

Recommended Posts

I would like to show all the hostings in the product overview >>
/cart.php

currently only this is displayed:
Product Type: Hosting Account
Product Group: Hosting Packages

I have e.g. Joomla and Wordpress Packages created as an extra group:
Product Type: Hosting Account
Product Group: Joomla Packages
and
Product Type: Hosting Account
Product Group: WP Packages

would it be possible to display all of these on the cart page?

Edited by cluster
Link to comment
Share on other sites

4 hours ago, cluster said:

I would like to show all the hostings in the product overview - would it be possible to display all of these on the cart page?

it might be helpful to see some screenshots of what you're seeing to fully understand what you want to do. :idea:

by default, WHMCS will show the products within the first product group, and then to access additional product groups, you click the link in the categories sidebar (i'm assuming standard_cart in use here)...

so you want to show products from Joomla & WP product groups on the opening page? if so, and assuming there are no setting differences between the groups (different cart templates or payment gateways etc), the simplest way would just be to move the products in the other groups to the first product group... now I don't think you can move products between groups in the admin area, so it would likely need to be a quick edit of the group value in the tblproducts database table.

the other way would be an action hook to expand the $products array to include products from these other groups - but moving the products would be simpler! :)

Link to comment
Share on other sites

thank You, I have moved the CMS packages to the main group ;-)

ok, now I have a free hosting package which use another order template without transfer and own domain name fields ...

so it is assigend to a special group "FreeHosting" ... which it would like to desplay with the standard hostings above

is there a way to add a query or variable for the FreeHosting group to the template?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated