Giter VIP home page Giter VIP logo

xshop's People

Contributors

a1gard avatar cyberali1989 avatar farzady avatar sadeghpm avatar yasindehfuli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xshop's Issues

getSetting() Error

  • php : 8.1.21
  • MySQL : 5.7.40
  • Redis : 7.0.11

I encountered two exception errors

one:

  sudo php key:generate 
  
  Could not open input file: key:generate

row:

   composer install --optimize-autoloader --no-dev

   In web.php line 279:
                                                       
  Call to undefined function App\Helpers\getSetting()  
                                                       

   Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

I'd love some help, thank you very much!

I don’t know if I can participate in the Chinese localization function?

مشکل در کد

سلام خسته نباشید من میخواستم این اسکریپت رو اجرا کنم و هاست لینوکسی دارم
کد ها رو در git bash میزنم خطا میده و کامپوز نصب نمیشه
میشه آموزش جامعی رو ارائه بئین؟

مشکل در استفاده از installer با لاراگون

سلام سال نو مبارک
بنده روی لوکال هاست لاراگون نصبش کردم
ولی فقط فایل ها را نشون میده میشه راهنمایی بفرمایید
و این که در آدرس installer/installer.php
خطای زیر را میدهد :
Requrirment check
PHP Version check 8.1 or Above
PHP extentions not installed: pdo_mysql, sqlite3, soap, zip, gd, mbstring, xml, json, fileinfo, bcmath,
PHP extentions not installed: curl,
Write permission!
Packages already installed
Database connection is OK!
Rewrite error:
Your server is : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.2.17
If you use PHP, restart laravel
If you use Apache, your public_html has problem
If you use NGINX, active this rewrite on domain config, then restart server:
rewrite ^/(.*)$ /index.php/$1 last;

question about using weblog features

hello and thank you for this awesome project,
I want to add weblog posts in index page right next to products,
the issue I'm having is,
the posts I made are being shown in about us page without capability of opening or having a separate page representing that post,
can you guide me through the process of achieving this goal ? many thanks in advance,
دم شما گرم.

مراحل نصب

سلام لطفا مراحل نصب رو بزارید صفر تا صد که بتونیم پروژه رو اجرا کنیم ممنون

issue in migrations file

i have a problem when run php artisan migrate in files

  1. 2024_05_07_130324_create_props_table in line : $table->text('unit')->nullable()->default(' ');
  2. 2024_07_04_053952_create_parts_table.php in line : $table->json('data')->default('[]');

i solve it by making them ->nullable() is right for your system or there is a better solution .

Undefined array key 1

وقتی لگو سایت رو عوض میکنم با این ارور روبرو میشم
Undefined array key 1

public function thumbUrl()
{

    if ($this->getMedia()->count() > 0) {

        return $this->getMedia()[$this->image_index]->getUrl('product-thumb');

    } else {

        return asset('/images/logo.png');



    }

}

Need to check invoke for lang

Need to check this controllers and routes:

https://github.com/4xmen/xshop/blob/main/routes/web.php#L341

I have use some trick for other routes like this:

public function ticketLang($lang, Ticket $ticket)
{
    return $this->ticket($ticket);
}

public function ticket(Ticket $ticket)
{
    if ($ticket->customer_id != auth('customer')->id()) {
        return abort(403);
    }
    return view('website.ticket', compact('ticket'));
}

but I don't have any idea for this

We need to improve ui

We need to improve ui for create button in list it fixed some page like:

productIndex.balde.php we need do for all:

form:
image

to:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.