Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #582796

    Hello
    is it possible to add a testimonial element to the product page below the SKU number on the right of the product image?
    also remove the category link from the right of the SKU number?

    #583714

    Hey arranch!

    It will be a lot of custom work to edit the woocommerce product page instead use a plugin like https://wordpress.org/plugins/yith-woocommerce-advanced-reviews/

    https://wordpress.org/plugins/search.php?q=woocommerce+testimonial

    To hide the product catogery please add the below code to Enfold > General Styling > Quick CSS

    .single-product .product_meta .posted_in {
    	display: none !important;
    }
    

    Best regards,
    Vinay Kashyap

    • This reply was modified 8 years, 10 months ago by Vinay.
    #583831

    Thanks Vinnie

    Ok, this isn’t really what I was looking for – I was thinking more of a custom text box that I can add text to from the backend.

    The issue I have is there’s a lot of white space on the right, and no description text showing. I can remove the custom code to show the description on the right again, but then it doesn’t overflow onto full width once it’s gone past the bottom of the image. Is there coding that would make it possible to make the text show as standard on the right under the SKU number, then when it reaches in-line with the bottom of the image/thumbnails that it continues down the page on full width?

    #585188

    Hey!

    Please provide a screenshot of what you’re trying to do. It’s possible to insert more elements in the product page with template hooks. https://docs.woothemes.com/wc-apidocs/hook-docs.html

    This hook might help: https://github.com/woothemes/woocommerce/search?utf8=%E2%9C%93&q=woocommerce_after_single_product_summary

    Example:

    add_action( 'woocommerce_after_single_product_summary', 'ava_extra_elements', 20 );
    function ava_extra_elements() {
    	echo "Something here";
    }

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.