- This topic has 5 replies, 2 voices, and was last updated 12 years, 10 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › How to Display Product list with thumbnail image and name only
Hi,
I wants to display the product list when clicking a category like the below image.
[http://mockupwebsite.com/estore/product-list-display.jpg]
How to achieve this? Currently I’m using [wp_eStore_category_products:category_id:2:end] to list products. But it showing the description, price and add-to-cart button. I need to display the thumbnail and Product name only that link to product details page. I have separate page for each products.
Do you have any short-codes or a tweak in code to do this?
The fancy 3 display template might be close to what you want so use that template with the category shortcode. This page has a list of all the available eStore product display templates:
http://www.tipsandtricks-hq.com/ecommerce/stylish-product-display-options-for-wp-estore-829
Check the extra shortcode plugin for more details on which category shortcode to use:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
Yeah… Thank you. I just found that shortcode. Its almost close to what i need. Can we do a little bit tweak in code just to display the thumbnail and name only?
There are some directions here that might help:
https://support.tipsandtricks-hq.com/forums/topic/fancy-3-category-products-css
Hey, Thanks admin. I just edited the function “function show_wp_eStore_fancy3” inside the eStore-extra-shortcodes/shortcode_include.php
I made 3 changes there. changed the price variable to “$show_price=0”. Also commented the below lines.
$output .= '<div class="eStore-fancy3-price-tag"><strong>'.ESTORE_PRICE.': '.print_digi_cart_payment_currency($ret_product->price, WP_ESTORE_CURRENCY_SYMBOL, ".").'</strong></div>';
$output .= eStore_extra_show_button_based_on_condition($id,$ret_product,$button_type,$restriction);
Now there is thumbnail and product name only. Will this tweak affect any other function? Just let me know.
Thanks once again.
This change will only affect the fancy3 display.