Code

Discussion on Karenderia Multiple Restaurant System

Discussion on Karenderia Multiple Restaurant System

Cart 5,364 sales

bastikikang supports this item

Supported

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

29720 comments found.

Hi Mate We are using Google Analytics but when a customer views the site via the mobile app, Analytics shows the result as (Not Set) instead of showing which pages are visited. How do we fix this? This is happening when the customer uses the mobile app to view the site. Cheers

hi mate

mobile app is different from website

check the plugin documentation maybe you can find what you are looking for

https://github.com/cmackay/google-analytics-plugin

Thanks mate, but we don’t have programming skills. Is this easy to do or could you do it for us?

actually what is set ?

if you look at the docs you can see many fucntions there and let me know what are those

Mate, i want to fix the below said vulnerabilities a) High Vulnerability Cross Site Scripting

b) Low Vulnerability 1) Banner Disclosure 2) Clickjacking 3) Vulnerable jQuery version found

reply sent

Basti when i test stripe its working via test moode, when i test via live mood its not working its showing me error can you assist

i believe stripe live will work only with website that has SSL

means your site should be https

Hello Friend could you tell me what are the functions responsible for generating an order through the web thank you very much friend

if inserting to database its on

components/ajaxadmin.php

function placeOrder()

can you tell me a bit more how to create json_details because i m making custom win pos so

always helping basti

hmmm what do you mean?

json_details

am only converting the array response to json format

using json_encode of php

Hello, how are you? My partner purchased your system and we love it. However we have a question: when accessing the site through the browser of a computer, he asks about sharing our automatic location and populates the address location. But when we access via mobile, it does not carry the option to share location. We are using mapbox. How do we fix this? Thanks!

hi mate

am fine thank you :)

sorry but you need to ask your partner to ask those question i only support who actually purchase my item

cheers

Hello Basti, how can i remove the word stripe and braintree and replace with an hyperlink image of a credit or master or visa, as here people are not aware of what those are, i just want click on the card image and it will take you to enter card information rather than clicking on to the word for it to take you to payment gate way

can you provide screenshot where is this? and screenshot of what you wanted to be like

Hi, please can you add List of allergens for food items? The European Union requires it. Thanks.

hmmm are we able to add it as addon categories?

Do you have an email where I can email you? I have a list of a few questions that are hopefully simple, I just didn’t want to post them all here and the support link does that, thanks

email me here

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

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

cheers

I have a problem in code which appears so many times where variable is declared as string then after some conditions that variable used as Array (which produce error in return). Following are the code examples (check the line where I add the comment code //)

1. First Example (FunctionsV3.php)

public static function getLanguageList($aslist=true)
{
    if($aslist){
        $list[0]=t("Please select");
     } else  $list=''; // HERE AS STRING

    $path=Yii::getPathOfAlias('webroot')."/protected/messages";     
    $res=scandir($path);
    if(is_array($res) && count($res)>=1){
        foreach ($res as $val) {                
            if($val=="."){                  
            } elseif ($val==".."){  
            } elseif ($val=="default"){  
            } else {
                $list[$val]=$val; // HERE AS ARRAY
            }
        }           
        return $list;
    }
    return false;       
}

2. Second Example (in UpdateController.php)

public function alterTable($table='',$new_field='')
    {
        $DbExt=new DbExt;
        $prefix=Yii::app()->db->tablePrefix;        
        $existing_field=''; // HERE AS STRING
        if ( $res = Yii::app()->functions->checkTableStructure($table)){
            foreach ($res as $val) {                                
                $existing_field[$val['Field']]=$val['Field'];  // HERE AS ARRAY
            }            
            foreach ($new_field as $key_new=>$val_new) {                
                if (!in_array($key_new,$existing_field)){  // SO THIS CONDITION FAILS
                    echo "Creating field $key_new <br />";
                    $stmt_alter="ALTER TABLE ".$prefix."$table ADD $key_new ".$new_field[$key_new];
                    dump($stmt_alter);
                    if ($DbExt->qry($stmt_alter)){
                       echo "(Done)<br />";
                   } else echo "(Failed)<br />";
                } else echo "Field $key_new already exist<br />";
            }
        }
    }

These functions not return proper array with data, but when I change $list=''; to $list=array(); it returns the desired result. Is there any way to fix this globally in the project code? because it is impossible for me to find this type of error from whole project.

There are lots of places where it makes issue for me.

Thanks in Advance

hi mate

this is issue with php version

and this was already fixed in latest update of kmrs

kindly use the latest version all of this was already fixed

Hi Basti!

There is a minimum order table in Merchant administration to decide minimum order value by distance in km.

I have noticed that when the address is entered via the address popup on the main restaurant (menu) page, the minimum order value is updated as per the distance.

However, if you cancel the address popup (without entering any address), and enter your address on the checkout page, the system does not check the minimum order table at all, and applies the default minimum order value.

Are you aware of this issue? How can this be resolved? Thank you in advance!

you are correct that is why am forcing the customer to order the address

if there is no address we cannot get any distance

if customer is on homepage they will enter there address and we will not have problem on this part

if customer go directly to merchant menu am forcing the customer to enter there address

cheers

Hi! Thanks for your reply!

I hope that in a future update, the distance could also be checked at the checkout page (since customers can edit their address on that page).

i always check the distance during checkout

during checkout they will enter their delivery address and i will check this distance and fee

Hi Basti, I sent you an email before I realized that your father was sick. I hope he’s getting better man! I feel your pain and understand. Hope you and your family are well. Love your work and dedication.

thanks mate really appreciate your concern

we are hoping me and my family that all well be fine right now we are still looking for funds for his operation

reply sent in your email

cheers

Hi what folder can I find this file?

Important : For security purposes you can delete or rename the file controllers/InstallController.php

nevermind I found it, thanks

sorry for late reply

glad to hear that mate

Hi basti, how can i get bard code to be added on the receipt? And do you think the hand held QR code scanner NFC system would be compatible with your karenderia? Reason been say for example ,if a customer select cash on delivery payment and that driver as the NFC system then he will beable to scan the barcode , customer swipe his or her card to make payment and System will be updated on vendor saying paid. Is this possible?

all you mention is very much possible but needed changes in the code

any device that can read qr code can be use for this application

am not sure what is NFC

NFC is a system through which payments are encrypted and secure, or to say it allows you to collect payment with credit card and debit cards, customer can swipe there card and pay on delivery, but first a bar code as to be scan to bring up that vendor’s account in order to update merchant records to paid. I am interested in getting this, can you customize for me ??

hmmm i think this will be a lot of work

your scanner has its own program right?

Hi Basti. I would like to know if it is possible to translate custom pages. If not can you advise how to do it ourselves? Also, I have noticed that, if we leave Karenderia open to all countries, then users can see listings of other countries, which can create a bit of confusion. Do you have a solution, or suggestions? Will greatly appreciate it.

Thanks in advance

hi mate

1. if your familiar with php coding you will find this easy to add but if your not :( you will find it hard better to wait for next update

2. same as 1

3. search radius is the based for searching it does not consider the radius set in merchant panel

merchant panel radius will be check upon checkout

For 1 and 2 okay. For 3. Okay that’s good. We want search radius given by admin. Thanks

oh its already using the radius in admin settings when you do a search

I have error when i’m testing the stripe payment : https://prnt.sc/qh64cw , after press confime appear the error : https://prnt.sc/qh63u1

Where i have to add the stripe email in the system ??

i did it . thank you

all good?

cheers

Hi Basti, sent you email regarding payment gateway and custom_field1 and custom_field2. Thanks.

Reply sent to your email. Thanks.

Hi mate,
Please see https://isol.ca/kmrs/20191228-00.png : I setup Date & Time
Please see https://isol.ca/kmrs/20191228-01.png : On Desktop can see time.
Please see https://isol.ca/kmrs/20191228-02.png : On mobile size can’t see time
How to fixe it?

your correct the mobile view is not fixed

let me prepare the quick fixed

also kindly search in comment section as i think i already posted the fixed here

Invoices are not working .. Why?

sorry can you give more information why its not working?

I put an invoice + commission option. Select a daily invoice option. But when you go to an invoice section, nothing appears, no admin panel or restaurant panel.

did you run the cron jobs for processing the invoice?

you can find the cron job link in admin -> cron jobs

Basti , here is an update on the printer i was able to get it to work , now its printing in English and working properly, Basti it was a little headache at first, god bless you man !

glad to hear that mate :) i agree its hard at first

cheers

Hi Basti, as for the printer i have followed all the steps that you said, it is now printing in English how ever the wifi password that prints out were do add that information, as that needs to be added for the printer to be connected properly.

Please advise

all good i believe :)

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