6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website v3.0 Hotfix

No permission to download

wonderland8

New member
May 8, 2022
23
5
3
Hi elite, can anyone customize this script? I'd like to change the google map to other. Please let me know if you offer this service. Thankssssss
 

lostkid

Active member
Mar 18, 2021
131
54
28
25
Hi i have vps server 4gb memory yet i m facing too many requests running on only 5 user apps do any one help me with it
The problem is with laravel's rate limit for api routes.

Go to app > Http > Kernal.php file and look for

PHP:
/**
 * The application's route middleware groups.
 *
 * @var array
 */
protected $middlewareGroups = [
    'web' => [
        \App\Http\Middleware\EncryptCookies::class,
        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
        \Illuminate\Session\Middleware\StartSession::class,
        // \Illuminate\Session\Middleware\AuthenticateSession::class,
        \Illuminate\View\Middleware\ShareErrorsFromSession::class,
        \App\Http\Middleware\VerifyCsrfToken::class,
        \Illuminate\Routing\Middleware\SubstituteBindings::class,
    ],

    'api' => [
        'throttle:api',
        \Illuminate\Routing\Middleware\SubstituteBindings::class,
    ],
];

make the following changes

PHP:
'api' => [
    'throttle:100,1',  // sets the limit to 100 requests per minute
    \Illuminate\Routing\Middleware\SubstituteBindings::class,
],

the default is 60,1 which is 60 requests per minute

Edit: Sorry i just remember you could change the limit from the Route Service Provider

Go to app > Providers > RouteServiceProvider.php :

PHP:
/**
 * Configure the rate limiters for the application.
 *
 * @return void
 */
protected function configureRateLimiting()
{
    RateLimiter::for('api', function (Request $request) {
        // Increase the perMinute value.
        return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
    });
}
 
Last edited:
  • Like
Reactions: winner73 and Doxec

lostkid

Active member
Mar 18, 2021
131
54
28
25
here on the store panel
Make the following changes to resource > views > vendor-views > order > order-view.blade.php :

PHP:
<!-- Body -->
@if($order->customer)
    <div class="card-body">
        <div class="media align-items-center" href="javascript:">
            <div class="avatar avatar-circle mr-3">
                <img
                    class="avatar-img" style="width: 75px"
                    onerror="this.src='{{asset('public/assets/admin/img/160x160/img1.jpg')}}'"
                    src="{{asset('storage/app/public/profile/'.$order->customer->image)}}"
                    alt="Image Description">
            </div>
            <div class="media-body">
            <span
                class="text-body text-hover-primary">{{$order->customer['f_name'].' '.$order->customer['l_name']}}</span>
            </div>
            <div class="media-body text-right">
                {{--<i class="tio-chevron-right text-body"></i>--}}
            </div>
        </div>

        <hr>

        <div class="media align-items-center" href="javascript:">
            <div class="icon icon-soft-info icon-circle mr-3">
                <i class="tio-shopping-basket-outlined"></i>
            </div>
            <div class="media-body">
                <span class="text-body text-hover-primary">{{$order->customer->orders_count}} orders</span>
            </div>
            <div class="media-body text-right">
                {{--<i class="tio-chevron-right text-body"></i>--}}
            </div>
        </div>

        <hr>

        //<div class="d-flex justify-content-between align-items-center">
        //    <h5>{{translate('messages.contact')}} {{translate('messages.info')}}</h5>
        //</div>

        //<ul class="list-unstyled list-unstyled-py-2">
        //    <li>
        //        <i class="tio-online mr-2"></i>
        //        {{$order->customer['email']}}
        //    </li>
        //    <li>
        //        <a class="deco-none" href="tel:{{$order->customer['phone']}}">
        //            <i class="tio-android-phone-vs mr-2"></i>
        //            {{$order->customer['phone']}}
        //        </a>
        //    </li>
        //</ul>

        @if($order->delivery_address)
            <hr>
            @php($address=json_decode($order->delivery_address,true))
            <div class="d-flex justify-content-between align-items-center">
                <h5>{{translate('messages.delivery')}} {{translate('messages.info')}}</h5>
                @if(isset($address))
                    {{--<a class="link" data-toggle="modal" data-target="#shipping-address-modal"
                       href="javascript:">{{translate('messages.edit')}}</a>--}}
                @endif
            </div>
            @if(isset($address))
                <span class="d-block">
                {{translate('messages.name')}}: {{$address['contact_person_name']}}<br>
                //{{translate('messages.contact')}}:<a class="deco-none" href="tel:{{$address['contact_person_number']}}"> {{$address['contact_person_number']}}</a><br>
                {{ translate('Floor') }}: {{ isset($address['floor'])?$address['floor']:'' }}<br>
                {{ translate('Road') }}: {{ isset($address['road'])?$address['road']:'' }}<br>
                {{ translate('House') }}: {{ isset($address['house'])?$address['house']:'' }}<br>
                @if($order['order_type']!='take_away' && isset($address['address']))
                    @if(isset($address['latitude']) && isset($address['longitude']))
                    <a target="_blank"
                    href="http://maps.google.com/maps?z=12&t=m&q=loc:{{$address['latitude']}}+{{$address['longitude']}}">
                    <i class="tio-map"></i>{{$address['address']}}<br>
                    </a>
                    @else
                    <i class="tio-map"></i>{{$address['address']}}<br>
                    @endif
                @endif
            </span>
            @endif
        @endif
    </div>
@endif
<!-- End Body -->

Comment out the lines that i commented out
 

Doxec

Well-known member
Trusted Uploader
Dec 1, 2020
154
415
63
South America
Hello friend in the file app_constants.dart, just comment the lines of the "LanguageModel" leaving only the language you want.
Ex:

static List<LanguageModel> languages = [
LanguageModel(imageUrl: Images.english, languageName: 'Portugues', countryCode: 'US', languageCode: 'en'),
//LanguageModel(imageUrl: Images.arabic, languageName: 'عربى', countryCode: 'SA', languageCode: 'ar'),

Att,
Thanks Bro!
 

Syedvasiq

Member
May 6, 2022
42
1
8
India
hi i m getting error on sign in page for both user app and web app error happening in sign in page after sign in its automatically redirected to sign in page again
 

Atom786

Active member
Jan 20, 2021
150
31
28
in driver app when it is open in backround new order alert sound not come ..

any one know how to solved this
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu