Not resolved

wocoommerce integration

Ultra Theme started by m.boccarossa84 Sep 7, 2015 27 replies
m.boccarossa84 Sep 7, 2015 · 4:44 pm #2216

Hi,
i must integrate Ultra theme with Woocommerce, but don’t work…
can i have help?

m.boccarossa84 Sep 21, 2015 · 10:54 am #2337

This reply has been marked as private.

Andrew Misplon Puro Sep 21, 2015 · 11:02 am #2339

Apologies. Checking.

m.boccarossa84 Sep 21, 2015 · 11:03 am #2340

This reply has been marked as private.

Andrew Misplon Puro Sep 21, 2015 · 11:05 am #2341

Thanks. Diving in now. To avoid putting several WooCommerce templates into Ultra I moved around the div closing structure. This allowed us to handle the WooCommerce wrapper from /inc/woocommerce.php and not have to do it all from WooCommerce template files. Sounds like I missed a beat. With you shortly.

m.boccarossa84 Sep 21, 2015 · 11:10 am #2342

This reply has been marked as private.

Andrew Misplon Puro Sep 21, 2015 · 11:15 am #2343

I’m not able to re-create the sidebar issue. Did you use the child theme above or move some of the files over to an existing child theme?

m.boccarossa84 Sep 21, 2015 · 11:18 am #2344

This reply has been marked as private.

Andrew Misplon Puro Sep 21, 2015 · 11:22 am #2345

If you don’t mind, could we perhaps keep private replies for sensitive data, that way others might be able to follow thread. If you’d rather shift everything over to email we can do that too.

The challenge with this integration was that I needed to move the .container close from all template files into footer.php. That’s why all of the Ultra template files are in the child theme. After the next update this won’t be necessary of course. I’d you’d like, please, send me your child theme and I’ll work this up for you. Apologies for the hassle. [email protected].

The warning that @fredriksegeranpt is referring to has to do with the way I’ve moved the title tag from the main area into the Ultra title tag area. I’m working on that right now.

Thanks everyone.

m.boccarossa84 Sep 21, 2015 · 11:32 am #2346

now works! i haven’t updated all rows of footer.php, and in the update i lost tag

Thanks for the support!

Andrew Misplon Puro Sep 21, 2015 · 11:42 am #2347

Awesome 🙂 Glad that helped.

Once more small change. In /inc/woocommerce.php, please, remove the following:

// Remove the WooCommerce page title
add_filter( 'woocommerce_show_page_title', false );

and replace it with:

if ( ! function_exists( 'ultra_woocommerce_page_title' ) ) :
/**
 * Filter the WooCommerce page title to remove it.
 */
function ultra_woocommerce_page_title() {
	return false;
}
add_filter( 'woocommerce_show_page_title', 'ultra_woocommerce_page_title', 10, 1 );
endif;

Thanks for your help and support.

fredriksegeranpt Sep 21, 2015 · 8:07 pm #2348

Hi!
Thank you very much for the help, Just an other question, is it possible to change the nr of how many products that are shown on each page? Because right now the products are shown on 2 pages even toe there is room for all of my products on one side…

Thanks! 🙂

Andrew Misplon Puro Sep 21, 2015 · 8:08 pm #2349

Sure 🙂 The easiest way to adjust this is from Settings > Reading > Posts per page.

28 posts