Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

GTHell's avatar

If SPA is a thing why not many website migrating to it?

Assume that they have resource and good engineer, why won't they migrate to SPA? I'm building a shopping ecommerce with SPA and I just don't see any popular ecommerce website has SPA. Why?

GTHell's avatar
GTHell's avatar GTHell8yrs agoGeneral
10
1
Last reply by GTHell 8yrs ago
stargatesg1's avatar

Api Project Structure

Lets say I have a simple e-commerce platform. I am trying to figure out how to structure my Lumen API Cart API User API Orders api Now does Lumen need a separate instance for each api for instance the API's will be broken down like this. users.mydomain.com orders.mydomain.com cart.mydomain.com I just need some direction guidance.

stargatesg1's avatar
stargatesg1's avatar stargatesg...8yrs agoLumen
4
1
Last reply by stargatesg1 8yrs ago
deelipk's avatar

I'm loosing important data because of failed queue

Disclaimer: I'm not a programmer but I understand how code works in general and under the basics of laravel. We run a e-commerce store and we're managing our affiliate programme with Hasoffers. All our affiliates have affiliate links similar to oursite.com/?aff_id=number. In the user controller, when the purchase is complete, we retrieve the aff_id parameter and send it to haso

deelipk's avatar
deelipk's avatar Vilfago8yrs agoGeneral
1
1
Last reply by Vilfago 8yrs ago
jandk4014's avatar

Sync Data -- Onsite to Cloud

Our in-house production environment and ERP solution runs on Oracle 11g. I've been tasked with building an e-commerce site. I've elected to store the site on AWS with Forge as a way of managing the laravel site. There are small amounts of data that I want to push from Oracle to the MySQL server on AWS on a hourly basis. My initial thought would be to write a small app and ru

jandk4014's avatar
jandk4014's avatar bobbybouwm...8yrs agoLaravel
1
1
Last reply by bobbybouwmann 8yrs ago
PatrickL's avatar

Messages for Communicating Between Microservices using Laravel

Sorry if this sounds kind of bookish. But, this is the first time I’m going to do something like this in a project. So, in a project I'm currently planning, I am building a microservice-driven e-Commerce web application. As I’m doing my research, I learned there is a need for messaging between service applications (bounded contexts in Domain Driven Design terms). The resources

PatrickL's avatar
PatrickL's avatar PatrickL8yrs agoGeneral
5
1
Last reply by PatrickL 8yrs ago
surendramannam1's avatar

I need to show pop up only first time user login

  </div> <div class="modal-body"> <h2>Welcome to Dr.Drop!</h2> <p>Dr.Drop is a community-driven ecommerce website<br> we provide members with a place where they can order supplies, Join drops, and connect with other members all in one place. Get Started </div> </div>

surendramannam1's avatar
surendramannam1's avatar surendrama...8yrs agoJavaScript
7
1
Last reply by surendramannam1 8yrs ago
scanf6's avatar

Guest user delete comment

I'm building an e-commerce site. Users don't have to register, they can buy products without registering on the site, they can leave some comments on each products. I would like that anonymous users could remove their comments . But they are not in the database, so i don't know how to retrieve an unregistered user comments and delete them. Is there a way to do this . I'm not a

scanf6's avatar
scanf6's avatar Helmchen8yrs agoLaravel
8
1
Last reply by Helmchen 8yrs ago
davy_yg's avatar

Parse error

When I try to edit the product from my ecommerce backend. I am getting this error message: Parse error: syntax error, unexpected '@' (View: C:\xampp\htdocs\eliteshop\resources\views\admin\products\edit_product.blade.php) Any clue why is that? Here is the edit button: admin/products/products.blade.php <td> <a href="{{url( '/cpages/products/'. $product->pr

davy_yg's avatar
davy_yg's avatar Cronix8yrs agoLaravel
7
1
Last reply by Cronix 8yrs ago
davy_yg's avatar

Driver [] is not supported.

Hello, When trying to upload an image to my ecommerce CMS I am getting this error message: Driver [] is not supported. ... } else { throw new InvalidArgumentException("Driver [{$config['driver']}] is not supported."); } What does it means? Thanks in advance.

davy_yg's avatar
davy_yg's avatar Rafiullah6yrs agoLaravel
8
1
Last reply by Rafiullah 6yrs ago
mbarakat2955's avatar

Price Comparison Package

Is there any package for laravel like 'Content Egg' wordpress plug-in ? Content Egg : is a plugin used to compare products from different e-commerce like amazon, ebay , etc. Also provide an affiliate manger system for you? https://wordpress.org/plugins/content-egg

mbarakat2955's avatar
mbarakat2955's avatar mbarakat29...8yrs agoLaravel
0
1
alphacheck's avatar

Vue integrate with Laravel

I am trying to develop a eCommerce Solution. The Client End / Front End has been designed by vue.js and it is working fine in my localhost. Now I want to integrate this vue.js files with Laravel Code base. So that I could show the correct data using laravel to Vue. Could you please help with step by step action I need to perform.

alphacheck's avatar
alphacheck's avatar mikail1000...8yrs agoVue
1
2
Last reply by mikail10000000 8yrs ago
wajdi's avatar

Shopping cart with vueJs and laravel using Crinsane/LaravelShoppingcart

Hello, I want to implement shopping cart functionality in my ecommerce website so for that i googled for a package and i found Crinsane/LaravelShoppingcart in packagist.org i followed the instructions and everything is working but the problem is that when i hit the add to cart button it reloads all the page (which i dislike) in fact i want to use vuejs to perform this action ba

wajdi's avatar
wajdi's avatar rouge8477yrs agoVue
5
1
Last reply by rouge847 7yrs ago
TuffRivers's avatar

Laravel for 3rd part shipping integration

Hi All, I have been learning the laravel framework recently and find it very useful for a novice coder. I have an upcoming project and was wondering if laravel would be a good use for it. Please let me know your recommendations. I have experience with core php, js, html, css, i am by no means an expert but a intermediate tinkierer. I have a hosted ecommerce site that needs to

TuffRivers's avatar
TuffRivers's avatar martinbean8yrs agoGeneral
4
1
Last reply by martinbean 8yrs ago
dharmendrarao's avatar

Session on API request

Hi All, I am developing an ecommerce site using Angular as frontend and laravel 5 as backend. I want to use session on api request. I have changed config/auth.php file like below 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'api' => [ 'driver' => 'token', 'provider' => 'users

dharmendrarao's avatar
dharmendrarao's avatar dharmendra...8yrs agoRequests
2
2
Last reply by dharmendrarao 8yrs ago
Shawdow's avatar

Display particular subcategories products present in database

Hi, ecommerce example where i have two table categories ans products in the categories table i have all the categories in the product table i have all the products and also category_id as the foreign key which relates to the categories the problem it display all the products name if i click the particular subcategory example if i click the smartphone (subcategory) it should di

Shawdow's avatar
Shawdow's avatar Shawdow8yrs agoLaravel
0
1
Shawdow's avatar

How can i make the products image as link and show the list of products images

Hi, this is an ecommerce site where the users click on the particular product images show the list of images in next page. i have written below code to make the image as link <div class=row"> <div class="col-xs-3"> @foreach($product as $products) <div class="images" > <a href="" style="text-decoration:none&quo

Shawdow's avatar
Shawdow's avatar Shawdow8yrs agoLaravel
3
1
Last reply by Shawdow 8yrs ago
nanadjei2's avatar

Array collective issue.

I am building an E-Commerce app where I want to loop through a results but anytime I try I get an error Property [main_image] does not exist on this collection instance.. This is my controller: $latestProductWithOptions = ProductProductOption::with('product') ->orderBy('product_id', 'desc')->take(4)->get(); $productImages = []; foreach ($latestP

nanadjei2's avatar
nanadjei2's avatar nanadjei28yrs agoLaravel
2
1
Last reply by nanadjei2 8yrs ago
nanadjei2's avatar

Update two records with two input data

Am building an e-commerce app where I want to update two records in my database with some couple of input fields from my html/blade template. I have a product with its sizes as an option of the product. So a shirt can have small as option 1, medium as option 2 and large as option 3. I have then created a productProductOptions table with product_id column and product_option_id c

nanadjei2's avatar
nanadjei2's avatar nanadjei28yrs agoLaravel
6
1
Last reply by nanadjei2 8yrs ago
prashant.godhwani's avatar

algolia facets automatically hiding products

I am new to algolia, vue and laravel. I am trying to build an e-commerce where I have used facets for filtering down data. The problem here is, whenever I check a specific filter, a certain product hides when I hover over the item before. I don't know what is creating the problem. Please help me. 6 products here. But if I select a filter and then hover on the last item in the p

prashant.godhwani's avatar
prashant.godhwani's avatar prashant.g...8yrs agoVue
0
1
webiz's avatar

Laravel cashier only for PDF generator

Does it make sense to use Laravel cashier only for generating invoices in my Ecommerce which only sells products? If not what do you use? Thank you, Dominik

webiz's avatar
webiz's avatar webiz8yrs agoLaravel
3
1
Last reply by webiz 8yrs ago
pedroroccon's avatar

Merging two models (with a prefix)

Hello everyone! Hope you're having a fantastic day. Well, i'm stuck with my code. I have two models: one called Customer.php and another called Order.php The customers can make orders in my application (like an ecommerce). The problem is: In my Order.php I have to replicate the informations of Customer, because if someone removes the customer from my database, I need to still s

pedroroccon's avatar
pedroroccon's avatar pedrorocco...8yrs agoLaravel
2
1
Last reply by pedroroccon 8yrs ago
Thanks's avatar

Hello MRS, Is there anyway to secure form inputs In paypal from change by Inspect

Hello Mrs - Is there any way to secure paypal form from edit by inspect element , i'm working in eCommerce But in the payment page if i changed the Mount field to any other value is effected in paypal checkout value ......... for example > if total price from db is 100$ if i chaged it to 20$ Unfortuntlly The payment will be $20 not 100$

Thanks's avatar
Thanks's avatar Thanks8yrs agoLaravel
9
1
Last reply by Thanks 8yrs ago
pingzeeshan's avatar

Using app.balde(Dynamic) in Other Controllers

Hi, I am new to laravel. I am working on a Ecommerce website. On the fronetend I have created a layout.app blade which uses HomeController.php. I need dynamic Header, footer and left menu so I fetched the data in __Constructor. Here is the code: public function __construct() { $this->header_category_list = Category::where('is_header', 1)->where('is_enable', 1)->sel

pingzeeshan's avatar
pingzeeshan's avatar morteza8yrs agoLaravel
1
1
Last reply by morteza 8yrs ago
nanadjei2's avatar

Multiple update form input with hasMany relationship

Am developing an E-commerce app and I want to update a table with an multiple data from form dynamically. The OrderProduct class is like a cart which will host the products of an order. class OrderProduct extends Model { protected $fillable = ['product_id', 'product_category_id', 'option_id', 'quantity', 'sales_price', 'sub_total']; } This is my Order model: clas

nanadjei2's avatar
nanadjei2's avatar mushood8yrs agoEloquent
6
1
Last reply by mushood 8yrs ago
Shawdow's avatar

How to Create a table dynamically in the controller??

I don't know whether the table or column can be added in the laravel controller?? Question arises because in the ecommerce website i need to create a properties table for a particular Product. Suppose Product Properties can be created dynamically it could easy to and the Properties for a Particular Product in the view. any solution regarding to above?? Thanks,

Shawdow's avatar
Shawdow's avatar insight2yrs agoLaravel
12
1
Last reply by insight 2yrs ago
davy_yg's avatar

Trying to login

Hello, I am in the middle of modifying an ecommerce website. When trying to login instead of carrying to the admin_dashboard, it carries me to the front page. admin/login.blade.php <div class="container vertical-align"> <h1 class="text-center">Gionda CMS</h1> @if ($errors->any()) @include('layouts.errors') @en

davy_yg's avatar
davy_yg's avatar Snapey8yrs agoLaravel
3
1
Last reply by Snapey 8yrs ago
umerhassan's avatar

Best way to store product images

I am creating an eCommerce solution in laravel and I need to store product Image, I need suggestions what would be the best way to store product images? Is local storage where files are hosting or any other cloud storage would be better?

umerhassan's avatar
umerhassan's avatar shez19838yrs agoGeneral
7
1
Last reply by shez1983 8yrs ago
chadwickm's avatar

Laravel suite for the win, but you've gotta know your LAMP stack right?

Hey there, I don't post here much but thought this would be an appropriate place to reach out to my fellow Laravelers. To get my intro background out of the way, I'm not a CS degree holder, stumbled upon Laravel at version 2 (when Taylor's pic featured him with a cap and a big ol smile), I work as a PHP developer full time, and I do all things web for a side business by night i

chadwickm's avatar
chadwickm's avatar Thyrosis8yrs agoGeneral
1
1
Last reply by Thyrosis 8yrs ago
13en's avatar

Getting Relational Data in foreach

So i have this index page which shows a collection of monsters (similar to a Ecommerce index page) I also however have an adopt table where users can adopt monsters and update their name so need to display the latest name from the adopts table instead of the name from the monsters table if that makes sense in the foreach? Relationships are User Model public function adopts() {

13en's avatar
13en's avatar Snapey8yrs agoEloquent
1
1
Last reply by Snapey 8yrs ago
antonio21061995's avatar

View product by categories with laravel

Hi, I have a problem. I'm developing an e-commerce site for sales of musical instruments. I managed the backend part with the addition of products with various categories (eg flutes, saxophones, clarinets, guitars, etc.) now I have a product display page called product.blade.php now when for example I from my template I click on the flutes category, how can I display only produ

antonio21061995's avatar
antonio21061995's avatar devit.gg8yrs agoLaravel
1
1
Last reply by devit.gg 8yrs ago
PaulDiamant's avatar

Question about database design for product orders

I'm working on an ecommerce platform, and have a products table, orders table and orders_products table. Should I save the price of the single item in the orders_products table or fetch it every time the user goes to their cart and after they make a purchase?

PaulDiamant's avatar
PaulDiamant's avatar Exiax8yrs agoLaravel
2
1
Last reply by Exiax 8yrs ago
PaulDiamant's avatar

Distant relationship, select brands that products use

I'm working on an ecommerce app, and I have the following tables: products: id, name, description, category_id, brand_id, sku, created_at... etc brands: id, name categories: id,name,parent_id Say I have this, to retrieve products with those categories, how will I also retrieve all brands that products use without having duplicates? Since different brands can have the same br

PaulDiamant's avatar
PaulDiamant's avatar PaulDiaman...8yrs agoEloquent
2
1
Last reply by PaulDiamant 8yrs ago
pavlen's avatar

Laravel Online shop - custom or get package ?

Hi all, what is your suggestion for E-commerce Laravel solutions ? To create shop from scratch or to take some of Laravel shop packages ? In case that your suggestion is to use existing packages, can you recommend some E-commerce package ? Thanks in advance, P

pavlen's avatar
pavlen's avatar pavlen8yrs agoLaravel
3
1
Last reply by pavlen 8yrs ago
dushyantjoshia's avatar

Should I pick laravel?

It has been a week since I started learning Laravel and loving it. I have been into the PHP - E-Commerce Field for 5,6 years. I have a good grasp of PHP & Javascript. Now the Question is, How would I get a good job in Laravel in 2-3 months considering I haven't done any projects in Laravel yet. Which other skills along with Laravel should I pick which will help me in my car

dushyantjoshia's avatar
dushyantjoshia's avatar dushyantjo...8yrs agoGeneral
1
1
Last reply by dushyantjoshia 8yrs ago
digioz's avatar

Looking for Open Source Laravel Developers to Join a new CMS Project

Hi All, I am new to the Laravel Community, but not programming as a whole (20+ years experience). While reviewing the Laravel Framework I was very impressed with what I saw, and that prompted me to initiate a new Open Source CMS Project which will be built on the Laravel Framework. I have already created a C# / .NET version of what I am trying to build on Laravel, which can be

digioz's avatar
digioz's avatar digioz8yrs agoGeneral
0
1
lucassimines's avatar

Laravel-mix not working fine on MacOS High Sierra

Hello guys, I'm having some issues when trying to run npm run production or npm run watch. I've updated the xcode using xcode-select –-installand it stills doesn't work, how can I solve that? Errors: > @ watch /Users/lucassimines/Laravel/E-Commerce > cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/

lucassimines's avatar
lucassimines's avatar lucassimin...8yrs agoLaravel
1
1
Last reply by lucassimines 8yrs ago
dave.howson's avatar

Backpack Vs. Voyager

I need to build an admin panel that controls the activities of an eCommerce application and this has to have basic functionality like manage products, users etc. Which of these two would be most suitable for me?

dave.howson's avatar
dave.howson's avatar Samwize7yrs agoLaravel
2
1
Last reply by Samwize 7yrs ago
nicktr's avatar

MethodNotAllowedHttpException - only on production website

I'm building an e-commerce site, and everything works fine on my local host and on my staging server (exactly the same environment as my prod server), however, when I deploy the same code to my production server, I get a MethodNotAllowedHttpException in RouteCollection.php line 218: error when I try to make a purchase. Here's the full output. 1. in RouteCollection.php line 218

nicktr's avatar
nicktr's avatar nicktr8yrs agoLaravel
4
1
Last reply by nicktr 8yrs ago
davy_yg's avatar

APP_URL

What is APP_URL? .env APP_NAME=Laravel APP_ENV=local APP_KEY=base64:w4+St3llrDOPqwLDu0eQ3VvBpScSphhFNMPybiF/yZ8= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=http://localhost/victoryeshop/vito config/app.php 'url' => env('APP_URL', 'http://localhost/victoryeshop/vito') vito is the laravel framework name. I wonder if I set it correctly since I have my ecommerce front page pi

davy_yg's avatar
davy_yg's avatar MatteoOref...7yrs agoLaravel
2
276
Last reply by MatteoOreficeIT 7yrs ago
Patwan's avatar

Pulling Individual items from a Foreach loop in Laravel view

I have a e-commerce project with 2 tables(Categories and products). They have One to Many relationship. Many products have one Category. Am pulling products of a specific category(together with its price and description) and storing in one variable so that I can use in the view. In the view am having a foreach loop whereby I want to display each row from the products table of a

Patwan's avatar
Patwan's avatar Patwan8yrs agoLaravel
2
1
Last reply by Patwan 8yrs ago
Patwan's avatar

Toggle image in Laravel view

I am working on an e-commerce project whereby I have two tables(Categories and Products). The 2 tables are interlinked using One to many relationship. One Category has many products. In the controller, I have created one variable where I have attached the images of a specific category, their prices, names and descriptions so as to display in view and its working fine. In the vi

Patwan's avatar
Patwan's avatar Patwan8yrs agoJavaScript
0
1
Patwan's avatar

Pulling more than one value in Query Builder

I am building an e-commerce project using Laravel 5.4, I have got 2 tables which have the following columns: categories: id, name , timestamps Products: id , name, price, description, size , image , category_id , timestamps The two tables are interlinked via one to many relationship(One Category has many products). I am uploading images and storing inside public/images folder i

Patwan's avatar
Patwan's avatar Patwan8yrs agoLaravel
3
1
Last reply by Patwan 8yrs ago
legecha's avatar

Incrementally implement Laravel into legacy system - consuming API?

I've recently started learning Laravel and so far, I love it. One of my upcoming projects is to take a very old eCommerce system (started off in PHP 4, hacked to death over the years) and end up, over as long a period of times as needs be, with a comparable system that runs entirely in a new framework (i.e. Laravel). This is while the old system has fixes and updates alongside

legecha's avatar
legecha's avatar LeonardCha...8yrs agoLaravel
4
1
Last reply by LeonardChallis 8yrs ago
shanedara's avatar

Same Origin Policy woes :(

I am building an eCommerce app that builds html elements into a shop owners online store. These elements will have data that comes from my app's API. I have created a js script to build the DOM elements and ajax to contact my api for the data. The idea being that a shop owner drops this js script into their DOM and thats it. But the browser is not allowing me to access my api b

shanedara's avatar
shanedara's avatar shanedara8yrs agoJavaScript
0
1
PaulDiamant's avatar

Multiple authentication across subdomains

I'm creating an ecommerce platform where users can make their own shops and get a subdomain. Laravel can handle authentication but how will I go about handling authentication in different sub domains? So each subdomain has its own session and there's one table of users for all stores globally.

PaulDiamant's avatar
PaulDiamant's avatar martinbean8yrs agoLaravel
2
1
Last reply by martinbean 8yrs ago
agapito78's avatar

Workflow Libraries ( What is recomended for Laravel? Simfony Workflow?)

I'm considering to use Simfony workflow in Laravel 5.4 for an eCommerce Orders Processing Workflow. I'm not sure it is recomended for Laravel, or if I should just develop a simple workflow from scratch or using a library like Simfony Workflow. Does anyone have any recommendation? Simfony for Laravel: https://packagist.org/packages/brexis/laravel-workflow Tutorial for Simfony: h

agapito78's avatar
agapito78's avatar larabeginn...7yrs agoLaravel
3
1
Last reply by larabeginner 7yrs ago
Kenneth_H's avatar

UnitTest/FeatureTest result differs from actual result from the browser

Hi I am currently coding an ecommerce project using TDD and have come to the point where I want to make sure that if a user for some reason bypasses the builtin browser validation to not add a negative quantity to the shopping cart. The way this is done is by having the Cartitem model implement a check in the save method. This checks if the quantity field is less than zero and

Kenneth_H's avatar
Kenneth_H's avatar Kenneth_H8yrs agoTesting
0
1
marimuthudm's avatar

Best way to integrate paypal payment gateway in laravel?.

I am going to build a ecommerce web site using laravel 5.4. I am going to keep paypal for payment option. How to integrate paypal in laravel 5.4? or what is the best package to integrate ?

marimuthudm's avatar
marimuthudm's avatar marimuthud...8yrs agoLaravel
2
1
Last reply by marimuthudm 8yrs ago
ershubham's avatar

How to prevent Session id to get re-generate after login

Hello there, I am coding for ecommerce project the problem i am facing that the session id get regenerate after the Auth login is done, that cause us to track the cart item. please help me the procedure how to save session id from getting regenerate. thanks in advance

ershubham's avatar
ershubham's avatar Snapey8yrs agoLaravel
5
1
Last reply by Snapey 8yrs ago
jocker132's avatar

Use Angular 4 with Laravel

Dears, I want to create an e-commerce website. And for that i plan to use laravel for backend (rest api) and angular 4 for the client side (front-end). Is this a good approach or not ?

jocker132's avatar
jocker132's avatar jocker1328yrs agoLaravel
0
1

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.