Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #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.

    #258816

    Hi 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,
    Ismael

    #258832

    Ismael,

    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

    #259048

    Hi!
    thanks for the notice. I was able to fix the bug, the next minor update will include the bugfix :)
    Regards,
    Kriesi

    #259049

    thank you Kriesi

    #259072

    One 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

    #259275

    Hey!

    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,
    Ismael

    #259513

    Hi,

    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.

    #259661

    Hey!

    Do you mind posting the login details here? We would like to check it. Thanks!

    Cheers!
    Ismael

    #259936
    This reply has been marked as private.
    #260531

    Hey!

    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!
    Devin

    #260552

    Hi,

    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.

    #261924

    The 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.

    #262104

    Kriesi, 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.

    #263291

    Hey!

    Yes, it was included in 2.7.1. Where is it still happening?

    Best regards,
    Devin

    #263362
    This reply has been marked as private.
    #263377

    The 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.

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Can't create single product page using woo shortcodes’ is closed to new replies.