I do not use the reward points so I am not sure what would be best for you ...
Perhaps ask on the support threads for the Reward Point add on that you are using ...
Type: Posts; User: Ajeh
I do not use the reward points so I am not sure what would be best for you ...
Perhaps ask on the support threads for the Reward Point add on that you are using ...
You are most welcome and thanks for the support! :smile:
Try adding:
// disable for one master_categories_id
global $cart;
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','2') > 0)) {
$this->enabled = false; ...
Put the code back in ... when you get the white page, go to your /cache directory and refresh ... and see what the debug logs say ...
Customize the file:
/includes/modules/payment/paypalwpp.php
and add the new code below:
$this->enabled = (MODULE_PAYMENT_PAYPALWPP_STATUS == 'True');
Let's say you were doing this with Check/Money Order moneyorder you could try the code in RED:
$this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true : false);
// bof:...