vikasmanghani
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Custom product attributes on the Woo/StoreFront HomepageI think I got it.
Customized it via the woocommerce_shop_loop_item_title action hook.
This gets called from content-product.php.
only not sure if this will affect the Shop page too.
Is there a way to get a context of which page is being used(Shop vs Home, etc.)?Forum: Plugins
In reply to: [WooCommerce] Custom product attributes on the Woo/StoreFront HomepageThanks for the quick response.
But I am not so concerned about the product query. More about what gets shown in the result. I want to add a custom attribute to the resulting display of New products on the Homepage and eventually the single product summary.
For single product summary i was able to do it by adding to the single-product template file and using the above procedure. Not able to figure out for the homepage.Forum: Plugins
In reply to: [WooCommerce] Custom product attributes on the Woo/StoreFront HomepageIt seems to be happening via the [products] shortcode called from the storefront theme. When i modified content-widget-product and copied it to my child theme, the changes do not reflect? Could it be another template?
Secondly, is there an action that can be used?