Tagged: x
-
AuthorPosts
-
September 4, 2016 at 11:58 am #1160716
sandrayinParticipantHi,
I am having a fatal error related to the upsell function. I added a shortcode [product_page id=” “] into a new page.
Please see here: http://www.lorybloom.com/store/babies/bloomix/September 4, 2016 at 12:35 pm #1160729
ThaiModeratorHi There,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
β Link login to your site
β WordPress Admin username / Password
β FTP AccountDonβt forget to select Set as a private reply. This ensures your information is only visible to our staff.
Thanks.
September 4, 2016 at 7:04 pm #1160901
sandrayinParticipantThis reply has been marked as private.September 4, 2016 at 10:19 pm #1161086
Rue NelModeratorHello There,
Thank you for the very detailed information. I have checked the page and even created a test page. I can confirm that this is a bug in the shortcode. I will be reporting this to our developers for them to investigate further more about this issue. For the meantime, I am not sure though what you would like to display the product inside your page wherein you already have a product page that exactly look like it. The product page is this:
http://www.lorybloom.com/shop/babies/the-bubblegum-car/and you would like to display it on this page:
http://www.lorybloom.com/store/babies/bloomix/Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
Thank you.
September 4, 2016 at 10:29 pm #1161089
sandrayinParticipantHi,
Actually I am trying to achieve this:
http://www.swellbottle.com/shop-swell-bottle/My idea is under the Bloomix series, I have 3 products people can buy and they don’t have to go to each single product page. I am not sure what plugin are they using.. π
September 5, 2016 at 12:22 am #1161170
Rue NelModeratorHello There,
Thanks for the updates! The example url is somehow custom coded or might be using a 3rd party plugin. How about using the product shortcode instead?
[product id="3580"] [product id="3581"] [product id="3578"]Hope this helps.
September 5, 2016 at 12:38 am #1161183
sandrayinParticipantThe thing is I want it to be in list form and have the option to choose and add to cart rather than a button ‘Select Options’. that solution above is using grid display as well. i wonder if essential grid is able to do so? Since we don’t have access to directly ask support from them. not sure if u have the answer for this?
September 5, 2016 at 12:43 am #1161190
Rue NelModeratorHello There,
You can try out Essential Grid. There might be a suitable skin that displays almost the same as what you have in mind. You can check out the skins and examples from here: http://essential.themepunch.com/#examples
Hope this helps.
September 5, 2016 at 2:59 am #1161285
sandrayinParticipantI think the upsell error has been around since last year. still no fix to that? Can help to fix it first?
September 5, 2016 at 3:21 am #1161304
Paul RModeratorHi,
I tried creating a test page and added a product shortcode as content.
I didn’t get a fatal error – http://www.lorybloom.com/xsupport-test/
Can you provide us the url of the page where we can see the issue.
Thanks
September 5, 2016 at 3:24 am #1161305
sandrayinParticipantHi,
Scroll all the way down, you will see it.
Fatal error: Call to a member function get_upsells() on null in /home/lorybloo/public_html/wp-content/themes/x/woocommerce/single-product/up-sells.php on line 15
September 5, 2016 at 3:31 am #1161314
ChristianModeratorWould you mind setting an upsell for that product. Or, in Customize > WooCommerce, disable Upsells
Thanks.
September 5, 2016 at 3:36 am #1161317
sandrayinParticipantI have already disabled the upsell and also the related product options in customizer.
September 5, 2016 at 4:05 am #1161341
Rue NelModeratorHello There,
I have taken some time to investigate this further. To resolve the fatal error, I would recommend that you insert the following in your child theme’s functions.php;
// // Remove UpSells // ============================================================================= function custom_remove_upsells(){ remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15 ); remove_action( 'woocommerce_after_single_product', 'woocommerce_upsell_display', 10 ); remove_action( 'woocommerce_after_single_product_summary', 'x_woocommerce_output_upsells', 21 ); } add_action('init', 'custom_remove_upsells'); // =============================================================================I already tested this code in my local testing server. This code should work.
Please let us know how it goes. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1160716 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
