The best way to start your custom e-commerce on Laravel. You get a ready to clone Laravel installation with a functional shop backend and a DIY frontend.
I test your work. This is a good way to see the practices implemented with Backpack. In addition, it is an excellent base for an e-commerce and for that, thank you!
Only, I have two three small improvements to offer for the future.
Update to Laravel 5.5 and Backpack CRUD 3.3 and the latest version of Backpack Base (as long as we are there). Basically, with the new version, we have the possibility to manage several fields of our account as a user. It makes sense in an e-commerce, with the management of addresses etc.
Improve the dropzone field. I really like how you did the gallery field and how you implemented it in the database. However, in my opinion, it misses the possibility of adding a "description" field. Describing an image can be important, especially for accessibility (the ALT field), or to specify some details.
I think ESTARTER-ecommerce is a very good base and I thank you for this work which teaches me a lot.
(6/6) ErrorException
count(): Parameter must be an array or an object that implements Countable (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php)
There seems to be an error on Attribute edit page.
ErrorException (E_ERROR) count(): Parameter must be an array or an object that implements Countable (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php)
Hi ,
i need to ask where the user can view product and add to cart and wish list if available .
only i see the admin page which can add products , categories , etc but when enter by client user also he can change the roles and permission for rest of users
Thanks in advance
php artisan key:generate
it shows the following error
file_get_contents(C:\xampp\htdocs\estarter-ecommerce-for-laravel/.env): failed to open stream: No such file or directory
in the directory path there is backslash.i think it is causing the problem.how do i solve it?
I noticed a bug with the dropzone products. When I clone a product, they also duplicate the images of the dropzone. In the cloned product, when I delete these images, it deletes the files. Suddenly, the images of the original product no longer work.
An error when editing products. ErrorException (E_ERROR) count(): Parameter must be an array or an object that implements Countable (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php)
sku is specific identifier for each instance of each product .
in your system sku is like product-serial (one for all instance of product that have same type) .
you need to create separate table like product_sku to store all unique sku for each instance of each product.
product_sku structure :
sku--------------#pk
product_id-------#fk to product
created_at--------timestamp
is_generated_qr_code------boolean
for product with 54 quantity we need to insert 54 record to product_sku table .
when we create order we can create new table like
order_item_sku with this structure:
id-------#pk
order_item_id-----#fk to order item
sky------------------#fk to product_sku
by adding this tables we can track any product instance status.