Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #714149

    Hi there!

    I am using pagination for my woocommerce products and have added a “View All” link to the woocommerce’s pagination.php file (floating it right) so that the user/customer can click it and be able to View All products (or View Less), but the link itself doesn’t show up. In fact I don’t think manipulating the pagination.php file is working. I am curious if the reason might be because I am using the Enfold’s Advanced Layout Builder Beta version that you all provided for my Shop Page and not the default shop page by woocommerce. Thoughts?

    #714961

    Hey Tflores87,

    Please refer to Ismael’s post here – https://kriesi.at/support/topic/create-a-show-all-button-in-archive-products-page/#post-711791

    Best regards,
    Yigit

    #714964

    Hi Yigit,

    Thank you for your response! I followed your instructions from the link, but the code I entered into my functions.php file didn’t work. I wanted to confirm and tried looking it up with the Developer tool with Firefox, but did not see the “Show All” link in there either.

    • This reply was modified 7 years, 4 months ago by Tflores87.
    #716062

    Hi,

    Can you please create a temporary admin login and FTP logins and post them here privately?

    Best regards,
    Yigit

    #716098

    Sure, thank you for your time, Yigit. I am looking forward to your support!

    #716936

    Hi!

    It did not work correctly because you were using Masonry element to display your products. I adjusted the code and turned it into a shortcode. Please use following shortcode to display “Show all” button

    [woo_all_prodsc]

    Regards,
    Yigit

    #717100

    Thanks for looking into this, Yigit!

    The code you are referring to that you adjusted is in which file? The pagination.php or the child theme functions.php? I want to be sure I place the shortcode in the correct file.

    #717102

    Hi,

    I adjusted the code you added to functions.php :)
    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

    #717105

    Thank you :D

    I inserted the shortcode [woo_all_prodsc] into the pagination.php file, but I did not see the “view all” button/link on the shop page :(

    #718307

    Hi,

    You should simply edit your page and insert the shortcode below your masonry element. You can use Text tab of Text Block element or Code Block element to display your shortcode on your page :)

    Best regards,
    Yigit

    #718964

    Hi Yigit!

    I inserted the shortcode, and the link shows up, but not within the pagination file and it does not open all products :D Thoughts?

    As seen in this video

    #720811

    Hi,

    Please use the do_shortcode function if you want to use the shortcode inside a template.

    // https://developer.wordpress.org/reference/functions/do_shortcode/

    Best regards,
    Ismael

    #804661

    Hi, @ismael!

    I never got this to work and have been keeping an eye out for other posts having similar issues. I tried using the function code as found here (https://kriesi.at/support/topic/create-a-show-all-button-in-archive-products-page/#post-711791) in my functions file, but it does not place a “Show All” button to the WooCommerce Shop page (“avia_custom_shop_page”). This is the shop page (https://kingsdesigns.com/shop/). Any thoughts?

    #805932

    Hi,

    We really cant go further with that.
    The best option is to consider hire a freelancer who will help you with any modifications that you require and will help you finish that fast.

    Best regards,
    Basilis

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.