Git Product home page Git Product logo

module-catalog-sample-data-venia's Introduction

Magento_CatalogSampleDataVenia

Sample data for Magento PWA

Creates Venia simple products and their required categories and attributes

Update 2/20/2020

  • Added sample data for additional products types: Grouped, Bundle, Virtual & Downloadable
  • Virtual and Downloadable products are included in a New Products Category
  • Bundle and Grouped products are listed in Accessories->Jewelry
  • Images and downloadable assetts are included in the sample-data-media-venia module

module-catalog-sample-data-venia's People

Contributors

jeffbritts avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

module-catalog-sample-data-venia's Issues

Fresh Sample data install is failing on S3 enabled cloud env.

Steps - Try to install venia sample data on S3 storage enabled cloud
"magento/module-catalog-sample-data-venia": "dev-master",
"magento/module-configurable-sample-data-venia": "dev-master",
"magento/module-customer-sample-data-venia": "dev-master",
"magento/module-sales-sample-data-venia": "dev-master",
"magento/module-tax-sample-data-venia": "dev-master",
"magento/sample-data-media-venia": "dev-master"

Issue -

Unable to apply data patch Magento\CatalogSampleDataVenia\Setup\Patch\Data\InstallDownloadableProducts for module Magento_CatalogSampleDataVenia. Original exception message: Warning: file_get_contents(<path>): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
 in /app/vendor/magento/module-catalog-sample-data-venia/Model/Downloadable/Converter.php on line 152

Expected - Cloud deployment should be success.

Solution - $data = base64_encode(file_get_contents($linkPath)); to use DriverInterface

Fresh Sample data install is failing on S3 enabled cloud env.

Steps - Try to install venia sample data on S3 storage enabled cloud
"magento/module-catalog-sample-data-venia": "dev-master",
"magento/module-configurable-sample-data-venia": "dev-master",
"magento/module-customer-sample-data-venia": "dev-master",
"magento/module-sales-sample-data-venia": "dev-master",
"magento/module-tax-sample-data-venia": "dev-master",
"magento/sample-data-media-venia": "dev-master"

Issue -

Unable to apply data patch Magento\CatalogSampleDataVenia\Setup\Patch\Data\InstallDownloadableProducts for module Magento_CatalogSampleDataVenia. Original exception message: Warning: file_get_contents(<path>): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
 in /app/vendor/magento/module-catalog-sample-data-venia/Model/Downloadable/Converter.php on line 152

Expected - Cloud deployment should be success.

Solution - $data = base64_encode(file_get_contents($linkPath)); to use DriverInterface

Sample Data for Virtual Product Type

As Venia supported feature set extending, sample data needs to support new product types.

Product type: Virtual
Product sub-type: Service
Product name: Right Fit Tailoring
Options: 1 year, 2 years, 5 years
Product custom attributes:

  • custom fit tailoring
  • easy re-alteration
  • quality guaranteed stick work
  • personalized patterns

Include new default attribute to the sample data of virtual product attribute set :
attribute name: sub-type
Attribute input type: dropdown
Attribute values: Service, Warranty, Consultation

Mockup

Invalid bundle option type "drop-down" in fixture

reproduce

  1. Install sample data, go to Luma based storefront and visit the "Night Out Collection" bundle product.
  2. For the option "Cirque Earrings" you will see the message There is no defined renderer for "drop-down" option type.

issue
In the fixture fixtures/Bundle/jewelry_bundle.csv, the option type is set to the non-existent type "drop-down".

solution
Change option type to "select".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.