-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Image upload functionality for configurable product variants #84
Open
akhtarkhan1
wants to merge
15
commits into
bagisto:v1.3.3
Choose a base branch
from
akhtarkhan1:master
base: v1.3.3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
85bc7a7
Merge pull request #65 from bagisto/v1.3.3
prateek-webkul b25e38a
Merge pull request #68 from bagisto/v1.3.3
prateek-webkul f3e3415
issue #67 fixed
prateek-webkul 3632949
Merge pull request #71 from prateek-webkul/toggle-module
prateek-webkul 692ceb7
Issue was in uploading image zip file
696870b
Merge pull request #73 from Anmol-Chauhan/master
ghermans 9cf85f5
issue #39 fixed
prateek-webkul 3b3150a
Merge pull request #74 from prateek-webkul/master
prateek-webkul 1d0af75
issue #44 fixed
prateek-webkul 6d5cefe
Merge pull request #75 from prateek-webkul/multilingual-products
prateek-webkul e814fa7
issue #76 fixed
prateek-webkul 3238ada
Merge pull request #77 from prateek-webkul/undefined-key
prateek-webkul 621688b
update the configurable product repository
akhtarkhan1 c023844
added the functionality to add variant images for configurable products
akhtarkhan1 00ddf52
update sample file for simple product
akhtarkhan1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/Database/Migrations/2021_12_28_150311_alter_bulkupload_data_flow_profiles_table.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
use Illuminate\Database\Migrations\Migration; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Support\Facades\Schema; | ||
|
||
class AlterBulkuploadDataFlowProfilesTable extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
Schema::table('bulkupload_data_flow_profiles', function(Blueprint $table) { | ||
$table->string('locale_code'); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down() | ||
{ | ||
// | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/Resources/views/admin/bulk-upload/layouts/nav-aside.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<div class="aside-nav"> | ||
|
||
{{-- button for collapsing aside nav --}} | ||
<nav-slide-button icon-class="accordian-left-icon"></nav-slide-button> | ||
|
||
<ul> | ||
@if (request()->route()->getName() != 'admin.configuration.index') | ||
<?php $keys = explode('.', $menu->currentKey); ?> | ||
@if(isset($keys) && strlen($keys[0])) | ||
@foreach (\Illuminate\Support\Arr::get($menu->items, current($keys) . '.children') as $item) | ||
|
||
@if (!core()->getConfigData('bulkupload.settings.general.status') && $item['key'] == 'catalog.bulkupload') | ||
<?php continue; ?> | ||
@endif | ||
|
||
<li class="{{ $menu->getActive($item) }}"> | ||
<a href="{{ $item['url'] }}"> | ||
{{ trans($item['name']) }} | ||
|
||
@if ($menu->getActive($item)) | ||
<i class="angle-right-icon"></i> | ||
@endif | ||
</a> | ||
</li> | ||
@endforeach | ||
@endif | ||
@else | ||
@foreach ($config->items as $key => $item) | ||
<li class="{{ $item['key'] == request()->route('slug') ? 'active' : '' }}"> | ||
<a href="{{ route('admin.configuration.index', $item['key']) }}"> | ||
{{ isset($item['name']) ? trans($item['name']) : '' }} | ||
|
||
@if ($item['key'] == request()->route('slug')) | ||
<i class="angle-right-icon"></i> | ||
@endif | ||
</a> | ||
</li> | ||
@endforeach | ||
@endif | ||
</ul> | ||
</div> |
2 changes: 1 addition & 1 deletion
2
storage/app/public/downloads/sample-files/bulksimpleproductupload.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
categories_slug,name,description,short_description,sku,price,special_price,special_price_from,special_price_to,inventory_sources,inventories,weight,meta_title,meta_keywords,meta_description,color,size,url_key,tax_category_id,new,featured,visible_individually,status,cost,width,height,depth,type,attribute_family_name,images,guest_checkout | ||
root,temp1,temp1,shortdesc,updatedSKU,100,80,2019-05-02,2020-05-20,default,123,12,Test Title,Test Keyword,Test Description,Red,M,erwer,,1,1,1,1,10,34,34,234,simple,Default,"banner.jpeg,bg.jpg,download.jpeg",1 | ||
root,temp1sdvc,fdh,temp1,temp21,200,80,2019-05-02,2020-05-20,default,124,12,Test Title,Test Keyword,Test Description,Green,M,dsfvg,,1,1,1,1,10,34,34,234,simple,Default,"download (1).jpeg,download (2).jpeg,men-jacket.jpg",1 | ||
root,hurray,temp1,temp1,,300,80,2019-05-02,2020-05-20,default,125,12,Test Title,Test Keyword,Test Description,Yellow,M,rthg,,1,1,1,1,10,34,34,234,simple,Default,"w-jeans.jpeg,w-shirt.jpeg,download (2).jpeg",1 | ||
root,hurray,temp1,temp1,temphurray,300,80,2019-05-02,2020-05-20,default,125,12,Test Title,Test Keyword,Test Description,Yellow,M,rthg,,1,1,1,1,10,34,34,234,simple,Default,"w-jeans.jpeg,w-shirt.jpeg,download (2).jpeg",1 | ||
root,cbv,temp1,temp1,temp41,400,80,2019-05-02,2020-05-20,default,126,12,Test Title,Test Keyword,Test Description,Black,M,temp3,,1,1,1,1,10,34,34,234,simple,Default,"bg.jpg,men-jacket.jpg,w-shirt.jpeg",1 |
Binary file modified
BIN
-873 Bytes
(88%)
storage/app/public/downloads/sample-files/bulksimpleproductupload.xlsx
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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);
?