29722 comments found.
Hi,
I discovered the following bug. when I make a vendor Featured on home page it breaks the entire home page
https://ibb.co/w0Qb6dtwhy would it do this ? how do I fix it?
thanks
hi mate
there is no such error like this in kmrs
did you change something in the code? or migrated from another server
try to turn on error reporting in index.php it will show what causing the page to not work
ini_set(“display_errors”,true);
I cant find that code anywhere in the index flle
you mean add the above code to sitename.com/protected/views/store/index.php?
found the problem, in index.php line 122
I changed it to this
<?php $cuisine_list=Yii::app()>functions>Vendors(true);?>
where it should say this
<?php $cuisine_list=Yii::app()>functions>Cuisine(true);?>
all good ?
On the next update please provide multiple tax options to tackle the GST or PST problem. Like TAX 1 and TAX 2.
hi mate
its on my update list might be available in new kmrs
Hi Basti,
Sent mail few times regarding a possible security bug with video and steps to reproduce. Haven;t heard from you back, so had to post a comment here. Please check your mail.
Regards
reply sent
Hi Basti,
right now, after web login of the facebook, it shows domain is currently unable to hanle this request HTTP ERROR 500.
And the url is domain/undefined
Need your help.
the domain is test.sanpinmenu.com
hi mate
looks like you modified the file store.js
can yo check the function fb_register
to
function fb_register(object)
{
var fb_params='';
$.each( object, function( key, value ) {
fb_params+=key+"="+value+"&";
});
rm_notices();
busy(true);
var params="action=FBRegister¤tController=store&"+fb_params+"&YII_CSRF_TOKEN="+$("#YII_CSRF_TOKEN").val();
params+= addValidationRequest();
$.ajax({
type: "POST",
url: ajax_url,
data: params,
dataType: 'json',
success: function(data){
busy(false);
if (data.code==1){
load_top_menu();
if(!empty(data.details)){
if (!empty(data.details.redirectverify)){
uk_msg_sucess(data.msg);
if ($("#redirect").exists()){
window.location.href = data.details.redirectverify+"&checkout=true";
} else {
window.location.href = data.details.redirectverify;
}
return;
}
}
if ( $(".section-checkout").exists() ){
window.location.href = $("#redirect").val();
}
if ( $("#single_page").exists() ){
if ((typeof data.details.redirect !== "undefined") && ( data.details.redirect !== null)) {
window.location.href=data.details.redirect;
} else {
window.location.href=home_url;
}
}
close_fb();
} else {
uk_msg(data.msg);
}
},
error: function(){
busy(false);
}
});
}
sir my admin login not working plz help me.
sure mate
send me your website and ftp access i will check
email me here
https://codecanyon.net/user/bastikikang#contactleave a comment here once you send it so i will be notified
cheers
Hello codeking,
Please i need to where and how to add the category image to show at menu 2. I am searching for two weeks know but no resulats pleas pleas til me what to do to add a catgory image to menn
hi mate
edit the file views/front/menu-merchant-3.php
after this line
<?php echo qTranslate($val['category_name'],'category_name',$val)?>
add this
<img src="<?php echo FunctionsV3::getFoodDefaultImage($val['photo'],false)?>" />
Hi codeking, Yes this what i need but it shows food image. i need to add food category image so every category has a difreent image that i add on the food category edit page. Please let me know
Pardon codeking its working thank you very much cheers
welcome
when i add a custom page e.g. Terms and Conditions where do I find the link for the new generated page? and where is the HTML file located so I can modify it /
thanks
hi mate
when you add custom page its saved in database
you can add your html format when you add the custom page
and usually the link is /page/page-slug
and you can assign your custom page to front end by going to assign page
you can assign it on footer as menu
Hi Basti I still need help with the site translation not working .
I used http://phpcodechecker.com/ and no errors on my translation file.
Thanks !
sure mate what seems to be the issue?
did you saved your language file as utf8 format?
It’s working now . I had some extra brackets .
glad to hear that mate
cheers
Hi mate, may I ask for delivery orders.. how can the merchant set for example it takes about 45 mins to deliver? Or in other words customers can only order and pick up the time that is only available from 45mins from their current time? I tried to use 45 mins as interval but then it also means the customers can only choose 45 mins slots which is a bit strange…
Hope you could understand my questions and appreciate your help as always
hi mate
at the moment i remove this functions already cause there is a lot of confusion ,
before the time will start from the estimation time
example current time is 8:00 and merchant estimation is 30mins
so the time will be 8:30am from the list
but many has confuse about this so i remove 
for now you will have to modify the code for this one
you need to add the estimation time from the time list
Hi mate, I’m sorry but would you be able to give any pointers where to change the code, please? As it is quite difficult to not be able to give some estimates… or put x minutes for orders for deliveries..
take a look at the file components/functionsv3.php and look for function getTimeList
this is where i calculated the time list
Thanks … below is what I can see … not sure if the time_start static values has anything to do with this thing not working…
public static function getTimeList($merchant_id=’’, $delivery_date=’‘) { $times = array(); $date_now = date(“Y-m-d”); $time_start = ‘7:30’; $time_end = ‘18:30’; $interval = ‘15 mins’;
$mt_timezone=Yii::app()>functions>getOption("merchant_timezone",$merchant_id);
if(!empty($mt_timezone)){
Yii::app()->timeZone=$mt_timezone;
}
$delivery_day = isset($delivery_date)?date("l",strtotime($delivery_date)): date("l") ;
$delivery_day = strtolower($delivery_day);
if ( $res = FunctionsV3::getOpeningHours($merchant_id) ){
if (array_key_exists($delivery_day,(array)$res)){
$time_based = $res$delivery_day;
if(!empty($time_based)){
}
$time_based_ex='';
if (preg_match("/x/i", $time_based)) {
$time_based_sep = explode("x",$time_based);
$time_based_sep_1 = explode("-",$time_based_sep[0]);
$time_based_sep_2 = explode("-",$time_based_sep[1]);
$time_based_start = $time_based_sep_1[0];
$time_based_end = $time_based_sep_2[1];
}
$time_based_combined = "$time_based_start-$time_based_end";
$time_based_ex = explode("-",$time_based_combined);
} else $time_based_ex = explode("-",$time_based);
}
//dump($time_based_ex);
if(is_array($time_based_ex) && count($time_based_ex)>=1){
$time_start = $time_based_ex[0];
//$time_end = $time_based_ex[1];
$time_end = date("G:i",strtotime($time_based_ex[1]));
/CHECK IF SAME DAY/
if ($delivery_date==$date_now){
$hour_now = date("Gi");
$hour_now_l = date("G:i");
$time_start_1 = date("Gi",strtotime($time_start));
if($hour_now>$time_start_1){
$time_start = $hour_now_l;
}
}
}
sorry am confuse
what you need to do is add the delivery estimation to start_time variable
? Sorry what do you mean.. currently the user just have it like a text showing the ETA of the delivery time… but customers can still book ASAP or in the next 10mins if the interval is 10mins even though the ETA might be 45mins
let me explain
that functions is generating the time list depends on merchant opening hours
example merchant opens at 8:00am to 5:00pm
now the current time is 9:00am
now that functions will generated a time list starting from 9:00am to 5:00pm
so what you need to do is add estimated time example 30mins to 9:00am
so the starting time now should be 9:30 to 5:00pm
Thank you for your kind explanation.. really appreciate it as always. The only issue I am facing is when I tried the method, it then gives the customer to choose the time as
9:30 10:00 10:30 11:00….
Which isn’t correct.
you mean it does not work ?
Not really… the estimate should only apply to for example if it takes 45mins to prepare.. And my time is 10am.. it should give me
10:45 10:50 10:55 11:00
And so on if the interval is set to 5mins
that should how it work if you only do the correct code 
I haven’t change the code so I am using your code.. however what happens is that it gives me
10:45 11:30 12:15 13:00
So it is using the interval of 45mins instead of 5mins..
mate please verify this the interval time should be working just fine
its only adding time to current time
take note it will start from the current time
exampe now is 10:05 +10mins = 10:15
Hi mate, it adds to t he current time as well as the subsequent times after that..
Hello mate.. i need to add extra fee like service app charge 1 $ on amount total for each order https://ibb.co/Q95Tf44 this fee i want to charge for every order please mate it is important for me to help me or if you need extra pay i will give you.please
hi mate
adding this new fee will require changes in db and cart computation
means web and mobile app cart computation will be change
better wait for next update since i might add this one
for customization right now am not really available
need to finish the new addon first
Mate thank you for answer … may I know how the new update will be released ? And I need this extra fee for just mobile . Let me know please …
hi mate
am trying to finish the multi currency in february and the this new addon i have many changes in kmrs so every one should update the kmrs to work with multi currency
and this might be added
hopefully it will be in february
cheers
Hello my friend
how the discount coupon works. The company’s page mentions the discount coupon, but there is no information about the discount in the cart.
Example I created a coupon valid until 31.01.2021, it will give 5 dollars discount for every purchase but it does not. I’m not talking about the offer percentage discount as price.
hi mate
what do you mean?
its very basic once you add apply the voucher in your code it should less the amount
take note that voucher is not enabled by default
you need to enabled this under merchant settings
Hello friend, I added the discount coupon from the business panel. -> http://prntscr.com/xldcqr
The coupon appears on the promotions page on the web page -> http://prntscr.com/xldfiv
Cart has no status showing discount -> http://prntscr.com/xldgpy
hi mate! i’m having this problem: i add products to cart, and then if i change the date (next day for example) my cart gets empty. should this happen? thanks
sorry but did you purchase?
Mail Sent
sent
Sent
sent
Sent
sent
Hi Basti
I am having some issues with translation. The site was translating fine before but now it is not . The mobile site translation is working fine but not the website . I checked the default file and there are no issues or errors.
Please help .
hi mate
translation of yii is standard
check your language file
at the end it should have
return $lang;
if you remove this your language file will not work
Hi Basti
I need help with a customized payment gateway. Please let me know.
Thanks !
hi mate
sorry at the moment am not really available 
need to finish first the new addon multi currency
Hi mate when multicurrency add on will be available ?
my target is on february am focusing on development so i can release this new addon
so you may not see me often answering question here
Hello Basti, how can I disable contacts between merchant and customers? (contacts that have been established on order)
hi mate
sorry what do you mean?
can you provide screenshot what are this
Sent you email. Please check 
hi mate
is your question regarding merchant app 2?
if yes please update your modules and use the latest merchant app files
there is no issue when you close the app once you open it should be login as always
[21-Jan-2021 07:52:51 America/Chicago] PHP Warning: Version warning: Imagick was compiled against Image Magick version 1654 but version 1650 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0 [21-Jan-2021 07:53:40 America/Chicago] PHP Fatal error: Uncaught exception ‘CHttpException’ with message ‘The CSRF token could not be verified.’ in /home2/lavangbiryanicor/public_html/protected/components/HttpRequest.php:54 Stack trace: #0 /home2/lavangbiryanicor/public_html/yiiframework/base/CComponent.php(561): HttpRequest->validateCsrfToken(Object(CEvent)) #1 /home2/lavangbiryanicor/public_html/yiiframework/base/CApplication.php(212): CComponent->raiseEvent(‘onBeginRequest’, Object(CEvent)) #2 /home2/lavangbiryanicor/public_html/yiiframework/base/CApplication.php(183): CApplication->onBeginRequest(Object(CEvent)) #3 /home2/lavangbiryanicor/public_html/index.php(62): CApplication->run() #4 {main} thrown in /home2/lavangbiryanicor/public_html/protected/components/HttpRequest.php on line 54
hi mate
you cannot login to your admin panel?
looks like your server session does not work properly
try changing your php version to 7 or php 7.2
i have changed 7, 7.2, 7.3 same . i have send you login details please see
reply sent
Hi
Please do you have the spanish translate file, please can you sent to me.
sorry i don’t have one 
Hello Basti, I just had a few questions. 1.What does ABN mean. 2. What does commission+invoice mean and only commision 3. What is the use of the two flavours option. (is it just for pizza stores) 4. On Mobile site add ons are not alligned 5. What do you mean by Banner Enabled. 6.What do you mean european taxx system. 7. Is the code configured for OTP using twillio via email and phone number and push?
There are several other questions and I totally understand your busy working on an update. But if anyone can respond to these I would really appreciate it.
hi mate
1. don’t mine this , this is needed in country australia
2.
membership = this means all payment will receive by merchant directly and merchant will need to set the payment settings in merchant panel
commission = this means all payments will go to admin/website owner and the payment settings will be use is in admin panel
commission+invoice = same as membership and they will receive invoice that they need to pay to website owner
also this i notice in customer when you go to admin -> edit merchant -> payment settings tab this means disabled not enabled
3. if your not from country brazil don’t mine this , this options is working only for brazil
they have specific type of 2 flavor computation there is left and right flavor the max price choose from the flavor will be the final price of food
4. please provide screenshot
5. this is for mobile app 2 will use slider banner instead of fixed banner
6. dont mine this it has different computation only works in some euro countries
7. for website you will use twilio or any available sms gateway
for mobile app you can use firebase OTP
Screenshot for number 4.
Version2.foodtransit.Ca