29722 comments found.
Zero commission cannot be accepted in admin panel, how to give zero commission to a restaurant, i have to put any value to accept it, such as 0.01
hi mate
i think you can i just did a test
you can set the commission in admin -> merchant list -> edit merchant and go to tab merchant type set commission on orders
UA-194957185-1
<!- Global site tag (gtag.js) – Google Analytics ->
Hey, this text is showing in the body! Please let me know how to remove that and why it arrived?
Resolved
glad to hear 
cheers
Hello. Good day. Can I request for an update about the change of item before placing of order to reduce the time of going back to menu?
hi mate
sorry what do you mean?
In check out page. Can I edit my order there?
hi mate
i think in current version yes you can do that already?
Hello. What I mean is edit the item not the quantity?
you mean change the item and add more item? something like that
Yes, Thanks.
noted mate
Hello. May I know what is the function of advance search?
Hi Basti, I was able to process the new support. Can you do me a favor by checking your email.
Cheers
sent
Hi mate. I want to ask you please about my website
When I use my site with www.xdomainx.com it’s not working
but when I use it like this xdomainx.com it’s working
hi mate
its your domain please ask help to you hosting
cheers
Yes thank you mate 
cheers
I have had a couple of orders come through that have items from 2 different restaurants.
I cannot find any setting for this, how can I stop it.
hi mate
hmmm kmrs cannot order tru different merchant its not yet available
can you verify this one?
reply send
sent
I got error 500 for paypal and stripe …
- when reload page on paypal here is the error it comes on the screen
Caught exception: {name already captured.If ‘intent=CAPTURE’ only one capture per order is allowed.”}],message requested action could not be performed, semantically incorrect, or failed business validation.”,debug_id“}]}
- when reload page on stripe it gives the order details.
Please help, what is the issue here.
Regard, Andre
hi mate
hmmm you should redirect to receipt page after the payment can you verify this one?
i don’t remember any issue with paypal and stripe
it does not redirect to receipt page. goes to blank page error 500 for stripe and paypal.
When page is refreshed it goes to receipt page for stripe and for paypal v2 get this error message :
Caught exception: {name already captured.If ‘intent=CAPTURE’ only one capture per order is allowed.”}],message requested action could not be performed, semantically incorrect, or failed business validation.”,debug_id“}]}
hi mate
its because the payment is already been capture so that is normal for that error to show
you should redirected to receipt page which is not in your case
that means during redirecting back to your site there is error
you can see those error by turning on error reporting in index.php
from there you can have idea what are those error
Hi Basti, just a reminder you said you would do qmoney integration and update this weekend
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
Api docs sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
I found a error > Paypal_v2 in merchant page appear this>renderPartial(‘paypal_v2_setti…’, Array, true) #1 C:\xampp\htdocs\protected\controllers\MerchantController.php(1985): CController->render(‘paypal_v2_setti…’, Array) #2 C:\xampp\htdocs\yiiframework\web\actions\CInlineAction.php(49): MerchantController->actionpaypal_v2() #3 C:\xampp\htdocs\yiiframework\web\CController.php(308): CInlineAction->runWithParams(Array) #4 C:\xampp\htdocs\yiiframework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #5 C:\xampp\htdocs\yiiframework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #6 C:\xampp\htdocs\yiiframework\web\CWebApplication.php(282): CController->run(‘paypal_v2’) #7 C:\xampp\htdocs\yiiframework\web\CWebApplication.php(141): CWebApplication->runController(‘merchant/pa in C:\xampp\htdocs\yiiframework\web\CController.php on line 878
Fatal error: Uncaught CException: MerchantController cannot find the requested view “paypal_v2_settings”. in C:\xampp\htdocs\yiiframework\web\CController.php:878 Stack trace: #0 C:\xampp\htdocs\yiiframework\web\CController.php(782): CController
Also found bug in pages -> /merchant/allorder | /merchant/order_settings appear 500 error
its important please somepages like i mentioned above not work. i tried xampp php 7.0. its something wrong in my server or script?
hi mate
this means you have missing files in your kmrs
make sure this file is there in views/merchant/paypal_v2_settings.php
i think your file is not totally complete kindly download the latest file and try to install it to your test server so you can see its working fine
am using php 7.2 on my computer so am sure its working fine in php 7 up to 7.3
check
hi thanks I tried php 7.3 and worked
glad to hear
cheers
Hi Basti, I am trying to put certain validations on my merchant registration form. Could you please help as I was not able to do it. Sent a mail
sent
sent 3 days back and waiting. Please help urgently. Thanks
I am still waiting – Please help asap It is highly urgent
sent
Hi Basti – Re you online, can i share some issues for you to help me fix?
Please check your email a i sent you the error log which causing my cPanel crash and admin panel lock.
I sent back to back 2 emails .. Sorry for to many messages
sent
Hi, mate, at the web home page, in the search box, can we make once the user click the text in the search box, to clear it, to delete that text to enable the user to write his input, because he has to make long backspace to clear the current search suggesstion
add this code in assets/js/store-v3.js
at the very end
add this
jQuery(document).ready(function() {
$( document ).on( "click", "#s", function() {
$(this).val('');
});
});
Hi Basti.
I’m doing some mods on the dashboard, and adding incoming orders. New fields to be able to have visualizations without having to open the order detail.
However, I want to add that once the order is taken by a dealer, I can see on the dashboard who the dealer is, but I can’t get the table or how to connect the table.
I leave you here some of what I have in the code.
public function rptIncomingOrders() { $and=’’; if (isset($this->data[‘start_date’]) && isset($this->data[‘end_date’])) { if (!empty($this->data[‘start_date’]) && !empty($this->data[‘end_date’])){ $and=” AND date_created BETWEEN ’”.$this->data[‘start_date’].” 00:00:00’ AND ’”.$this->data[‘end_date’].” 23:59:00’ ”; } }
$order_status_id='';
$or='';
if (isset($this->data['stats_id'])){
if (is_array($this->data['stats_id']) && count($this->data['stats_id'])>=1){
foreach ($this->data['stats_id'] as $stats_id) {
$order_status_id.="'$stats_id',";
}
if ( !empty($order_status_id)){
$order_status_id=substr($order_status_id,0,-1);
}
}
}
}
if ( !empty($order_status_id)){
$and.= " AND status IN ($order_status_id)";
}
$select = '';
if (Item_utility::MultiCurrencyEnabled()){
$select = Item_utility::queryCurrency();
}
$merchant_id=Yii::app()>functions>getMerchantID();
$stmt="SELECT
a.order_id,
a.trans_type,
a.payment_type,
a.status,
a.merchant_id,
a.date_created,
a.admin_viewed,
a.sub_total,
a.total_w_tax,
a.voucher_code,
a.order_change,
a.delivery_time,
a.ip_address,
a.taxable_total,
a.request_from,
(
select concat(first_name,' ',last_name)
from
{{client}}
where
client_id=a.client_id
) as client_name,
(
select group_concat(item_name)
from
{{order_details}}
where
order_id=a.order_id
) as item,
(
select restaurant_name
from
{{merchant}}
where
merchant_id=a.merchant_id
) as merchant_name,
(
select concat(first_name,' ',last_name)
from {{order_delivery_address}}
where order_id = a.order_id
) as customer_name
$select
FROM
{{order}} a
WHERE a.status NOT IN ('".initialStatus()."')
AND date_created LIKE '".date("Y-m-d")."%'
ORDER BY order_id DESC
LIMIT 0,100
";
if($res = Yii::app()>db>createCommand($stmt)->queryAll()){
$res = Yii::app()>request>stripSlashes($res);
foreach ($res as $val) {
}
$this->otableNodata();
$merchant_id=$val['merchant_id'];
if(isset($val['customer_name'])){
if(!empty($val['customer_name']) && strlen($val['customer_name'])>1 ){
$val['client_name'] = $val['customer_name'];
}
}
}
$this->otableOutput($feed_data);
$action='';
$action.="".Yii::t("default","Edit")."";
$action.="
".Yii::t("default","View")."";
$action.="".Yii::t("default","History")."";
$date=FormatDateTime($val['date_created']);
$date=Yii::app()>functions>translateDate($date);
$item=FunctionsV3::translateFoodItemByOrderId(
$val['order_id'],
'kr_admin_lang_id'
);
$new='';
if ($val['admin_viewed']<=0){
$new=" ".Yii::t("default","NEW")." ";
}
if(isset($val['currency_format'])){
$currency_format = explode("|",$val['currency_format']);
Price_Formatter::$number_format = array(
'decimals'=>isset($currency_format[0])?$currency_format[0]:2,
'decimal_separator'=>isset($currency_format[1])?$currency_format[1]:'.',
'thousand_separator'=>isset($currency_format[2])?$currency_format[2]:'',
'position'=>isset($currency_format[3])?$currency_format[3]:'left',
'spacer'=>Price_Formatter::getSpacer( isset($currency_format[3])?$currency_format[3]:'left' ),
'currency_symbol'=>isset($currency_format[4])?$currency_format[4]:'',
);
}
$feed_data'aaData'=array(
$val['order_id'],
ucwords(stripslashes($val['merchant_name'])).$new,
ucwords(stripslashes($val['client_name'])),
stripslashes($item),
t($val['trans_type']),
FunctionsV3::prettyPaymentType('payment_order',
$val['payment_type'],
$val['order_id'],
$val['trans_type']
),
);
prettyFormat($val['sub_total'],$merchant_id),
prettyFormat($val['taxable_total'],$merchant_id),
prettyFormat($val['total_w_tax'],$merchant_id),
$val['voucher_code'],
prettyFormat($val['order_change'],$merchant_id),
" ".t($val['status'])." "." $action ",
$val['delivery_time'],
$val['driver_name'],
$val['ip_address'],
t($val['request_from']),
$date,
$action
sorry i cannot follow
better provide screenshot of what you need to achieve
Hi Basti.
What I want to achieve is that the dashboard shows all the information of the order, all the fields I could place without problem, but the field of the name of the delivery person I really can’t get it
In theory, what I would be missing is the database field that reflects the name of the dealer to whom this order is assigned.
I tried the driver_name table but it doesn’t give me any results.
Here I provide you with an image of what I want to achieve.
https://imgur.com/a/KzbR0Qbyou mean you want to include the driver name in the table list?
if yes you can change the query this is all connected via order_id
so you need to query in table _driver_task with order_id and driver_id and get the name in _driver table
public function rptIncomingOrders() { $and=’’; if (isset($this->data[‘start_date’]) && isset($this->data[‘end_date’])) { if (!empty($this->data[‘start_date’]) && !empty($this->data[‘end_date’])){ $and=” AND date_created BETWEEN ’”.$this->data[‘start_date’].” 00:00:00’ AND ’”.$this->data[‘end_date’].” 23:59:00’ ”; } }
$order_status_id='';
$or='';
if (isset($this->data['stats_id'])){
if (is_array($this->data['stats_id']) && count($this->data['stats_id'])>=1){
foreach ($this->data['stats_id'] as $stats_id) {
$order_status_id.="'$stats_id',";
}
if ( !empty($order_status_id)){
$order_status_id=substr($order_status_id,0,-1);
}
}
}
}
if ( !empty($order_status_id)){
$and.= " AND status IN ($order_status_id)";
}
$select = '';
if (Item_utility::MultiCurrencyEnabled()){
$select = Item_utility::queryCurrency();
}
$merchant_id=Yii::app()>functions>getMerchantID();
$stmt="SELECT
a.order_id,
a.trans_type,
a.payment_type,
a.status,
a.merchant_id,
a.date_created,
a.admin_viewed,
a.sub_total,
a.total_w_tax,
a.voucher_code,
a.order_change,
a.delivery_time,
a.ip_address,
a.taxable_total,
a.request_from,
(
select concat(first_name,' ',last_name)
from
{{driver}}
where
driver_id=a.driver_id
) as driver_name,
(
select concat(first_name,' ',last_name)
from
{{client}}
where
client_id=a.client_id
) as client_name,
(
select group_concat(item_name)
from
{{order_details}}
where
order_id=a.order_id
) as item,
(
select restaurant_name
from
{{merchant}}
where
merchant_id=a.merchant_id
) as merchant_name,
(
select concat(first_name,' ',last_name)
from {{order_delivery_address}}
where order_id = a.order_id
) as customer_name
$select
FROM
{{order}} a
WHERE a.status NOT IN ('".initialStatus()."')
AND date_created LIKE '".date("Y-m-d")."%'
ORDER BY order_id DESC
LIMIT 0,100
";
if($res = Yii::app()>db>createCommand($stmt)->queryAll()){
$res = Yii::app()>request>stripSlashes($res);
foreach ($res as $val) {
}
$this->otableNodata();
$merchant_id=$val['merchant_id'];
if(isset($val['customer_name'])){
if(!empty($val['customer_name']) && strlen($val['customer_name'])>1 ){
$val['client_name'] = $val['customer_name'];
}
}
}
$this->otableOutput($feed_data);
$action='';
$action.="".Yii::t("default","Edit")."";
$action.="
".Yii::t("default","View")."";
$action.="".Yii::t("default","History")."";
$date=FormatDateTime($val['date_created']);
$date=Yii::app()>functions>translateDate($date);
$item=FunctionsV3::translateFoodItemByOrderId(
$val['order_id'],
'kr_admin_lang_id'
);
$new='';
if ($val['admin_viewed']<=0){
$new=" ".Yii::t("default","NEW")." ";
}
if(isset($val['currency_format'])){
$currency_format = explode("|",$val['currency_format']);
Price_Formatter::$number_format = array(
'decimals'=>isset($currency_format[0])?$currency_format[0]:2,
'decimal_separator'=>isset($currency_format[1])?$currency_format[1]:'.',
'thousand_separator'=>isset($currency_format[2])?$currency_format[2]:'',
'position'=>isset($currency_format[3])?$currency_format[3]:'left',
'spacer'=>Price_Formatter::getSpacer( isset($currency_format[3])?$currency_format[3]:'left' ),
'currency_symbol'=>isset($currency_format[4])?$currency_format[4]:'',
);
}
$feed_data'aaData'=array(
$val['order_id'],
ucwords(stripslashes($val['merchant_name'])).$new,
ucwords(stripslashes($val['client_name'])),
stripslashes($item),
t($val['trans_type']),
FunctionsV3::prettyPaymentType('payment_order',
$val['payment_type'],
$val['order_id'],
$val['trans_type']
),
);
prettyFormat($val['sub_total'],$merchant_id),
prettyFormat($val['taxable_total'],$merchant_id),
prettyFormat($val['total_w_tax'],$merchant_id),
$val['voucher_code'],
prettyFormat($val['order_change'],$merchant_id),
" ".t($val['status'])." "." $action ",
$val['delivery_time'],
$val['driver_name'],
$val['ip_address'],
t($val['request_from']),
$date,
$action
Here I leave you the code of what I have been working on but I cannot connect it. Might you help me?
sorry mate can you provide me screenshot of what exactly you need please provide it in english not in your language so i can provide correct answer
Picture in English
ok mate
in my example the driver name will after the status column
do the following
1. ajaxadmin.php under function rptIncomingOrders()
after the line
(
select concat(first_name,' ',last_name)
from {{order_delivery_address}}
where order_id = a.order_id
) as customer_name,
add this
IFNULL((
select driver_name from {{driver_task_view}}
where order_id = a.order_id
),'') as driver_name
2. same file and functions now add the driver name in the results
after the line
"<span class="\"tag">".t($val['status'])."</span>"."<div>$action</div>",
add this
$val['driver_name'],
3. now add the column driver name in the table i think you already know how to do that
Basti Help:
Auth error from APNS or Web Push Service errorCode: THIRD_PARTY_AUTH_ERROR
post this to correct item
this is for mobile app
?
mate
post this to mobile app since this is for apple
push
i will answer you there
Can we buy some themes/templates for this script some where?, the themes looks old now.
hi mate
right now its on development mode it will be out soon 
hope you will like this new themes
btw kindly vote here https://strawpoll.com/wxkvdocax
You write you have a new themes/templates and it will be out soon ?
hi mate
once the new version is out i will release different themes 
so basically lets finish first the new version before doing anything
I installed the script and it displays the site without CSS files
this means there is error in your files
kindly enabled the error reporting in index.php
ini_set(“display_errors”,true);
to see what are those error
you might have missing files
Is it possible to make sure that as soon as there is a new order only after 10 minutes the messengers will be notified of a new delivery?
Is it possible that if a restaurant does not accept an order it will notify me (admin user) that the restaurant has not approved a new order?
Is it possible to make the system send an alert to shippers according to a certain radius?
hi mate
1. sorry notify who?
2. there is options to notify the admin but only tru email
you can set your email in admin -> Notification Notification Settings -> ORDER_IDLE_TO_ADMIN EMAIL
Good morning, “Limit merchant by sell [value] per month” mean monthly invoicing or products sold?
and also what mean “Usage: Limited/Unlimited” ?
And please I saw this not good for sharing host, so which vps i should take? 3gb ram linux is ok for how much items?
thanks mate
hi mate
1. this is only for membership type yes its per month
2. limited to add new food item
3. i suggest go to a2hosting vps