이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

WooCommerce Stacked Product Layout

설명

By default, WooCommerce displays all single-product summary elements (price, meta, short description and form content) in a single column next to the main product image. This layout works very well with products that contain few form elements, such as Simple or Variable products.

However, this styling/templating pattern is much less suitable for product forms containing multiple input elements, text blocks and/or images. Complex product types, such as Product Bundles and Composite Products, often end up looking squeezed between the main image and sidebar.

Many themes include options for modifying the WooCommerce single-product template layout, sometimes even for individual products. If your theme doesn’t offer this flexibility, this plugin could do the trick.

For WooCommerce versions from 3.3 onwards, the plugin adds a dedicated “WooCommerce > Product Details” section under Appearance > Customize, which allows you to enable a Stacked layout and even associate specific product types with it.

If you are using an older WooCommerce version, navigate to Settings > Products > Display section, and locate the “Force Stacked Layout” option, which provides the same functionality.

Note: Recent versions of Product Bundles and Composite Products offer a built-in solution that works with more themes than the Stacked Product Layout plugin: Navigate to Product Data > Components (Composite Products) or Product Data > Bundled Products (Product Bundles) and locate the Form Location option, then choose Before Tabs to stack the add-to-cart form under the main image and summary.

Important: The plugin may not work if your theme overrides core WooCommerce template functions, or changes the default template action hook priorities!

설치

  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to WooCommerce > Settings > Products > Display and configure the Force Stacked Layout option.

후기

2017년 1월 24일 2 replies
Title says it all. Parts of the add-to-cart stuff is copied to the description section of the page. However, the components stuff is still right to the product image. Would love this to work - but it just does not.
2016년 9월 3일
This is a really good idea for a plugin. I was impressed how much better everything looked and worked. Unfortunately, there is a catch for me, using the Canvas theme, the "Total" price for the composite product (appears next to the add to cart button) loses its formatting. Since the total is now body text size, it looks like I'm trying to trick the customer... not good. If there was any fix or workaround for this I'd be very grateful...
모든 3 평가 읽기

기여자 & 개발자

“WooCommerce Stacked Product Layout”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “WooCommerce Stacked Product Layout”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.2.1

  • Fix – “WooCommerce > Product Details” customizer section visibility.
  • Fix – Compatibility for “Form Location” option, recently introduced in Composite Products, Product Bundles and Mix and Match Products.
  • Tweak – Declare WooCommerce 3.4 support.

1.2.0

  • Fix – Added WooCommerce 3.3 compatibility. Navigate to “Appearance > Customize” and look for the “WooCommerce > Product Details” section.

1.1.7

  • Tweak – Enqueue styles and apply “width: 100%” rule to the ‘stacked-summary’ div.

1.1.6

  • Fix – WooCommerce 3.0 compatibility.

1.1.5

  • Fix – Move the hook-in point from the woocommerce_single_product_summary to the woocommerce_before_single_product action – resolves some issues with themes that shuffle around the summary/description.

1.1.4

  • Fix – Missing product types in plugin settings – issue introduced in v1.1.2.

1.1.3

  • Tweak – Updated plugin name.
  • Tweak – Added woocommerce_full_width_add_to_cart_section_classes filter to allow adding classes to the stacked add-to-cart container.

1.1.2

  • Tweak – Added docblocks.
  • Tweak – Front-end modifications now hooked at the woocommerce_single_product_summary action.
  • Fix – A stray, pesky PHP warning. Shame.

1.1.1

  • Tweak – Plugin name and description.

1.0.2

  • Tweak – Moved settings under Settings > Products > Display.

1.0.1

  • Fix – Static PHP notices. Ops.

1.0

  • Initial version.