Skip to content

Commit

Permalink
Arranged components of product page in one folder (vuestorefront#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
azkyakhan committed May 20, 2021
1 parent bedc696 commit c7ce126
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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

0 comments on commit c7ce126

Please sign in to comment.