The Shop - PWA eCommerc cms

The Shop - PWA eCommerc cms v3.6

No permission to download
The Shop

The Shop is the best ecommerce CMS in terms of speed and fast loading. PWA based e-commerce CMS. Front end on vue.js. Laravel-based admin panel. An efficient and ultra-secure admin panel with the latest technology.


HOW TO NULL THE SCRIPT
Replace the file in vendor/mehedi-iitdu/core-component-repository/src/CoreComponentRepository.php with this code

PHP:
<?php

namespace MehediIitdu\CoreComponentRepository;
use App\Models\Addon;
use Cache;

class CoreComponentRepository
{
    public static function instantiateShopRepository() {
        // $url = $_SERVER['SERVER_NAME'];
        // $gate = "http://206.189.81.181/check_activation/".$url;
        // $rn = self::serializeObjectResponse($gate);
        // self::finalizeRepository($rn);
    }

    protected static function serializeObjectResponse($zn) {
        // $stream = curl_init();
        // curl_setopt($stream, CURLOPT_URL, $zn);
        // curl_setopt($stream, CURLOPT_HEADER, 0);
        // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1);
        // curl_setopt($stream, CURLOPT_POST, 1);
        // $rn = curl_exec($stream);
        // curl_close($stream);
        // return $rn;
    }

    protected static function finalizeRepository($rn) {
        // if($rn == "bad" && env('DEMO_MODE') != 'On') {
        //     return redirect('https://activeitzone.com/activation/')->send();
        // }
    }

    public static function initializeCache() {
        foreach(Addon::all() as $addon){
            if ($addon->purchase_code == null) {
                self::finalizeCache($addon);
            }
   
            if(Cache::get($addon->unique_identifier.'-purchased', 'no') == 'no'){
                // try {
                //     $gate = "https://activeitzone.com/activation/check/".$addon->unique_identifier."/".$addon->purchase_code;
       
                //     $stream = curl_init();
                //     curl_setopt($stream, CURLOPT_URL, $gate);
                //     curl_setopt($stream, CURLOPT_HEADER, 0);
                //     curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1);
                //     $rn = curl_exec($stream);
                //     curl_close($stream);
       
                    if($rn == 'no') {
                        self::finalizeCache($addon);
                        Cache::rememberForever($addon->unique_identifier.'-purchased', function () {
                            return 'yes';
                        });
                    }
                    // else{
                    //     Cache::rememberForever($addon->unique_identifier.'-purchased', function () {
                    //         return 'yes';
                    //     });
                    // }
                // } catch (\Exception $e) {
       
                // }
            }
        }
    }

    public static function finalizeCache($addon){
        $addon->activated = 0;
        $addon->save();

        flash('Please reinstall '.$addon->name.' using valid purchase code')->warning();
        return redirect()->route('addons.index')->send();
    }
}
Author
Avinash
Downloads
16
Views
727
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from

Latest updates

  1. The Shop - PWA eCommerce cms v3.6

    Version : 3.6 (29/08/2024) - Stock Management: Implemented current stock field in product...
  2. The Shop - PWA eCommerce cms v3.5

    Version : 3.5 (17/07/2024) - Repayment for unpaid orders - Buy Now Feature - Laravel Version...
  3. The Shop - PWA eCommerce cms v3.4

    Version : 3.4 (13/06/2024) - Product Image Zooming implemented in product details page -...

Similar resources

Bible - Church Management System With Shop, Donation, Sermon, Blog, Event, Role, Attendance & More Avinash
Powerful Dashboard With Clean UI 10 World Wide Popular Languages Instant Website
0.00 star(s) 0 ratings
Downloads
6
Updated
Inventory OS - Inventory & Shop Manage Avinash
Inventory OS – Inventory/ Warehouse/ Super shop/ Stock/ Store Management Software with Accounting
0.00 star(s) 0 ratings
Downloads
1
Updated
Ninico - Minimal Laravel eCommerce Shop Avinash
Ninico script is a clean and modern HTML5, Bootstrap based on Laravel framework.
0.00 star(s) 0 ratings
Downloads
9
Updated
Ninico - Minimal Laravel eCommerce Shop Avinash
Ninico script is a clean and modern HTML5, Bootstrap based on Laravel framework.
0.00 star(s) 0 ratings
Downloads
4
Updated
Perfex Shop - Sell your Products with Inventory Management (E-commerce module) Avinash
Perfex Shop module enables the ability to sell your own Products or Services
0.00 star(s) 0 ratings
Downloads
6
Updated
Back
Top