notanothercliche
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Unable to add items to cart … Your cart is currently empty!I’m embarrassed to say that I hadn’t tried a default theme, and that solved it. Now going back to identifying what broke in my custom theme. Thank you!
Forum: Plugins
In reply to: [WooCommerce] [products] shortcode, remove add to cart button@riaanknoetze and @shameemreza thank you both for the hook references. These are incredibly helpful. Bookmarking them all!
Forum: Plugins
In reply to: [WooCommerce] [products] shortcode, remove add to cart buttonThank you for responding. With some trial and error using different hooks, I was able to remove the add to cart button from [products] and the related products shown on each product page.
Here’s how I did that:
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );Is there any online documentation for more of the hooks to avoid the trial and error method in future? Thanks!!!
Forum: Plugins
In reply to: [Ultimate Addons for SiteOrigin] Testimonial Carousel speed settingYou’ll have to edit the testimonials.php file directly for this. It was the only way I found.
Around line 126, you’ll find this chunk of code.
$(‘.testimonial_carousel’).owlCarousel({
autoPlay: 3000, //Set AutoPlay to 3 seconds
navigation:false,
items : 1
});Change autoPlay:3000 to a higher number. 3000 milliseconds is 3 seconds, so you want to go up from there. I set mine to 18000, for instance.
In case you need to find testimonials.php, here’s where to find it…
wp-content/plugins/addon-so-widgets-bundle/extra-widgets/testimonials/testimonials.php
I hope that helps!