29719 comments found.
I am trying to generate unique order numbers instead of incremental ones. I’m hoping you can help me here and of course you can use the code in the next update 
Here’s what I have so far?
public function generateOrderID()
{
$unique_number = rand(100000000, 999999999);
if ($exists=Yii::app()->functions->checkOrderID($unique_number) ){
$results=Yii::app()->functions->generateOrderID();
} else {
return $unique_number;
}
}
public function checkOrderID($order_id)
{
$db_ext=new DbExt;
$stmt="SELECT * FROM
{{order}}
WHERE
order_id='$order_id'
LIMIT 0,1
";
//dump($stmt);
if ( $res=$db_ext->rst($stmt)){
return $res;
}
return false;
}
And in AjaxAdmin.php I changed it to:
if ( $this->insertData("{{order}}",$params)){
$order_id=Yii::app()->functions->generateOrderID();
I also changed the database order table from incremental to none but everytime the order is inserted as “0”. What am I missing?
hi mate
i suggest don’t remove the current order_id which is incremental instead add a new column for your unique order numbers
its because the type of field for order_id in the database is integer and 14 char only
thanks
Hi,
Are you able to make some changes for a fee? Like setting up a lunch menu from 11am to 4 pm. Also auto print to a printer without a pc maybe with a tablet?
Thank you
sorry mate but am not available 
This is 4th time im trying to contact you, i expect a good support. Is there any way to give address search preference to a certain city? which files to edit for that, for now you can focus only on country.
hi mate
sorry for late reply i was away
what do you mean? can you give more info
thanks
When I go to https://www.domain.com/store/profile and click on the order details, it opens in a new popup window, even on mobile. Is there an easy way to have this open on a new separate page instead?
you can but you will have to create a separate action and view for it
Hello, All your demo urls are pointing to HTTP only..I need this to be in https ? will it able to do so? I would like to buy if it could be accomplished in a few steps. Thanks
yes you can add ssl in your server you just need to change something on htaccess for https
Hi Basti, when you enter the merchant menu page directly. There comes a pop up asking for address. But I enabled search on postcode, should it not ask for postcode? https://gyazo.com/7b6cbb34bf259e1a71ddca9be9f41368
hi mate
you are correct i think these is a bug if you are using post code let me check this on my end
thanks
did you check?
not yet mate this needs some changes on the code remind me again tomorrow if i did not reply
thanks
ok mate will do. I mentioned a few weeks ago on how you should fix the postcode issue. when wil you be able to do that?
not sure yet am still working on mobile app update about the postcode i think these needs some changes
Yes, I gave you an example on how to fix it and you said it was a great idea. I will post it here for reminder:
so when user search on postcode it’ll search the same postcode as on merchant. 2.This is not a good way, why don’t you add the same postcode feature as in admin in the merchant side, BUT merchant only has the possibility to choose in which postcode area’s he can deliver. So merchant can’t add postcode, only admin can. He can only choose in which area’s he wants to deliver. Also please add a option were admin can force the merchant by not choosing the postcode only admin can. So I mean, when admin put some postcodes in the system. It comes up in the merchant side, where the merchant can click on that particuler postcode. I think this is a good way to fix the postcode thing. Let me know please.
Besides that, I have the mobile app too, there is no option to search on postcode there? :s
ah yes i remember i already saved your suggestion 
Besides that, I have the mobile app too, there is no option to search on postcode there? :s
your correct i will fixed the web version first then the mobile app
and btw for your first question about the address popup you can disabled that on admin -> settings -> Disabled popup asking customer address?
I disabled it but now everyone outside the postcode can order from restaurant? Will you fix it by asking postcode instead of address
you are correct again mate will do fixed it
My FTP access already sent to :basti@codemywebapps.com
hi mate
can you remind me again what is the issue?
also it will be great to send me email here
https://codecanyon.net/user/bastikikang#contactthanks.email has been re sent,,,It is about barclay epdq
hi basti epdq now is working , your code is very powerful, thanks for all
hi mate
did you already fixed the issue? 
Hello Sir i gone though your work and found it is absolutely amazing . i am going to buy your product but i have some questions which i need to be clear before buying . please help me out in this
1:-I want to buy kmrs restaurant management web and mobile app ,driver app,Merchant app, if i buy will i have to pay anything more except the price , i mean all payment is one time payment or just for some time period and i have to renew this subscription again and again.
2:- If i buy this and if want to change the design and add some more things as per my requirement is it is possible or not . Eg: UI and want to add Mobile number verification at resignation page via sms OTP.
3:- If i face any technical issue in the app how i will contact team to resolve it
4:- I want my user could able to pay by via credit card/debit card and net-banking and also via some wallets like Paytm and payumoney wallet is it possible to receive : if possible which payment gateway i ll use ?
thanks in advance Swadhin Acharya swadhinsoft@gmail.comhi mate
thanks for your kind words 
1. one time only the support expire
2. you can change anything cause the code is not encrypted
3. contact me via profile
4. yes you can add your payment gateway but you need to hire a developer to do this for you also payumoney is already added on web but not available on mobile app since payumoney does not support mobile app but razorpay will be available
cheers
Thanks Basti..
razorpay will be available for both mobile and web versions or only for mobile , or its already available.
it will be available on both 
Hi, we are fazing a problem in login with Facebook in the app, I fill all details in the admin panel as well as in config.js but when I build APK and check on phone there is no response on click and when I check on web browser it will show this message (Not connected You are not logged in Please login before you try again.) please help us how we solve this
Screenshot : 1 (http://prnt.sc/ck7vvc) Screenshot : 2 (http://prnt.sc/ck7wbw) website link : http://kemia-resto.com/store/home Login with Facebook working on website now but not working on application.
hi mate
facebook setup for mobile has different config see this video https://youtu.be/DJkidENSI9Qnxt time post your comment on correct item also i notice your support has expired
Hi Basti,
Now i am in process of developing GPRS printer interface, there are 2 process (php) that need to be done in server;
GPRS printer already provides the standard printing format, we only get the order from system and provide the data, the rest will be done by GPRS printer.
GPRS printer will use http to call php script and print
So there are 2 php scripts that need to be done in system;
1. Orderrequest.php, this php will retrive the pending order and print on GPRS printer, the format will be printed as predefined format by GPRS printer, the required parameters are restaurant id, user name and password. 2. Confirmation the predefined delivery time by minute such as within 30, 40, 50, 60 etc or manually entry by minute. 3. After confirmation the delivery time or reject order , GPRS printer will execute callback.php to accept and delivery time or reject to update the order status. The required parameters are restaurant id, delivery time and reason.
I need your advice to provide me any standard funtion that i can refer on getting order and update status.
Thanks in advance
hi mate
first you need to create action on the controller/storecontroller.php create an action for your callback
and on components/functions.php you can find there a functions called getOrder($order_id=’‘)
you can call this functions to retrieve the order details and for updating the status you will have to manually updated the status on the code
How can i create seperate module, just for gprs? Currently i can print on gprs printer but script is without YII framework, please help
you can create a class and put in the folder components just like the class functionsv3.php
How to call php?
ah mate you need to knowlegeble in php to do this i suggest hire a developer to do this for you since this is not for newbie
Callback.php so i need to create class in floder component, what about get order, how do i call get order ?
use the existing class
components/functions.php you can find there a functions called getOrder($order_id=’‘)
My programmer is not expert in MPC, would u please provide him more hint on adding the class and how to call url?
Sorry he is not expert in MVC structure but he is expert in direct coding in php
hi mate
like i said i suggest hire a developer for you this is not for beginner
even i explain it to you you will not understand 
my programmer has experienced more than 10 years in developing web application both java, php and so on. please explain I will ask him to have a look
am sure he can manage 
I think there’s a bug in the order times. If the restaurant opens at 14:00 for example and I want to pre-order for 14:00, it says the restaurant is closed at 14:00. If I then try to order at 14:01 it works. Is it possible to fix this 1 minute?
open the file components/functions.php and look for the functions checkBetweenTime
change this condition
if ($date1 > $date2 && $date1 < $date3) {
to
if ($date1 >= $date2 && $date1 < $date3) {
Fantastic, thank you 
cheers
Hello
We have been in touch with you and trying to contact you one week ago and you didn’t reply or answer to us
We face lot of issue in your multi restaurant sofftware and one o the problem we didn’t receive verification email at all second issue sometimes the site become down along we didn’t know witch reason
please let us know how we can contact you more easy and fast
hi mate
sorry am away you can contact me here https://codecanyon.net/user/bastikikang#contact
and leave a message here once you send me email
Hi Basti, I have the AddOn for loyalty points, but it does not show how many points I get if I order?
hi mate
did you enabled the points?
thanks it works now
cheers
I wonder how the payments, I was already seeing the panels and I was not entirely clear, the customer comes to buy a product, the money goes to the merchant or admin? If you go to the admin to go over the total value of the purchase to the merchant … The issue of commissions I understood perfectly, only the question of making the transfer of money to the merchant in the event every 15 days or 30 days or when he request .
hi mate
there is 2 types of merchant commission and membership
if your merchant is membership they will have to pay monthly or yearly to sell there product
if your merchant is commission then you will get commission on every order and all online payments will go to your account and merchant will need to request a payout to get their money and admin will have to approved those request
hope that helps
restomulti/store/home
no – store/home
???
open the file controller/storecontroller.php
look for functions actionIndex()
change the code
$this->redirect(Yii::app()->request->baseUrl."/store/home");
Yii::app()->end();
to
$this->actionHome();
also you need to change the file components/functionsv3.php
and look for the functions getMenu
change this
$top_menu[]=array('tag'=>"signup",'label'=>''.Yii::t("default","Home"),
'url'=>array('/store/home'));
to
$top_menu[]=array('tag'=>"signup",'label'=>''.Yii::t("default","Home"),
'url'=>array('/'));
Hey, did you got back, i used a old version of your code, there are problem that the system not sending sms or email to merchant once a while. (Merchant not getting email, the sms for the order not showing in the log ). which file or function we should check
what version you are using?
i already forgot the changes on the sending of emails
the version before you rework the frontend. do you have any suggestion where should we looking for problem. it;s not always happen, the notifcation will miss once a few day, we already change the server, it;s not server problem, also, if the notification missing , sms log also not showing the order.
what type of sending did you use?
php mail or smtp
either php and smtp has same problem, we was thinking about its the problem with email function, but after we add the sms , sms is not show in the log if email is not sending.
am not sure if the old version has test send email
if not create a file for sending a test email use the functions to send email you can find it on components/functions.php and look for the functions sendEmail
if you try to send email and you receive it that means its working 100%
but if sometimes you cannot receive the email that means its your server issue
some server has limit of sending emails per day and some server is not sending emails if the email content has a link they treated it as spam email
we already checked out the server not the server problem, we was thinking about its email function problem. but SMS also not show in the log if the email is not sending, so is there a file that manage both sms and email at the same time to create the notification for sending both email and sms
hi mate
email and sms has different functions
what i think is if you receive email and sometimes don’t its definitely a server issue
its not like email is send, more like for randome order the system didnot telling the function to send either sms or email
its not like email is not sending, more like for randome order the system didnot telling the function to send either sms or email
ah ok can you check the file views/store/receipt.php
at the very bottom you can find the code that sends email to merchant and customer
Sorry Question correction !
Good night, needs your help , karenderia mobile app v1.3.1 is compatible with karenderia Karenderia Multiple Restaurant System v2.6 ?
I’m having complications in the process to view orders in Carrino and can not complete the request.
I thank your help.
Sorry Question correction !
Good night, needs your help , karenderia mobile app v1.3.3 is compatible with karenderia Karenderia Multiple Restaurant System v2.6 ?
I’m having complications in the process to view orders in Carrino and can not complete the request.
I thank your help.
hi mate
sorry its not compatible with kmrs 2.6
btw did you purchase krms?
Good night, needs your help , karenderia mobile app v1.3.1 is compatible with karenderia Karenderia Multiple Restaurant System v2.6 ?
I’m having complications in the process to view orders in Carrino and can not complete the request.
I thank your help.
Sorry Question correction ! karenderia mobile app v1.3.3
Good night, needs your help , karenderia mobile app v1.3.3 is compatible with karenderia Karenderia Multiple Restaurant System v2.6 ?
I’m having complications in the process to view orders in Carrino and can not complete the request.
I thank your help.
hi mate
sorry its not compatible with kmrs 2.6
btw did you purchase krms?
Good evening, I wonder if the mobile app Karenderia V1.3.1 E Compatible with KMRS 2.6?
I Problems tendon To view the REQUEST no Cart, infinite loop and locking app .
karenderia mobile app v1.3.3
hi mate
sorry its not compatible with kmrs 2.6
Hi guys.
I can register a Membership and Commission merchant at the same time?
Will charge a fee for registration and also commission per sale.
tks
sorry you cannot that is not available