Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1219811
    mwyanniello
    Participant

    Hi there,
    I am trying to see if I am able to insert the woocommerce product shortcode into cornerstone.

    On a page in cornerstone I added [product_page id=”4326″] in raw content. It displays the product (not correctly) and it removes all of the cornerstone content while giving me this error:

    Fatal error: Call to a member function get_related() on a non-object in /home/content/p3pnexwpnas04_data01/45/3177245/html/wp-content/themes/x/woocommerce/single-product/related.php on line 15

    Is this not something I am able to do? URL and page im referring to is in next private message

    #1219812
    mwyanniello
    Participant
    This reply has been marked as private.
    #1219848
    mwyanniello
    Participant

    Also none of the color options work, when you select a length and then try to select a color and add to cart it does nothing

    #1219961
    Jade
    Moderator

    HI there,

    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 to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1220207
    mwyanniello
    Participant
    This reply has been marked as private.
    #1220349
    Rupok
    Member

    Hi there,

    Are you trying to show a single product or a product page? Make sure you are using the right shortcode – https://docs.woocommerce.com/document/woocommerce-shortcodes/

    For single product, you can try :

    [product id="4326"]

    And the error seems causing by a plugin related to WooCommerce. Perhaps “WooCommerce Memberships’. Let’s try disabling them or just use the usual product page instead of shortcode.

    Thanks!

    #1220872
    mwyanniello
    Participant

    I am trying to show the full product page at the top of my clip-in page. The shortcode [product_page id=”4326″] seems to be over writing everything on that page. I still would like to display my Cornerstone content but I would like the product to display on that page also for easy purchasing.

    Editing the woocommerce templates requires the knowledge of PHP, and I am not that advanced.

    Here is an example of what i would like to try and achieve:
    http://www.bellamihair.com/collections/hair-extensions/products/bambina-18-dirtyblonde-hairextensions-160g-20

    Do you have any suggestions on how I can achieve this, forums, how-tos, anything that would help is appreciated.

    #1221043
    Rupok
    Member

    Hi there,

    When you use product page shortcode, it supposed to overwrite everything on the page. That’s why I suggested you to use the product shortcode instead of product page. However this is not controlled by X rather WooCommerce and you can follow this to know more – https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1219811 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>