New Landing How can we help? Atelier Display Product Category Description under title

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #325556
    Umeed
    Member
    Post count: 4

    Hi,

    As you can see in attachment I want to move the description under category title and move breadcrumb from page title wrap to top of content. I searched a lot on theme options to make this happen but no option to show category description under page title wrap.

    Please help me make that adjustment.

    Also one more question:

    My product single page is displaying like this (http://s21284.p574.sites.pressdns.com/product/11-inch-cobra-natural-satchel/) and I want to make it look like this demo ( http://swiftideas.com/vario-demo/product/hee-chair/ ) which options I need to update?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #325712
    David Martin – Support
    Moderator
    Post count: 20834

    1) Unfortunately that customisation is more then a small modification. As such you would need to work with a developer: http://www.swiftideas.com/customization/.

    2) What do you specifically want to change? The product background color?

    #325714
    Umeed
    Member
    Post count: 4

    Hi David,

    Thanks for the reply. I am also WP developer and I need to find the specific file name which is responsible to display that category title and if possible the line # then I can customize it.

    About the second request yes white bg for product image. I want to know is there any specific option to turn it on or off otherwise custom css can work.

    Thanks 🙂

    #325719
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    The file is the archive-product.php that is inside Atelier/Woocommerce

    You should the Woocommerce Hooks documentation
    https://docs.woocommerce.com/wc-apidocs/hook-docs.html

    -Rui

    #325721
    Umeed
    Member
    Post count: 4

    Hi Rui,

    Thanks for the reply. I know how to remove description from category Content section which the archive-product.php is displaying. But I want to display same description in page title section please check attachment (Displaying Description in Red box). Which file is responsible for displaying category title and breadcrumb in page title wrap section?

    Attachments:
    You must be logged in to view attached files.
    #325728
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Check in atelier/swift-framework/core/sf-page-heading.php.

    Just a heads up, what I did to figure it out it was to inspect the code and grab a specific class like page-heading-breadcrumbs, then you can search inside all the theme files using that value. Sometimes it’s not so direct like in this case.

    -Rui

    #325828
    Umeed
    Member
    Post count: 4

    Hello Rui,

    I found this code in line #299 of sf-page-heading.php

    <?php if ( sf_woocommerce_activated() && is_woocommerce() ) { ?>
       <?php if ( is_product() ) { ?>
       <h1 class="entry-title" <?php echo $article_heading_text; ?>><?php echo $page_title; ?></h1>
       <?php } else { ?>
       <h1 class="entry-title" <?php echo $article_heading_text; ?>><?php woocommerce_page_title(); ?></h1>
       <strong><?php do_action( 'woocommerce_archive_description' ); ?></strong>
       <?php } ?>
    <?php } else if ( is_search() ) { ?>
    

    as you can see do_action(‘woocommerce_archive_description’ ) not displaying category description. But if I put any string like “<h2>SOME TEXT</h2>” it is displaying there. Would you please let me know why the action is not working?

    #325833
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    You would need to debug this.

    Check what function you have hooked into the action: woocommerce_archive_description.

    #325835
    Umeed
    Member
    Post count: 4

    Hi David,

    I thought that is the default Woocommerce action to display category description. Because it is displaying the description under content which I think is inside loop. And I think the page heading wrap is outside the loop so there should be another code to display current category description out side loop?

    #325836
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Like we told we can only point directions, these modifications sometimes are not so easy like we imagine and we don’t have time to help on those. Hope you understand.

    -Rui

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register