Static Block in category page - by 2becom

This topic has 16 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler

  • Avatar: 2becom
    2becom
    Participant
    March 24, 2017 at 11:18

    Hi,

    please see the ticket #157312 (closed – impossible to reply) to complete this help request.

    You give to me an answer #157415, but we use WooPress Themplate and not xstore.

    We would like to visualize a static block (promotions) in every category page (different blocks) like this page: http://sviluppo.wavemarketing.it/es_intimo/categoria-prodotto/reggiseni-e-bralettes/.

    We would like to visualize the static block at the end of the page, before the footer area, but it seems impossible.

    Can you give to me help for this.

    Thanks.

    Andrea Fumagalli

    15 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 24, 2017 at 13:52

    Hello,

    Could you please provide wp-admin access in Private Content so we could check it?
    Unfortunately, display static block under category page content is not impossible.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant
    March 24, 2017 at 15:24

    Sorry,

    You have wrote to me.

    Unfortunately, display static block under category page content is not impossible.

    impossible=possible?

    It is impossible to di splay static block…is this correct?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 24, 2017 at 15:37

    Hello,

    Sorry, it is impossible.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant
    March 24, 2017 at 15:40

    thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 24, 2017 at 15:49

    Hello,

    You’re welcome!
    Feel free to ask if you need any other help.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant
    March 31, 2017 at 08:44

    Sorry,

    there is the possibility to add a statick block in each category with php directly, in the woocommerce template?

    If it is possible can you explain to me?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 31, 2017 at 15:08

    Hello,

    This requires additional customization. It is beyond our basic support scope.
    In this case, I suggest you use shortcode to display static block on category page http://prntscr.com/eqrp4s http://prntscr.com/eqrp9n

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant
    March 31, 2017 at 15:39

    Sorry but I need to put a static block in the bottom before the footer.

    How can I do this?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 31, 2017 at 15:50

    Hello,

    You need to edit wp-content/themes/woopress/woocommerce/archive-product.php file and change position of this line <?php do_action( 'woocommerce_archive_description' ); ?> from 43 line to http://prntscr.com/eqsa2g
    Make your changes in the child theme to prevent losing them after theme update https://8theme.com/demo/docs/woopress/index.html#!/3_child_theme.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant
    April 3, 2017 at 09:04

    Hi,

    I would like to obtain as the link in the private section (red box in the bottom of the page).

    One promotional static block for each category.

    With indications you give to me is it possible?

    Thanks.

    Andrea Fumagalli

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 3, 2017 at 13:09

    Hello,

    You can create a static block for each category and show it http://prntscr.com/ervhkb then edit file http://prntscr.com/eqsa2g to display your blocks under category product content http://prntscr.com/ervkga.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant
    April 3, 2017 at 14:42

    Dear Rose,

    you are very gentle with us.

    I need only one thing to resolve the problem.

    We have put the promotional block in the category Description as you can see (we have only to move at 105 line of the file .php you indicate to me.

    http://sviluppo.wavemarketing.it/es_intimo/categoria-prodotto/reggiseni-e-bralettes/

    But we need to have on the top the text block as you can see now and put in the bottom (before the footer) only promotional banner.

    How can I do this? Is it possible divide the two things?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 4, 2017 at 08:25

    Hello,

    Could you please provide wp-admin and FTP access in Private Content so we could check it?

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant
    April 4, 2017 at 09:35

    Hi,

    in the private section all you have required to us.

    Thanks.

    Andrea Fumagalli

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 4, 2017 at 10:27

    Hello,

    Sorry, but we can’t connect to your FTP with provided credentials.
    You can write your text in Category Header http://prntscr.com/es8tnq and add this code in Custom css:

    .tax-product_cat .category-description {
        display: block;
    }

    Regards,
    Rose Tyler.

  • Viewing 16 results - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.