- This topic has 9 replies, 2 voices, and was last updated 4 months, 3 weeks ago by
David.
-
AuthorPosts
-
August 25, 2020 at 3:22 am #1417200
Jean michel
Hi there,
I use a generatepress child theme & gp premium, with woocommerce and MultiEventCalendar plugin and his Woocommerce addon.
When I purchase an event, the add-t-cart function doesn’t works neither the cart page.
When I deactivate generatepress, it work’s fine.
I’ve activaded and deactivated woocommerce element. No change.
Can I have some help please ?
Thaks for helpAugust 25, 2020 at 5:55 am #1417324David
StaffCustomer SupportHi there,
can you try it without your child theme?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 25, 2020 at 6:02 am #1417325Jean michel
Hi David,
mmm I tried and… it work’s.
Where can be the problem ?August 25, 2020 at 6:38 am #1417365David
StaffCustomer SupportDo you have any custom templates or functions in your child theme?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 25, 2020 at 6:43 am #1417373Jean michel
Yes, only theese one :
//-------------------------------------------------------------------------------// // Templates //-------------------------------------------------------------------------------// function oueb_content() { ob_start(); if(is_front_page()) { //echo get_the_content(); get_template_part('templates/content_home'); } else { echo get_the_content(); get_template_part('templates/content_home'); } $apply_content = ob_get_clean(); return $apply_content; //return $content; } add_filter('the_content','oueb_content'); function oueb_before_page_title(){ ob_start(); $postID = get_the_ID(); $thumbnailID = get_post_thumbnail_id($postID); $featured_image_src = wp_get_attachment_image_url($thumbnailID,'full'); $title = esc_html(get_the_title($postID)); ?> <div class="latelier_featured_image" style="background-image: url('<?= $featured_image_src;?>');padding: 100px 0"> <div class="latelier_entry_title"> <h1 class="entry-title" itemprop="headline"><?= $title;?></h1> </div> </div> <?php $apply_content = ob_get_clean(); echo $apply_content; } add_action('generate_before_page_title','oueb_before_page_title');
August 25, 2020 at 6:55 am #1417394David
StaffCustomer SupportCan you try removing them to see if they are the issue ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 25, 2020 at 7:05 am #1417413Jean michel
OK… thnks to you, I found the problem. It was a jquery enqueue script.
August 25, 2020 at 7:06 am #1417416David
StaffCustomer SupportAha – glad to hear you found the issue 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 25, 2020 at 7:42 am #1417457Jean michel
Thanks again
August 25, 2020 at 7:52 am #1417600David
StaffCustomer SupportYou’re welcome
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.