-
AuthorPosts
-
May 1, 2014 at 12:50 am #258640
Hi all,
I’d like to create a single product page using the woocommerce shortcode [product_page id=”99″]
The goal is to be able to style the page using the advanced layout builder. When I create a page using the shortcode, the graphics and text are not displaying properly, and I also get Fatal error: Call to a member function get_upsells() on a non-object.
Any help is appreciated.
May 1, 2014 at 12:44 pm #258816Hi gcibura1!
Thank you for using the theme!
Please add this on Quick CSS or custom.css:
div.product div.summary { float: none; width: 100%; } div.product div.images { float: none; width: 100%; }
Best regards,
IsmaelMay 1, 2014 at 1:27 pm #258832Ismael,
Thank you for the quick response. Everything looks good now except for the fatal error:
Fatal error: Call to a member function get_upsells() on a non-object in /wp-content/plugins/woocommerce/templates/single-product/up-sells.php on line 14
Thank you fro any assistance
May 1, 2014 at 8:54 pm #259048Hi!
thanks for the notice. I was able to fix the bug, the next minor update will include the bugfix :)
Regards,
KriesiMay 1, 2014 at 8:55 pm #259049thank you Kriesi
May 1, 2014 at 9:46 pm #259072One other thought – using the woocommerce shortcode [product_page id=”99″] doesn’t allow me to use any other advanced layout builder items – it completely erases them on the page. I wasn’t sure if your fix would include the ability to use the layout builder on a page that has woocommerce shortcodes in it.
Thank you
May 2, 2014 at 10:12 am #259275Hey!
Glad it is working now.
I tested this on my end and all the avia elements are added properly along with the woocommerce shortcode. What are the elements that you’re trying to add? Are you working on the default editor or the advance layout builder?
Regards,
IsmaelMay 2, 2014 at 6:20 pm #259513Hi,
Using the default editor or the avia editor are the same – all the content disappears on the screen. Only the single product is there. Just trying to add text above the product in 3 columns doesn’t work.
Thank you for helping.
May 3, 2014 at 11:18 am #259661Hey!
Do you mind posting the login details here? We would like to check it. Thanks!
Cheers!
IsmaelMay 4, 2014 at 1:34 pm #259936This reply has been marked as private.May 6, 2014 at 3:33 am #260531Hey!
Do you mean when you add a shortcode into a text element of the Avia Layout Builder or the visual editor? The visual editor and the ALB can never work together if that is what you were trying to do.
Cheers!
DevinMay 6, 2014 at 4:39 am #260552Hi,
Thank you for taking the time to help me. Even if I use the Default Editor with the Woocommerce [product_page id=”3914″] shortcode, and add some simple text, the text doesn’t show up. Please let me know if I don’t understand. Thank you again.
May 8, 2014 at 6:45 pm #261924The only thing I could suggest would be to test the same thing using one of the default themes and see if its a WooCommerce or Enfold thing.
May 9, 2014 at 3:40 am #262104Kriesi, I updated to 2.7.1 and the fatal error still exists. I wasn’t sure if 2.7.1 as supposed to be the release that fixed this or not. Thank you for always helping.
May 12, 2014 at 3:12 pm #263291Hey!
Yes, it was included in 2.7.1. Where is it still happening?
Best regards,
DevinMay 12, 2014 at 5:08 pm #263362This reply has been marked as private.May 12, 2014 at 5:52 pm #263377The problem happens when there are other items in the store with the same category – this will happen on a fresh database, new Enfold files, new Woocommerce, no plugins installed, when creating a page with a single product shortcode. I can duplicate this anytime.
-
AuthorPosts
- The topic ‘Can't create single product page using woo shortcodes’ is closed to new replies.