Code

Discussion on Karenderia Multiple Restaurant System

Discussion on Karenderia Multiple Restaurant System

Cart 5,365 sales

bastikikang supports this item

Supported

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

29730 comments found.

Hi basti in my case stripe is adding 2% and 0.25$ by transaction can i do something to substract this to the merchant comission ? cheers

hmmm i think its better to this when the customer place an order am doing the computation for commission

in components/ajaxadmin.php look for function placeorder

and look for

/*Commission*/ if ( Yii::app()->functions->isMerchantCommission($this->data['merchant_id'])){

this is where i start the code for commission

you can add your own condition here

Bro, awaiting your reply over our mail conversation!

I didn’t recieve any :/

Got it, reply sent!!

Hi Basti,

I just notice that the email to inform about merchant status only cannot be send to the merchant with Merchant Type “Commission”. I also cannot update this type of merchant from “Pending For Approval” to “Active”.

After click “Save” when i click “Merchant List” the status still “Pending” currently i’m testing on my local pc.

By the way, when I click view new order from admin menu… the normal price doesn’t have cross on it but when the customer receipt it does show this. How to make it cross too..

Hi Basti,

I found the solution. Thanks

The system won’t update the status if the “Package” is empty… after I change the merchant type to membership and set the expirey date and click “Save” the system pop up “Merchant Updated” once update I change back the merchant type to “Commission” ....is this a bug or normal?

that will be correct if merchant type is membership you need to select package and date of expiry

that is normal

Hi Mate

Hope you are doing well

How can I enable COD for customer on app and website

I am not able to enable COD option in merchant. I added merchant from admin panel, in merchant list of admin panel, I selected payment option and enabled only cash on delivery.

But when I login to merchant panel I don’t see COD option instead I see other payment options. How can I enable only COD option so customer can place order from customer app using COD

Looking forward to hear from you

double post

How can you make each customer record by Merchart single not related to the central system or to the startup record?

in which part or what file does that query have to be able to edit and put a GET by id!

Where is the code of the push query?

actually you need to create one you can modify the current one but you need to add a field to select merchant

it can be found in ajaxcontroller.php where i insert the broadcast and the cron query can be found in croncontroller.php

thank

Where can the Order Status List language be translated? the new states to be created.

default.php ?

thank

I need to insert another field in the mt_clients to identify that the client that registered is from the single restaurant – or change the social_strategy to the id of the restaurant that was registered.

For example, in the area of single Merchant, all clients leave all registers but do not classify them by each client.

This causes the error that if I want to send a Push Broadcast to the customers of a single restaurant it cannot be done because it sends it to everyone :(. I think this is badly thought.

Also if the client wants to see how much customer has registered or communicate with any of it, he can not do it either.

“and for the process broadcast remember we already move the settings in admin panel so the broadcast will send to all customer not per customer by merchant”

The problem that I need is also for customers per restaurant.

Since if I want to send a message to the customers of a restaurant, it cannot be done, it sends it to everything on the list. Do you understand my concern?

this is not available anymore

you need to create this functions

query the records in _order table there is merchant_id and client_id in there

thank

Hi, on the merchant admin panel, paypal tab does not exist. I have allowed all access in the admin panel. Please advice. Thanks

hmmm what do you mean paypal tab?

can you provide screenshot

as the paypal is added long time ago and it should appear

Regards Basti, I am currently testing the installation of karenderia using Mapbox as a map provider, the problem is when looking for the address on the main page, since after typing 2 or 3 characters the search is lost, and when I allow you to access the location, just look for nearby public places (such as shopping centers or sales establishment), the addresses of houses or buildings do not locate them. Do you think this is a mapbox problem? Or do you think that at the code level something should be configured that allows more accurate location? Or why do you think this can happen? PS: I have tried to write the address in multiple ways, so it is not a grammar problem. and another thing I notice is that it only locates the city, the state and the country, ... but not the address.

I appreciate your answer

when doing a search the address you enter in homepage will convert to lat and long

and will do search for restaurant via lat and long so make sure your merchant has lat and long

sometimes the address you enter in homepage does not have equivalent lat and long in the mapbox api

we can confirm this by checking your site

send me the link to your site and what address did you use that has no results

email me here

https://codecanyon.net/user/bastikikang#contact

leave a comment here once you send it so i will be notified

cheers

Information sent … I remain attentive thanks!

How can I change the category table in the dB to be the same for everyone? I.e. same 10 categories? Can I do that without breaking the code what will I have to alter in the PHP files? Same with sizes. ...I’m trying to load in data (merchants & menus ) straight into the database if that helps at all Thanks

sorry you mean display only 10 categories?

can you provide screenshot so i can understand it clearly?

Is there any filter to show all open restaurants at the moment?

sorry this is not available at the moment :(

i still creating the algorithm for this cause we have broken time its hard to query in on the the table :(

Where the following setting is changed:

When the order says paid it is like finishing the whole process. but if I want to use a new state as for example finalized as the last step of the order. Where could I put it. Because when people make online payments the state enters as payment and does not enter the pending status on the tablet, also if you put it finished, it does not calculate or add the sale on the chart.

it will depends on payment gateway you need to tell me first which one

example for paypal v2 you can find it in components/functionsv3.php look for function updateOrderPayment

$params_update=array( 'status'=>'paid', 'date_modified'=>FunctionsV3::dateNow(), 'ip_address'=>$_SERVER['REMOTE_ADDR'] );

Thank!!

How i can use the languages.

you mean translate? if yes

watch the following videos

How to translate https://youtu.be/FaQFRX9xEJY How to set default language https://youtu.be/Ugl2ilxBbhM

Hello basti

There is a request for the next update. Create an address selection form for merchants and users.

For example.

Now the address format: street, city, state, post_code.

I only need: city, street,

Is it possible to create a sort sequence and disable / enable unnecessary data (state, post_code) so as not to change this in the functional files?

Regards!

(Sorry, I wrote from a work account. Paid from another.) :grin:

hmmm can you provide screenshot?

if this is google auto suggestion there is nothing we can do about it its google auto suggestion address

I mean the display of addresses on the site. Here are the screenshots

https://ibb.co/ZH3wpTP https://ibb.co/TvTN5wj https://ibb.co/SPR4PmP

ah ok it can be simply change in the code

Iam trying to configure the commission. why is it that the voucher_amount is equals to the value of percentage example 10% not the value of the product * voucher (%)... what parameter is the total value of voucher?

hi mate

voucher_amount = 10 that means that is the discount applied on the order

which is 10$

correct me if am wrong or did not answer your correctly

Hi Basti, the voucher_amount in the database is the percentage of voucher when the voucher is percentage. i need to know the total voucher discount let say: 10% of 100$ so it means i get 10$ or if 10% of 200$ i get 20$.

its like this mate

it will depends on voucher_type = fixed amount then its fixed amount else its percentage

Hi, Basti, the payment gateway in (Karenderia App Version 2) app is giving option : Stripe/Sisow/payumoney and Payser but not “Paypal or Barclacard which I have accounts with.

paypal 1 is not working anymore in mobile app you need to use paypal version 2

and for Barclacard this is not available in mobile app

Hi, currently we are getting an HTTP ERROR 500 in our installation of late, could you please advice how to get it resolved… Link is : foodie.betaholder.com

Please let me know if you need any further details on this. Thank You.

kindly enabled error reporting in index.php

ini_set(“display_errors”,true);

it will show the error and let me know what is that error

I am pasting the whole error as shown….

Warning: include(PDO.php): failed to open stream: No such file or directory in /home/beta123/foodie.betaholder.com/yiiframework/YiiBase.php on line 432

Warning: include(): Failed opening ‘PDO.php’ for inclusion (include_path=’.:/home/beta123/foodie.betaholder.com/protected/modules/driver/components:/home/beta123/foodie.betaholder.com/protected/modules/merchantapp/components:/home/beta123/foodie.betaholder.com/protected/modules/mobileapp/components:/home/beta123/foodie.betaholder.com/protected/modules/pointsprogram/components:/home/beta123/foodie.betaholder.com/protected/vendor:/home/beta123/foodie.betaholder.com/protected/components:/home/beta123/foodie.betaholder.com/protected/models/admin:/home/beta123/foodie.betaholder.com/protected/models:/opt/cpanel/ea-php70/root/usr/share/pear’) in /home/beta123/foodie.betaholder.com/yiiframework/YiiBase.php on line 432

Fatal error: Uncaught CDbException: CDbConnection is unable to find PDO class “PDO”. Make sure PDO is installed correctly. in /home/beta123/foodie.betaholder.com/yiiframework/db/CDbConnection.php:442 Stack trace: #0 /home/beta123/foodie.betaholder.com/yiiframework/db/CDbConnection.php(391): CDbConnection->createPdoInstance() #1 /home/beta123/foodie.betaholder.com/yiiframework/db/CDbConnection.php(347): CDbConnection->open() #2 /home/beta123/foodie.betaholder.com/yiiframework/db/CDbConnection.php(325): CDbConnection->setActive(true) #3 /home/beta123/foodie.betaholder.com/yiiframework/base/CModule.php(394): CDbConnection->init() #4 /home/beta123/foodie.betaholder.com/yiiframework/base/CModule.php(103): CModule->getComponent(‘db’) #5 /home/beta123/foodie.betaholder.com/protected/components/FunctionsV3.php(6153): CModule->__get(‘db’) #6 /home/beta123/foodie.betaholder.com/protected/controllers/StoreController.php(141): FunctionsV3::checkIfTableExist(‘option’) #7 /home/beta123/foodie.betaholder.com/yiiframework/web/CWebApplica in /home/beta123/foodie.betaholder.com/yiiframework/db/CDbConnection.php on line 442

ok looks like your server has no PDO installed

Warning: include(PDO.php): failed to open stream: No such

ask your hosting to install PDO library this is needed by yii framework

hello, I want to disable the home menu and onclick activity of header logo.

from my another account

sorry but you need to use those account to ask question

i only support who actually purchase my item

hello basti. how can i change or edit the value here? or maybe i wanted to remove that.

https://ibb.co/0yXHym9

to change the value edit the file componenst/functionsv3.php and look for function minimumDeliveryFee

to remove it edit the file views/store/search-results.php

look for MINIUM DELIVERY FEE remove the code that display the minimum filter

I want to add a custom payment gateway and also a custom sms gateway. How can i do that?

you will have to modify the files

for adding sms gateway its very easy just add your own code in components/functions.php look for

sendSMS

hi mate

adding payment gateway requires knowledge in php so if you don’t have any background in coding you will find it hard to understand this

adding payment gateway is very easy if you know how to code just example stripe

when you pay using stripe it will call this action contoller in storecontroller.php

public function actionstripeInit() { }

cheers

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey