29719 comments found.
Basti,
Having a Maps issue. The distance calculated by the site is not the distance calculated by Google Maps. In some instances it is 4 miles and would have put the restaurant into another tier on the Deliver Charge Table.
hi mate
am using direct calculation for the new theme
remember google has many different route like driving, walking , transit etc and it has also direct calculation or straight line calculation
i have found these new calculation over the net as its more effective and its calculating between 2 points
thanks
So, I could change it to use DRIVING instead of DIRECT calculation? If so, where do I do that?
yes the old version is using driving and you will have to update some codes to use the old functions for getting distance
on second thought i might add an options for this on admin settings to use direct on driving , transit etc
thanks
That would be GREAT! But, could you tell me what to change so I can fix it before we open? I need this to be correct.
hi mate
you can check the old functions for getting the distance on functions.php look for the functions getDeliveryDistance2
and the new functions for getting distance is functionsv3.php and look for the functions getDistanceBetweenPlot
thanks
How would I make the new version use the old method? Where do I make the change to make the code use getDeliveryDistance2 instead of getDistanceBetweenPlot?
you can just hack the new functions getDistanceBetweenPlot to use the old getDeliveryDistance2
So I did this, and it works well, but now, the search results are not limited to the 15 Mile radius set on Admin. Is there another place I need to adjust the code?
I thing I found the code, but I am unsure how to edit it as it is wrapped in a MySQL statement. Any help?
Basti, I think this is the code:
$stmt=” SELECT SQL_CALC_FOUND_ROWS a.*, ( $distance_exp * acos( cos( radians($lat) ) * cos( radians( latitude ) ) * cos( radians( lontitude ) – radians($long) ) + sin( radians($lat) ) * sin( radians( latitude ) ) ) ) AS distance, concat(street,’ ’,city,’ ’,state,’ ’,post_code) as merchant_address FROM {{view_merchant}} a HAVING distance < $home_search_radius $and $sort_combine LIMIT $page,$per_page ”;
It is using the “as the crow flies” method to calculate the distance, but I need it to use the Google Distance Matrix for driving. I can construct MySQL queries, but I taught myself, so I do not know how to change it.
Any help would be GREATLY appreciated!
yes your correct i think you better wait for the new update as i will add these options so you can choose what calculation to use
thanks
LOL! Okay. You are probably correct. That’s beyond my hacking ability.
Another note though, how do I fix the CSS to make my Featured Restaurants line up correctly?
Thanks!
yeah is very hard to explain as there so many changes to be done 
can you send me your website url so i can check the css ?
thanks
<p><?php echo $address?></p>
and change it to
<p class="concat-text"><?php echo $address?></p>
thanks
PERFECT AS USUAL!!! Thanks!!
cheers 
Basti, the new version still uses direct line calculation when doing a search. Even though restaurants are more than 15 miles away using Google Maps API, the site shows them in the list of search results. I need to change the code:
$stmt=” SELECT SQL_CALC_FOUND_ROWS a.*, ( $distance_exp * acos( cos( radians($lat) ) * cos( radians( latitude ) ) * cos( radians( lontitude ) – radians($long) ) + sin( radians($lat) ) * sin( radians( latitude ) ) ) ) AS distance, concat(street,’ ’,city,’ ’,state,’ ’,post_code) as merchant_address FROM {{view_merchant}} a HAVING distance < $home_search_radius $and $sort_combine LIMIT $page,$per_page ”;
So that it will use the Google Maps API for Driving like I have it set to do.
Thanks.
technically you cannot do that on this query that is the standard query
you will have to approach it on the looping then get the distance between user address and merchant address using google api driving
thanks
Ok. So I have to hack this one out? Will do.
yes you have to loop it just before it returns
add a look after these if ($res=$DbExt->rst($stmt)){
and you will need to get the distance and remove the merchant on the list if not match with the distance
Okay, Basti. Thanks!
I set up the new theme and activated google api but got this error. please check via ftp for me thanks mate.
www.universalgrub.com/api error.jpg
enabled Google Maps Distance Matrix API, Google Maps Geocoding API and Google Maps JavaScript API in your google developer account
I did mate and still getting error message. please fix this via ftp for me. dont understand why it isnt working.
sorry mate i cannot fixed this cause these is on api settings google project or you can just remove the api key you have entered
can you at least point me in the right direction because it has never happened before to me.
when you create a google project
the api should be enabled are the following Google Maps Distance Matrix API, Google Maps Geocoding API and Google Maps JavaScript API
you can search on google am sure you will find an answer with screenshot
I just deleted my project and recreated one. I enabled all the three api’s and created an api browser key which i placed within geocoding api admin section but still not working. something to do with code mate as this error isnt with google map api console. i tripled checked mate. please check code for me just to make sure i am not loosing my mind here haha. thanks 
its not my code mate take a look at the demo
its working on other buyers
Hi,
I am about to purchase your script, but can you explain more about usage limit and unlimited? Because it confused me since there are also limit on number of food can add and merchant sell? If you limit on number of food can add and merchant sell which they already mean usage limit already, so usage limit/unlimit should be not useful feature right? Thanks
hi mate
thanks for the interesr
i just realize its confusing too
the label should say usage or post
this means merchant can post food item unlimited or limited
usage and Number of Food Item Can Add is a pair of condition
thanks
Hi basti, I love the update, so I was checking my website on my phone and the special characters dont appear the right way only on the computer how can I fix that?
hi mate
thanks really appreciate 
can you send screenshot?
Hi mate:
My mobile app is not sending push notifications i follow all your instructions but is not working. Can you check? All broadcast still pending.
hi mate
you forgot to run the cron jobs in your server
you can find all the cron jobs to run on tab cron jobs
thanks
i run both cron jobs but is not working.
if the status of the push is pending it means your cron does not run
you can try running the cron manually in your browser
and btw next time ask the question on proper item this is concern on mobile app then ask your question on mobile app
thanks
Ok sorry for that. My other question is i am trying to upload the ios push certificate but why cant accept .cert o .p12 extension?
hi mate
its ok
i just want to make the question on proper sections cause am reading them again if i missed something
and for the certificate it should be .pem file
p12 is the file you will upload on build.phonegap and you need also profile provisioning
thanks
Is there a way to prevent the use of valore as 99999 in the amount of item? Both the back and front-end ?
what do you mean?
The user can set a Quantity of 99999999 this causes a bug. Is there a way to limit Quantity ?
you can add maxlength properties on the fields
like maxlength = 4
thanks
Hi Basti Just notice something. check out delivery and Pickup time selection should be between opening and closing time of merchant at the moment customer can select any time and get error message. Please note it for your future update. Thanks
hi mate
please verify that you set the timezone on admin -> settings
remember your time is different from your server time
thanks
hi! thank you for a website! very nice job, i’ve 2 problems. i don’t found a cookie bar in setting, and i’ve problèm with a mobile logo, 1 or 2 times a day, the logo comeback to the initial setting, (karenderia).... can you help me?
- Can i change a front image with a vidéo?
hi mate
thanks 
you can find the cookie settings on admin -> theme settings if you cannot find the menu theme settings then edit your admin and tick the access to theme settings
and for the logo there is 2 kinds of logo on version 3 desktop logo and mobile logo you can find these on admin -> settings
thanks
hi basti,
great work on the new theme!
I have not tested much but found these problems so far:
1. mysite.com/update shows blank page. not working. clean install working fine
2. new added language not listed on the selection bar at the front end.
where can I get the language pack for english? need to do translation from english rather than spanish or any others. neither the blank one.
thanks
more questions:
1. is there any way for merchant to enable or disable online ordering? catalog only and receive table booking only
2. disable table booking. receive online order.
my question is for per merchant setting. not globally
thanks
hi mate
thanks 
1. you have might missed some of the files to see what is the error coming from on index.php turn on the error reporting
ini_set(“display_errors”,true);
2. you will have to set the new language added admin -> manage language -> settings ->Set Language
there is no language pack for english as the default is already in english you can just translate all the words mt_language_file.php with your desired english words
second question
1. merchant -> settings -> Disabled Ordering
2. merchant -> table booking -> settings
tanks
thanks for responding, bro.
all okay, except for no 1
Strict Standards: Non-static method Widgets::analyticsCode() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxx/protected/views/layouts/front_header.php on line 23
error message appear on the front end top page
Strict Standards: Declaration of AdminController::beforeAction() should be compatible with CController::beforeAction($action) in /home/xxxxxx/public_html/xxxx/protected/controllers/AdminController.php on line 9
error message appear on the admin login page. can’t login
thanks
Hi Bastikikang, I’ve error of Google API KEY
I already create “API Project” and enable – Google Maps Distance Matrix API, – Google Maps Geocoding API, – Google Maps JavaScript API in my google developer account
I created my credential with servery key and I fill the key on Google Api Key but i always get the error
Please advise me to fix this problem. Thank you in advance
hmmm if you enabled those 3 apis then you should not see any error coming from google. you can check my demo
btw what is the error message?
thanks
Extra,
Is it possible to have feature of food item template. 1. For merchant, It’ll be easy to add Food Item. Such as, I prepare the food item for merchant, if merchant would like to add food item menu to their menu, just copy and them got new food item menu.
yes i know i have this error too if my api is not correctly set up
you can use my api key on my demo see it will work
thanks
Hi Basti How do you do? I have one problem. How do I remove contact, home, and restaurant signup, menu from header. If I disable from theme section whole page cant bee seen so I would like to remove from top and put it on bottom. Hope to hear from you soon. thanks
hi mate
am good thanks 
you cannot remove home on theme settings you will have to modify the code for that
open the file components/functionsv3.php and look for the functions getTopMenuActivated
and putting them on the footer you will need to modify the functions you can achieve these on admin -> Custom page -> add new custom link
thanks
What about if I just want remove contact n restaurant signup from top I tried to edit function 3 but no luck If I disable from theme settings custom link also doesn’t work
Hi Basti Just notice something. check out delivery and Pickup time selection should be between opening and closing time of merchant at the moment customer can select any time and get error message. Please note it for your future update. Thanks
edit the file components/functionsv3.php and look for the functions getMenu
and for the time issue i have already replied in your other comment
thanks
My website time is fine n it’s working correctly but I’m talking about different issue like when we go to check out and select delivery or collection after that when we pickup time it shows all the time from 00 to 23 so is it possible to show only restaurant opening time like from 6pm to 11 pm. Let’s say if customer place pre order at 2am at mid night he will have option to choose time for 2:30am if he select he get message to check restaurant opening hours now customer have to go back to check opening time instead if he get option to choose the hour restaurant deliver the food I think it will look more professional and user friendly too market is comparison so better option we give to our customer might bring more business
will do take note of those not sure if there is a jquery library that offers this kind of features
the only thing i can see a solutions is a drop down list of opening hours
thanks
can i useful for this type of website, i want this functionality: https://www.just-eat.ca/
sorry?
are you familiar with just-eat website system?. I am making this type of website can this plugin useful for this
i believe so they have both same functions and features btw this is not wordpress plugin
BUG: on Browse Restaurant page, when restaurants are listed on Restaurant List tab the location of the restaurant shown on the map is located based on the imputed address, which is not correct, when opening View Restaurant by map tab the locations are correct based on the coordinates. This is a must fix bug basti.
hi mate
i would say is not a bug
latest version 3.0 is using lat and long you can check the code on assets/js/store-v3.js and look for the functions plotMap()
map = new GMaps({
div: this,
lat: lat ,
lng: lng ,
scrollwheel: false ,
styles: [ {stylers: [ { "saturation":-100 }, { "lightness": 0 }, { "gamma": 1} ]}]
});
as you can see there is no address but the lat and long variable saved but merchant
version 2.6 below if your merchant has no lat and long entered on there profle it will get the address its a fallback but if the lat and long is available it will map based on the lat and long
you can find the code on assets/js/store.js and this line
if( $('#restaurant-mini-list').is(':visible') ) {
var t=$("#tab-left-content li:first-child").find(".links");
//geocode_address(t.data("id"));
var lat=t.data("lat");
var lng=t.data("long");
if (isNaN(lat) && isNaN(lng)){
geocode_address(t.data("id"));
} else {
//locations=[['test',lat,lng,18]];
locations=[['',lat,lng,18]];
geocode_address2(locations);
}
}
thanks
Yes, i updated to 3.0, and i double checked, the codes on those two files (store-v3.js and store.js) are as you posted, but on the website, the mentioned problem still persist, and the location is shown based on the filled address. What can i do to fix this? 
hi mate
have you ever check your merchant has lat and long?
thanks
Yes basti, the lat and long are filled in correctly, and on view on full screen the locations are correct, but on Restaurant List tab the location shown is based on the address, not the lat. and long. 
hi mate
disregard my answer i just reliaze you are mentioning the map on the merchant menu
i haven’t check those i will check and get back to you
Thank you in front, it’s a problem for me of big importance.
will do check thanks
Any news? 
2 weeks passed and you uploaded new update, but this problem is still not solved 
hi mate
actually this is correct the restaurant map tab does plot the address using the lat and long entered by merchant
thanks
I know you told me this, but on my site it’s not based on the long. and lat. 
hi mate
ahh i found the issue its on the browse resto page to fixed this open the file
views/front/browse-list.php
and change this line
if ( empty($val[‘lat’])){
to
if ( empty($val[‘latitude’])){
thanks
Worked like charm, I’m pleased you noticed that unnoticeable bug, also i hope i’m helping you making your script better one 
thanks mate
yes you are
Hi i am a customer of karenderia, license d70b6e36-d045-49c6-bc7e-bed5568cf5b9. I really need this new update cause solve me the problem with restaurant name special characters, my question is how to install the update without loosing design and modifications made it in css and some php. Really urgent thank you
hi mate
you want to keep your old design? if yes sorry but you will have to update yours files manually you can use http://winmerge.org/?lang=en and compare the whole folder protected
usually the functions can be found on components folder but i would suggest using the new theme as there so many functions added
thanks
Hi basti, congrats for the new updates. I when I go restaurant menu i got ‘merchant is not available’ and the search always gives 0 result. thanks
hi mate
thanks mate really appreciate
please check the following
1. make sure your merchant status is active
2. merchant is published this can be found on merchant dasboard
3. merchant has lat and long on there profile
4. if 1 to 3 is all checked and still no search results you need to put google api key
in your admin -> settings so that every calls to google api
will be successful
in your google console project enabled Google Maps Distance Matrix API, Google Maps Geocoding API and Google Maps JavaScript API in your google developer account
thanks
thanks boss
cheers 
Do you have the download version that including loyalty points for customer who has bought loyalty points ?
So we do not need to reapply the loyalty codes for each newest version of Karenderia Multiple Restaurant System.
hi mate
i will release new update on loyalty points compatible with version 3.0
as you can see on the code version 3.0 is ready for loyalty points all the code is already in place in there you don’t need to follow many steps just to enabled it
basically i will release new updates on loyalty points indicated in there what code should be added or skip
thanks
When the new update will be available? So how to enable for now ? Right now I dont downloading the loyalty addon, because you said just need to enable ?
new update will be out these week for kmrs and loyalty points
So current version of loyalty points is compatible with current version of kmrs ? The only thing is not in kmrs is a point inside loyalty points documentation point number 7. Any idea how to adjust with ?
the current loyalty is compatible with the latest version is just that the instructions on line code is not updated cause there is new code added so the line will be move to another line
on the latest version most of the code you should add is already exist on the latest version of krms
let me upload the latest version of loyalty this week
thanks
Ok thanks, awaiting for loyalty updates
thanks mate it will be this week but then again depends on approval like 1 or 3 days approval process
Hello Basti, first at all congratulations, you did an awesome work on this new version. Im impressed, it looks really great. Keep it up.
I found out a couple of bugs, noting scary, also i have some questions and some suggestions for the new update.
Bugs:
1.- Google Map api error. It wont get location and fill in the address automatically, and it alerts an error on almost every page. (you can check it out on www.pidefacil.mx)
2.- Google play and app store links are inverted.
3.- Missing translation of the days of the week on the operation hours on the menu.
4.- When seeing the merchant search results in grid mode, some of the merchant “boxes” are alone in one row at the left or at the right despite they have more merchants at the top and at the bottom, I could also notice some are a little bigger than others.
Questions:
5.- What extactly is the cookie law? what are the pros and cons of enabling it?
6.- What are the pros and cons of enabling the website compression?
Suggestions:
7.- It would be cool that the tab “promos” tab from the merchant menu, is only displayed if the merchant has promos, because i dont know if leave it enabled or not because some of my merchant have promos and some dont and the ones that dont i think its useless to have that tap. also i think it would be nice to do the same with information and gallery map, so if merchant doesnt have it, its hidden, if merchant has it, it shows. Its just an opinion, i think i will code my store this way.
8.- Icons to indicate the payment methods available in each merchant, for example please look at http://pidefacil.com.mx/store/searchArea?s=Ricardo+Covarrubias%2C+Estadio%2C+Monterrey%2C+M%C3%A9xico In my case i have the cash, credit card and paypal icons.
9.- By default, a girl profile picture is being added, I would suggest you use an icon of a photo instead to indicate the profile picture its empty. But I would suggest that in case the customer logs in trough facebook, the facebook profile picture is added as profile picture.
Thats it for now.
Im also doing modifications on ajaxadmin the searcharea function but it doesnt seem to be active any more. as i do some changes in the code but they dont reflect in the search results browser, is there a new function that took over?
Sorry nevermind about the last one, ive found the new search-list-1 and search-list-2
On bug number 4, what ive found out so far is that:
1.- Different logos with different height are making the dismatch of the rows.Ive managed to regulate the logo height first using a container and then setting the max height for the logos:
<div style="height: 100px;"><a href="<?php echo Yii::app()->createUrl('store/restaurante/monterrey/'.$val['restaurant_slug'])?>">
<img style="max-height:100px; width: auto;" class="logo-medium" src="<?php echo FunctionsV3::getMerchantLogo($merchant_id);?>" />
</a></div>
2.- The break happens when a merchan box with offers is on the right column side. if the merchant with offer is on the left it works fine, but when its on the right, 1 or 2 rows below this break happens.
Hope it helps
hi mate
1. its because in your google project
you need to enabled
a. Google Maps Distance Matrix API
b. Google Maps Geocoding API
c. Google Maps JavaScript API
2. you are right i have fixed it on demo
but not on my local files
you can fixed this by opening the files
views/store/index.php
just switch the link 
'Hour'=>Yii::t("default","Hour"),
'Minute'=>Yii::t("default","Minute"),
'AM'=>Yii::t("default","AM"),
4. this would depends in your merchant information and this can be achieve little css fixed i cannot see in your website cause the browse page is disabled
5. don’t mine this, this is used in other countries like uk
6. pros it will make your website faster as all the html and css and assets javascript will be compress
no cons 
7. promos tab will only show if merchant has promos offer like free delivery voucher
8. will take note
9. will do take note
thanks
1. thanks mate will do take note
2. thanks
Hi Basti
now i see there is a new version of it!! great, a lot more minimalist, and functional
also im seeing theres two new apps
one is for customers and the other is for the merchant?? question
Im going to buy this two apps, but please answer me this questions
1- i cancelled my site seantoja.click, waiting for your app, and i dont know how to install yiiframework, you helped me before, installing it in hostgator, now im using siteground, also, in wich of this two hosting providers do you recommend me to install, i will prefer siteground, will you help me to install the script again??
2- the customers app and the take orders app are for both ios and android?
3- the merchant app, for taking orders is great, do you know if the main apps (Sindelantal, hellofood) in the market offer this to their suscripted merchants? just to know if this could be a compettitive advantage for me.
4- im familiar with android studio, the app can be modified using android studio? is there an spanish translation available???
Saludos
hi mate
thanks mate really appreciate
that would be correct app for customer and app for merchant
1. i cannot say anything about site ground as i never have a server host to site ground but i do have before on hostgator i might say its working just fine but if site ground is near in your country then go for site ground maybe you can decide by looking at this http://asia.pcmag.com/web-site-hosting-services-products/6648/guide/the-best-dedicated-web-hosting-services-for-20152. yes
3. sorry but i don’t get it?
4. am not sure i haven’t use android studio btw this is buld in phonegap not native
thanks
ANYONE ON HERE PLEASE HELP ME. HOW DO I UPDATE? to new theme, i have no idea, such simple thing maybe but i dont no what or how to, please help out, i will be looking out for anyones reply.
thanks!!!!!!!!!!!!!
hmmm did you purchase?
yes ofcoure, however it was my other account i purhased with and i coundnt reset the password so this is my new account. can you help please
hi mate
sorry but i cannot verify you if you are using new account better to contact envato on this matter
thanks
am supporting only verified buyers hope you understand
Hey Basti!
Some questions: (1) How can I remove the infinite scroll from the search page? I want the results to show like they did before (EG 10 to a page).
(2) I created my google maps API but I am getting this error and the search function will not work:
(3) Why is it showing inactive, pending, suspended restaurants on the search results? should only show active ones
(4) How do I change the style of the loader at the top of the page (eg the thin blue line that shoots across the top of the browser)
Thanks Basti!
hi mate
1. a. open the file assets/js/store-v3.js and remove this entire line
if ( $(".infinite-container").exists()) {
var infinite = new Waypoint.Infinite({
element: $('.infinite-container')[0],
onBeforePageLoad : function() {
dump('onBeforePageLoad');
$(".search-result-loader").show();
},
onAfterPageLoad : function() {
dump('onAfterPageLoad');
$(".search-result-loader").hide();
initRating();
removeFreeDelivery();
if ( $("#restuarant-list").exists() ){
plotMap();
}
}
});
}
b. open the file assets/css/store-v2.css
and remove this
.infinite-more-link {
visibility: hidden;
}
2. in your google project enabled
Google Maps Distance Matrix API
Google Maps Geocoding API
Google Maps JavaScript API
thanks
Thanks for the quick reply Basti!!
your welcome 