Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajukumargupta/whmcsbundleproductremove
when a customer order a bundle product remove a product from cart . This hook will remove other product as well
https://github.com/rajukumargupta/whmcsbundleproductremove
Last synced: 10 days ago
JSON representation
when a customer order a bundle product remove a product from cart . This hook will remove other product as well
- Host: GitHub
- URL: https://github.com/rajukumargupta/whmcsbundleproductremove
- Owner: rajukumargupta
- Created: 2018-07-15T14:50:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-28T09:08:12.000Z (about 2 years ago)
- Last Synced: 2024-08-01T12:23:08.377Z (3 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# whmcsbundleproductremove
when a customer order a bundle product remove a product from cart . This hook will remove other product as wellCreate a hook file inside whmcs hook folder. i.e whmcsrootfolder/includes/hooks/removebundlercart.php and put this code to file.
$products) {
if ($bundleproduct == $products['bnum']) {
unset($_SESSION['cart']['products'][$key]);
}
}
}
?>