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

Paul_Fry's avatar

Frontend / Backend seperation compile separate less

Hi Guys, I'm struggling with a problem. I'm in the process of moving an existing e-Commerce sure to a new Laravel 5 app. They have entirely different front-end / backend templates, each with a bunch of .less files. Could someone help me work out how to compile each .less file and store in a separate directory. ie. 'resources/assets/less/frontend.less' -> / public/css/style.c

Paul_Fry's avatar
Paul_Fry's avatar Paul_Fry10yrs agoMix
3
1
Last reply by Paul_Fry 10yrs ago
jjudge's avatar

Building with workflow at the core

I am embarking on a new project that feels like it would revolve around a workflow engine. It has data coming in from various sources, going out to various destinations, and working through the system, taking on various states, linking to other data etc. On top of that will be admin pages to monitor what is going on inside the system. I realise that is pretty vague, but the who

jjudge's avatar
jjudge's avatar broefs9yrs agoGeneral
6
1
Last reply by broefs 9yrs ago
cizario's avatar

DUPLICATE the default laravel 5 Auth component

how to DUPLICATE the default laravel 5 Auth component in the proper way ? no external package needed. i'm developing ecommerce solution and i have to clearly separate between the users profiles ( tables, sessions ... )

cizario's avatar
cizario's avatar BENderIsGr...11yrs agoLaravel
9
1
Last reply by BENderIsGr8te 11yrs ago
cchacholiades's avatar

How to integrate one page checkout?

How should I best integrate one page checkout for an ecommerce system I created with Laravel? I am after a solution that should submit data for different forms in steps.

cchacholiades's avatar
cchacholiades's avatar Ruffles11yrs agoGeneral
1
1
Last reply by Ruffles 11yrs ago
MehulBawadia's avatar

Laravel 5 password reset not working

I am working on laravel 5 eCommerce web portal. I am having an issue when the user updates the password using the ready made scripts. The issue is that I can send the link to the customer perfectly without any issue and the customer can change his password also. But when logged out and re-logging in, I get the error as Invalid credentials. In my routes.php, I have this: Route::

MehulBawadia's avatar
MehulBawadia's avatar webdevmati...5yrs agoGeneral
19
6
Last reply by webdevmatics 5yrs ago
MehulBawadia's avatar

Laravel 5 - blurry image after upload - intervention

I am making an eCommerce web portal. I am trying to upload the image in different resolutions, which is working completely fine. But the problem is that, if I view it in the browser after uploading, I get to see the blurry image which is not what I want. I want that after the upload, the image should be clearly seen and it should not be blurry. Here's the controller method for

MehulBawadia's avatar
MehulBawadia's avatar flyingkiwi10yrs agoGeneral
3
3
Last reply by flyingkiwi 10yrs ago
ruchit288's avatar

Groupby with eloquent

Hello I am working on one e-commerce portal in that i am stuck in CMS static pages module. Below are the tables structure which i am using CMS static pages users :- id,user_name user_pages :- id,page_name user_pages_content:- id, user_id, user_page_id, content Relationship user_pages have one-to-many relationship with user_pages_content users have one-to-many relationship wi

ruchit288's avatar
ruchit288's avatar ruchit28811yrs agoEloquent
0
1
MehulBawadia's avatar

Update the value if same key of array or insert as new value

I am making an eCommerce web application and I am a newbie. What I am trying to achieve is when a product exists in the session, I want to update the quantity of that product when Add to Cart button is clicked. And if it doesn't exists in the session, I want to insert it in the session. Code that I have tried so far public function store( $id ) { $product = Product::fi

MehulBawadia's avatar
MehulBawadia's avatar foxted11yrs agoGeneral
3
1
Last reply by foxted 11yrs ago
MehulBawadia's avatar

Laravel 5: Multiple User Authentication System

I am trying to make an eCommerce web application using Laravel 5. But it seems that I am stuck at the very first stage of it - Authentication. Well, In my application, there are 2 entities (Administrator and the Normal User). I have created the administrator table having columns id, name, email and password using the migration. After some research, I came to know that in the Ad

MehulBawadia's avatar
MehulBawadia's avatar shahinul8711yrs agoGeneral
10
1
Last reply by shahinul87 11yrs ago
bbloom's avatar

Jeffrey, and to an extent the serious Laracasts subscribers, are subject to vitriol. My 2c

I appreciate @JeffreyWay tweeting https://twitter.com/jeffrey_way/status/585193080221016067. Laravel and Laracasts has achieve tremendous and deserved success, to the point of moving into a certain mainstream. Which means, becoming more and more of a lightening rod of other peoples' psychology and pressure. Someone asked in Laracast if anyone knows of a L5 ecommerce package ava

bbloom's avatar
bbloom's avatar toniperic11yrs agoGeneral
6
1
Last reply by toniperic 11yrs ago
luoshiben's avatar

Table inheritance strategies

Hi All, In my current project I have various types of users. For sake of example, let's say the types include admin (will access back-end administrative portals), manager (will access dashboards), and customer (uses the front-end ecommerce system). All of these user types have a set of fields in common, including username, email, name, and password. However, each type also has

luoshiben's avatar
luoshiben's avatar luoshiben11yrs agoGeneral
7
4
Last reply by luoshiben 11yrs ago
buffthus's avatar

shoping cart

Is there any good ecommerce cms based on laravel 4.2 ?

buffthus's avatar
buffthus's avatar buffthus11yrs agoGeneral
0
1
karolf's avatar

[PHPSpec] - should I need to tell a mock what it should return twice?

Hi mates, I want to start using PHPSpec so I'm start with two simple ecommerce functionality classes. The first class is intented to calculate percent of a given number called PercentNumberCalculator and the second class called PriceCalculator is responsible for applying discount for a given price which is using a PercentNumberCalculator collabolator and I need a clarification

karolf's avatar
karolf's avatar karolf11yrs agoTesting
0
1
david75's avatar

Weird error in log

Hello everybody, this is my first post in this forum. My name is David and I've a company in Madrid related to ecommerce and web development. I've being working with Laravel since a year, after being into PHP since 1998. I've already done a few sites with it (10+), and it's part of our main stack for webdev. Today I've received an email from one app of mine app with a very stra

david75's avatar
david75's avatar david7511yrs agoGeneral
0
1
ruchit288's avatar

ACL

I want to develop E-Commerce project .In that i am creating ACL module. SO ACL module is easy to implement and functionality compare to other framework like (Cake php or CI)

ruchit288's avatar
ruchit288's avatar DMA11yrs agoGeneral
4
1
Last reply by DMA 11yrs ago
gputignano's avatar

Customers Vs Users

Accordind to your experience in an ecommerce site create 2 separate tables (the first for customers and the second for admins) is better than create one only table for both?

gputignano's avatar
gputignano's avatar sitesense11yrs agoGeneral
6
1
Last reply by sitesense 11yrs ago
kfirba's avatar

Gathering statistics on products and nested resourceful controllers

Hello! I'm planning to build an eCommerce application. I was starting thinking about the required functionality and one of the functionality will be gathering statitics about products for the admins. currently I'm facing few difficulties. 1. How do I correctly nest the categories controller with the products controller? (Should I even do that?) What I mean is that I want th

kfirba's avatar
kfirba's avatar pmall11yrs agoGeneral
5
1
Last reply by pmall 11yrs ago
j-p's avatar

"Dynamically" sort relationship query or its result

For a client I am working on a simple e-commerce application. One relationship in there is as follows (all hasMany): shop.items.accessorygroups.accessories If a shop is requested it directly queries all its items etc. The items and accessory tables both hold a category column based on which my client wants to have the output of the items/accessories sorted in the view very s

j-p's avatar
j-p's avatar ilmarinen11yrs agoGeneral
18
1
Last reply by ilmarinen 11yrs ago
fnwbr's avatar

Repository Pattern with Data-Tables & Filters?

Hello guys, I'm starting to rewrite an app with Laravel 5 which currently does not use any framework, it is basically only PHP with some hand-made / some thrown-in libraries for templating, database stuff etc. It consists out of a e-commerce / online-shop frontend part, where visitors can simply browse through categories, view items, put them into their cart and then order th

fnwbr's avatar
fnwbr's avatar pmall11yrs agoGeneral
4
1
Last reply by pmall 11yrs ago
jasonherndon's avatar

Are Foreign Keys ALWAYS a good idea? #FK

So I'm in love with how easy it is to add and define foreign key constraints within Laravel. My question is not about how to do them as much as it is - should I always be adding them - or just salt/peppering them where I'm okay with permanent data loss due to cascading deletes? While I get all of the benefits of cascading deletes I've read online that cascading deletes aren't

jasonherndon's avatar
jasonherndon's avatar JarekTkacz...11yrs agoGeneral
5
1
Last reply by JarekTkaczyk 11yrs ago
jakeryansmith's avatar

Building a home delivery app

I'm trying to implement home delivery in an e-commerce app I'm building. I was wondering if anyone had any experience on how to validate that an address exists within a certain zone. I'm currently using Google maps to create polygon overlays for each delivery zone. I can use Google's API to check if an address falls within these zones, and that works fine, I was just wondering

jakeryansmith's avatar
jakeryansmith's avatar t611yrs agoGeneral
4
1
Last reply by t6 11yrs ago
clemenger's avatar

Integrating Sylius components, the data mapper pattern and doctrine

Im struggling with certain decisions regarding the integration of Sylius Components into a Laravel e-commerce package ecosystem. As this would cut our development time massively and leverage a cross community solution. Issues with this approach: Sylius is based off Doctrine ORM that uses the "data mapper" pattern. Unlike Laravel with uses Eloquent and an "active record" patte

clemenger's avatar
clemenger's avatar kzap9yrs agoGeneral
8
1
Last reply by kzap 9yrs ago
tuurbo's avatar

Mysql auto increment multiple ids

I have an e-commerce store i manage and i want to make it look like we get more orders than we do (at least until we start to bring in more business). The below code works and i don't see any problems with it, but i wanted to know if anyone knows of any problems it could create. Thanks! // create 3 blank orders and then delete them DB::beginTransaction(); Order::create([

tuurbo's avatar
tuurbo's avatar bestmomo11yrs agoGeneral
5
1
Last reply by bestmomo 11yrs ago
keyur's avatar

Caching View vs Caching Queries

I'm about to push my site into production, and trying to optimize things. I've set up view caching using before and after filters for my main pages. If I do this, it seems that it is not necessary to cache queries (using the remember feature). Is this a good approach, or is there anything else I am missing out on? These are mainly product and category pages for an ecommerce

keyur's avatar
keyur's avatar keyur11yrs agoGeneral
2
1
Last reply by keyur 11yrs ago
xingfucoder's avatar

Handling Events between differente Application Modules

Imagine that you have your application divided into two parts (subdomains, bounded contexts, sub-packages, or modules) and I'm thinking how to link events betwen this two parts. What would be the better way to firing events from any of these modules and handle it with the other module? For example: E-commerce application: Part. Orders Fire the ProductOrdered event Part. Sup

xingfucoder's avatar
xingfucoder's avatar AlnourAlte...11yrs agoGeneral
3
1
Last reply by AlnourAltegani 11yrs ago
joyparkma's avatar

Laracasts Command Bus

Hello, I am trying to build a Laravel e-commerce site, in which the "Command Bus" approach is used. I have a question about handling placing an order. I guess when user places an order, the followings things will happen: Charge user credit card Create an order object Raise an event of order has been created Persistent the order Send user "order confirmation" email In the

joyparkma's avatar
joyparkma's avatar JeffreyWay11yrs agoGeneral
7
1
Last reply by JeffreyWay 11yrs ago
Woodlandtrek's avatar

Best Practices for Multi-Step form validation (wizard)

Hi, I'm working on an ecommerce project and can't wrap my head around a clean way to validate the information from the checkout process. I'll essentially have 4 steps: 1-Login/Register/GuestCheckout, 2-Shipping Address, 3-Shipping Method, 4-Billing Information. Each step will need to be validated, as well as verify that all information from previous steps is still valid and un

Woodlandtrek's avatar
Woodlandtrek's avatar Woodlandtr...7yrs agoGeneral
25
3
Last reply by Woodlandtrek 7yrs ago
grudge61's avatar

Dynamic menu

I'm building an e-commerce website and I wondering how to list categories in my top menu without passing data, on every method, to view. Someone have any idea how to do it?

grudge61's avatar
grudge61's avatar grudge6111yrs agoGeneral
3
1
Last reply by grudge61 11yrs ago
Sam's avatar

Project Management System

Hi all, So i've recently taken up a position at a company that has a lot of different websites and plans for websites, from a vehicle rental company to several e-commerce product based websites. I have had a look about at certain Project Management systems and have dabbled with a few but I wondered what the Laravel community use or can recommend in terms of managing project r

Sam's avatar
Sam's avatar Sam11yrs agoGeneral
4
1
Last reply by Sam 11yrs ago
kferran's avatar

Command Bus doing too much

I am in the middle of building an ecommerce site and have been implementing the command bus process. I am curious how you guys might handle the situation when creating an order. My current process is this: 1. Post to order controller 2. Fire up command bus passing in all form data from checkout process 3. In the command handler (this is where I am curious), I am sending a requ

kferran's avatar
kferran's avatar catherine2...11yrs agoGeneral
3
1
Last reply by catherine2017 11yrs ago
Bozboz's avatar

Package Development

I'm totally down with external packages that offer generic utility/library-style functionality, and using Composer to bring these in, but I'm curious where "mini-app" style functionality belongs? The kind of functionality that defines its own routes and controllers and slots into your app; a blog being a good example, a generic e-commerce platform being another. Defining rout

Bozboz's avatar
Bozboz's avatar JoshWilley11yrs agoGeneral
4
1
Last reply by JoshWilley 11yrs ago
vandan's avatar

QueryException in Connection.php line 770: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ecommerce.categoris' doesn't exist (SQL: insert into `categoris` (`name`, `updated_at`, `created_at`) values (, 2018-07-20 06:48:35, 2018-07-20 06:48:35

QueryException in Connection.php line 770: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ecommerce.categoris' doesn't exist (SQL: insert into categoris (name, updated_at, created_at) values (, 2018-07-20 06:48:35, 2018-07-20 06:48:35))

vandan's avatar
vandan's avatar vandan7yrs agoLaravel
5
1
Last reply by vandan 7yrs ago

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.