bastikikang

bastikikang supports this item

Supported

This author's response time can be up to 5 business days.

124 comments found.

i add this module and install with your documentation. it does not show in Add-ons of admin. when i open direct with link it open correctly but link does not show in Add-ons. i add code in main.php. what is the problem ?

i did not get your reply bro. where you reply ???

reply sent sorry

yeah now i got thanku very much…

Nipuna

Nipuna Purchased

Hi Basti, I’m having little trouble with my point program, when client checkout as a “guest” system automatically giving them points (in my case 1050). I will send an email with the site details etc… please help.

hi mate

you might be correct as i don’t check if the user is a guest let me check this on my end

Nipuna

Nipuna Purchased

Hi Mate, any update?

here is the quick fixed open the file components/ajaxadmin.php and look for functions placeOrder()

look for POINTS PROGRAM

add the condition if(!isset($this->data[‘is_guest_checkout’])){ the points will be executed only non guest checkout

it should be

if(!isset($this->data['is_guest_checkout'])){ if (FunctionsV3::hasModuleAddon("pointsprogram")){ PointsProgram::saveEarnPoints( isset($_SESSION['pts_earn'])?$_SESSION['pts_earn']:'', Yii::app()->functions->getClientId(), $this->data['merchant_id'], $order_id, $this->data['payment_opt'] ); if (isset($_SESSION['pts_redeem_points'])){ PointsProgram::saveExpensesPoints( $_SESSION['pts_redeem_points'], $_SESSION['pts_redeem_amt'], Yii::app()->functions->getClientId(), $this->data['merchant_id'], $order_id, $this->data['payment_opt'] ); } } }
rmoscat

rmoscat Purchased

Hi,

Error Point

Wed Feb 15 11:29:43.974754 2017 PHP Fatal error: Uncaught exception ‘CException’ with message ‘CAssetManager.basePath ”/var/www/dominio/assets” is invalid. Please make sure the directory exists and is writable by the Web server process.’ in /var/www/dominio/yiiframework/web/CAssetManager.php:138\nStack trace:\n#0 /var/www/dominio/yiiframework/web/CAssetManager.php(123): CAssetManager->setBasePath(’/var/www/domin…’)\n#1 /var/www/dominio/yiiframework/web/CAssetManager.php(217): CAssetManager->getBasePath()\n#2 /var/www/dominio/yiiframework/web/CClientScript.php(511): CAssetManager->publish(’/var/www/domin…’)\n#3 /var/www/dominio/yiiframework/web/CClientScript.php(548): CClientScript->getCoreScriptUrl()\n#4 /var/www/dominio/yiiframework/web/CClientScript.php(349): CClientScript->getPackageBaseUrl(‘jquery’)\n#5 /var/www/dominio/yiiframework/web/CClientScript.php(208): CClientScript->renderCoreScripts()\n#6 /var/www/dominio/yiiframework/web/CController.php(351): CClientScript->render(’<!DOCTYPE html …’)\n#7 /var/www/dominio/yiiframework/web/CController. in /var/www/dominio/yiiframework/web/CAssetManager.php on line 138, referer: http://www. dominio.com/admin

Help…?

rmoscat

rmoscat Purchased

Ok..

“Click here for sample main.php and make sure the folder assets(this is the assets folder for kmrs not the module) is writable or the permission is set to 777”

Completed—Working

Thanks.

glad to hear that mate cheers

geolz

geolz Purchased

I don’t understand how this benefits the merchant?

It would not be better if Karenderia Multiple Restaurant System pays the difference?

Or how it works for the benefit of the merchant?

Because the star here is the merchant

to attract customer? i know the points need some updates

like other customer suggest

geolz

geolz Purchased

Ok thank you, I hope to see better features soon :)

cheers

by
by
by
by
by
by