get a product summary plus right float it to match imag
-
Hi, and thanks in advance.
NOTE: NSFW site, maybe some hot images from eBooks covers, no nude but adult romance covers.
I ahve this page that “brings” a product category, reated with this shortcode[products limit="6" columns="1" category="mf" class="product-shortcode" cat_operator="AND" ]
And left-aligned (float) with this CSS
/*Align images to the left*/ div.columns-1 { float: left }
Ok, I tried this code to get a summary/brief
add_action( 'woocommerce_after_shop_loop_item_title', 'jdn_add_short_description', 9 ); function jdn_add_short_description() { // Description linked to product $url = get_the_permalink(); if( $url ) { echo '<span class="title-description"><a href="' . $url . '">' . get_the_excerpt() . '</a></span><br />'; } else { echo '<span class="title-description">' . get_the_excerpt() . '</span><br />'; } }
BUT it gets the summary in ALL pages, not just this one
What I need:
To get a the product summary/brief JUST in this page, right aligned mathing the left aligned images, AND get the Headline, Star Rating, Prie and Get it now also right alignd and Up to math the image, so it all keeps aligned.
is this possible via Code, php, Css, shortcode or is a misconfiguration of woocommere product?
Thanks in advance.
The page I need help with: [log in to see the link]
- The topic ‘get a product summary plus right float it to match imag’ is closed to new replies.