Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 104029

particlerealities on "[Plugin: WooCommerce - excelling eCommerce] Duplicate Product Descriptions after 2.0 Update"

$
0
0

This is still unresolved, but I put a band-aid on it for now. The problem seems to be the description tab is seeing the "Product Short Description" box as being empty, so it's pulling the text from the Long Description box. If I cut the text from the long description box and paste it into the Short Description box, the formatting doesn't work as well.

I tried keeping the text in the long description box, then simply put a "." (period) in the Short Description box, but then I got three tabs - a short, long and review tab.

For now I went into the woocommerce-template.php file and removed the following lines of code so it would stop calling the description tab...

if ( ! function_exists( 'woocommerce_product_description_tab' ) ) {

	/**
	 * Output the description tab content.
	 *
	 * @access public
	 * @subpackage	Product/Tabs
	 * @return void
	 */
	function woocommerce_product_description_tab() {
		woocommerce_get_template( 'single-product/tabs/description.php' );
	}
}
// Description tab - shows product content
		if ( $post->post_content )
			$tabs['description'] = array(
				'title'    => __( 'Description', 'woocommerce' ),
				'priority' => 10,
				'callback' => 'woocommerce_product_description_tab'
			);

Viewing all articles
Browse latest Browse all 104029

Trending Articles