Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1365609
    hnr2802
    Participant

    Hi there,
    I recently i purchased the X Theme and I would like to setup site like The integrity 1 layout. my issues are:
    I will have to different main pages. main site & shop site like – http://demo.theme.co/integrity-1/
    1) How do i set the layout for my Shop landing page like from scratch – http://demo.theme.co/shop-integrity/
    2) How do i set the menu for my Product page same as Shop page. Currently it using the Primary menu.

    Please help me

    #1365622
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Different stacks has unique features and functionality which can not be merged with other stacks. However, could you please provide us with your current site URL? so that we can assist you with the possibility.

    Thanks!

    #1366729
    hnr2802
    Participant
    This reply has been marked as private.
    #1366799
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Integrity is a stack. When you install X, by default, Integrity is the default stack being used. You can switch stack in the customizer. Simply go to Appearance > Customize > Stacks. You can install the Integrity 1 demo content right in your dashboard. You can go to X Addons > Demo Content. For more details about our demo contents, please check it here: https://community.theme.co/kb/demo-content/

    Please keep in mind the this demo sites:
    http://demo.theme.co/integrity-1/
    http://demo.theme.co/shop-integrity/

    are two separate installations. By default, when you choose Integrity 1, as soon as you install WooCommerce, you will have the same layout as the Shop demo provided that you already have some products. If you want to install the WooCommerce dummy content, please check this guide: https://docs.woocommerce.com/document/importing-woocommerce-dummy-data/

    If you want to have a different menu for your product and shop page, please check this thread: https://community.theme.co/forums/topic/shop-menu-works-great-need-few-modifications/

    Hope this helps.

    #1367618
    hnr2802
    Participant

    Thanks for the guides.
    But previously before reading you reply, i successfully setup Demo content for Integrity 1 as per instructions. I actually wanted the Integrity demo templates to start from. i just want an ease just replacing the photos & content from the Integrity 1 without building from scracth, but it seems like an empty pages.

    and now im having problem setting up the Demo Content. i received an error message “We’re sorry, the demo failed to finish importing.” now that didnt happen on my first demo setup. All other demo are ok, but Integrity 1 only i received this message.

    #1367739
    Christian
    Moderator

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

    Thanks.

    #1367853
    hnr2802
    Participant
    This reply has been marked as private.
    #1368135
    Rad
    Moderator

    Hi there,

    Before we continue, please note that there are two kinds of the demo. They are standard and expanded demo, the standard demo only contains the styling and placeholders, it’s basically almost empty demo since you’re the one that should fill that up. While expanded demo is the one that has a complete or finished look.

    The import fails due to this

    cURL error 28: Operation timed out after 4870 milliseconds with 151779 out of 219476 bytes received

    I went ahead and directly change the timeout in the import core. Please try importing it again.

    Thanks!

    #1368340
    hnr2802
    Participant

    Thanks for the quick reply. The demo is working, but how do i import the Shop home template demo?

    #1368401
    hnr2802
    Participant
    This reply has been marked as private.
    #1368450
    Christopher
    Moderator

    Hi there,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Please add following code in child theme’s functions.php file :

    //Load different menu on shop page
    
    add_filter( 'wp_nav_menu_args', 'custom_shop_menu' );
    
    function custom_shop_menu( $args ) {
    
        if ( x_is_shop() || is_cart() || is_checkout() || is_account_page() || x_is_product() ) {
            $args['theme_location'] = 'primary';
            $args['menu'] = 'shopr-menu';
          }
      
        return $args;
    }

    Create a menu and name it shop-menu.

    Hope it helps.

    #1368512
    hnr2802
    Participant

    Actually i have created a shop-menu. And select the required menu as attached picture. But it only working on my Cart, My Account & Checkout page only. the Shop home using the primary menu. please advice

    #1368523
    Christopher
    Moderator

    Hi there,

    Please update your code to :

    //Load different menu on shop page
    
    add_filter( 'wp_nav_menu_args', 'custom_shop_menu' );
    
    function custom_shop_menu( $args ) {
    
        if ( x_is_shop() || is_product_category() || is_cart() || is_checkout() || is_account_page() || x_is_product() ) {
            $args['theme_location'] = 'primary';
            $args['menu'] = 'shopr-menu';
          }
      
        return $args;
    }

    Hope it helps.

    #1368537
    hnr2802
    Participant

    hi, manage to change the menu without using the code.
    WooCommerce is working, I have a couple of products that can be viewed as a single product, but they will not display on my shop page.

    my shop page is http://ocbccyclekl.com/shop/

    please advice.

    #1368539
    Christopher
    Moderator

    Hi there,

    Select shop page under Woocommerce -> Settings -> Products -> Display. Currently registration page is your shop page.

    Hope it helps.

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