Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Arranged components of product page in one folder (#627) #628

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `VueObserveVisibility` and `VueLazyload` dependency

### Changed / Improved
- Created a folder product in components(#627)
- Arranged components of product page in product folder(#627)

## [1.0.4] - 04.01.2020

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<script>
import { onlineHelper } from '@vue-storefront/core/helpers';
import { SfAddToCart, SfAlert } from '@storefront-ui/vue';
import AProductQuantity from 'theme/components/atoms/a-product-quantity';
import AAddToCart from 'theme/components/atoms/a-add-to-cart';
import AProductQuantity from 'theme/components/product/a-product-quantity';
import AAddToCart from 'theme/components/product/a-add-to-cart';
export default {
name: 'MProductAddToCart',
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
import { ModalList } from 'theme/store/ui/modals';
import { mapState, mapActions } from 'vuex';
import { SfHeading, SfTabs, SfDivider } from '@storefront-ui/vue';
import AProductRating from 'theme/components/atoms/a-product-rating';
import AProductAttribute from 'theme/components/atoms/a-product-attribute';
import MReviewList from 'theme/components/molecules/m-review-list';
import AProductRating from 'theme/components/product/a-product-rating';
import AProductAttribute from 'theme/components/product/a-product-attribute';
import MReviewList from 'theme/components/product/m-review-list';

export default {
name: 'MProductAdditionalInfo',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<script>
import { ProductBundleOption } from '@vue-storefront/core/modules/catalog/components/ProductBundleOption';
import { SfHeading, SfRadio, SfDivider, SfAlert } from '@storefront-ui/vue';
import AProductPrice from 'theme/components/atoms/a-product-price'
import AProductQuantity from 'theme/components/atoms/a-product-quantity'
import AProductPrice from 'theme/components/product/a-product-price'
import AProductQuantity from 'theme/components/product/a-product-quantity'

export default {
mixins: [ProductBundleOption],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<script>
import { ProductBundleOptions } from '@vue-storefront/core/modules/catalog/components/ProductBundleOptions'
import MProductOptionBundle from 'theme/components/molecules/m-product-option-bundle'
import MProductOptionBundle from 'theme/components/product/m-product-option-bundle'

export default {
mixins: [ProductBundleOptions],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<script>
import config from 'config'
import { SfGroupedProduct } from '@storefront-ui/vue';
import AProductPrice from 'theme/components/atoms/a-product-price'
import AProductPrice from 'theme/components/product/a-product-price'
export default {
name: 'MProductOptionsGroup',
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

<script>
import { SfHeading, SfIcon, SfPrice, SfButton } from '@storefront-ui/vue';
import AProductRating from 'theme/components/atoms/a-product-rating';
import AProductPrice from 'theme/components/atoms/a-product-price';
import AProductRating from 'theme/components/product/a-product-rating';
import AProductPrice from 'theme/components/product/a-product-price';
import { createSmoothscroll } from 'theme/helpers'
export default {
name: 'MProductShortInfo',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ import get from 'lodash-es/get'
import config from 'config';
import { mapGetters, mapActions } from 'vuex';
import { SfButton } from '@storefront-ui/vue';
import MProductGallery from 'theme/components/molecules/m-product-gallery';
import MProductShortInfo from 'theme/components/molecules/m-product-short-info';
import MProductAddToCart from 'theme/components/molecules/m-product-add-to-cart';
import MProductAdditionalInfo from 'theme/components/molecules/m-product-additional-info';
import MProductOptionsConfigurable from 'theme/components/molecules/m-product-options-configurable';
import MProductOptionsBundle from 'theme/components/molecules/m-product-options-bundle';
import MProductOptionsCustom from 'theme/components/molecules/m-product-options-custom';
import MProductOptionsGroup from 'theme/components/molecules/m-product-options-group';
import MProductGallery from 'theme/components/product/m-product-gallery';
import MProductShortInfo from 'theme/components/product/m-product-short-info';
import MProductAddToCart from 'theme/components/product/m-product-add-to-cart';
import MProductAdditionalInfo from 'theme/components/product/m-product-additional-info';
import MProductOptionsConfigurable from 'theme/components/product/m-product-options-configurable';
import MProductOptionsBundle from 'theme/components/product/m-product-options-bundle';
import MProductOptionsCustom from 'theme/components/product/m-product-options-custom';
import MProductOptionsGroup from 'theme/components/product/m-product-options-group';
import { ModalList } from 'theme/store/ui/modals';

export default {
Expand Down
4 changes: 2 additions & 2 deletions pages/Product.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ import { ReviewModule } from '@vue-storefront/core/modules/review';
import { registerModule } from '@vue-storefront/core/lib/modules';
import { onlineHelper, isServer } from '@vue-storefront/core/helpers';
import { catalogHooksExecutors } from '@vue-storefront/core/modules/catalog-next/hooks';
import MRelatedProducts from 'theme/components/molecules/m-related-products';
import OProductDetails from 'theme/components/organisms/o-product-details';
import MRelatedProducts from 'theme/components/product/m-related-products';
import OProductDetails from 'theme/components/product/o-product-details';
import AImagesGrid from 'theme/components/atoms/a-images-grid';
import { checkWebpSupport } from 'theme/helpers'
import { SfSection, SfBanner, SfBreadcrumbs } from '@storefront-ui/vue';
Expand Down