Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Added Image upload functionality for configurable product variants#84

Open
akhtarkhan1 wants to merge 15 commits intobagisto:v1.3.3from
akhtarkhan1:master
Open

Added Image upload functionality for configurable product variants#84
akhtarkhan1 wants to merge 15 commits intobagisto:v1.3.3from
akhtarkhan1:master

Conversation

@akhtarkhan1
Copy link

Added Image upload functionality for configurable product variants

$imagePath = storage_path('app/public/ imported-products/extracted-images/admin/'. $dataFlowProfileRecord->id);

if (!file_exists($imagePath)) {
mkdir($imagePath, 0777, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you use Storage::makeDirectory($imagePath);?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants