Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1345674

    hello guys,

    I have created a website with a shop. Looks good so far, but a few little things aren’t right.

    There is a sort function on the product overview page. I just need price up and price down and name. I can’t customize anything.

    In addition, the prices on the product overview page are “plus shipping costs”. Can this be written in one line? Current is above incl. and below shipping costs.

    Cross-selling should appear at the bottom of the product pages.
    The related products are already hidden, but there is still a gray box. Can you remove it?

    Mobile, it should be like this https://kriesi.at/themes/enfold-shop/.
    And the checkout is not displayed correctly. What can you do here?

    Is it possible to create a menu which is only showing on the shop and product pages?

    Thank you for the support.

    Best wishes

    • This topic was modified 2 years, 9 months ago by mary301187.
    #1345975

    hey guys?

    #1346590

    Hey hey, nobody can help me?

    #1347096

    Hi,

    Sorry for the delay. Regarding your questions, removing other options from the filter can be done using this code in the functions.php file.

    /* 
     * Filter to customize the sorting options for frontend dropdown
     * 
     * Filter is located: config-woocommerce\config.php    function avia_woocommerce_frontend_search_params
     */
    function my_wc_product_order_dropdown_frontend( array $product_order )
    {	
         unset( $product_order['popularity'] );
         unset( $product_order['rating'] );
         unset( $product_order['relevance'] );
         unset( $product_order['id'] );
         unset( $product_order['menu_order'] );
    
         return $product_order;
    }
    add_filter( 'avf_wc_product_order_dropdown_frontend', 'my_wc_product_order_dropdown_frontend', 10, 1 );
    

    To move the shipping info, try to add this script in the functions.php file.

    function ava_acustom_script() { ?>
        <script>
            (function($) {
                $(document).ready(function() {
                    // move shipping info beside the product price
                    $(".products .product").each(function() {
                        var gzd = $(this).find(".wc-gzd-additional-info");
                        var sym = $(this).find(".woocommerce-Price-currencySymbol");
    
                        $(gzd).insertAfter(sym);
                    });
                });
            })(jQuery);
        </script>
        <?php
    }
    add_action('wp_footer', 'ava_acustom_script');
    

    Then add this css code in the Quick CSS field.

    span.woocommerce-Price-currencySymbol, .shipping-costs-info {
        display: inline;
        margin: 0 !important;
        clear: none;
    }
    

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    #1347325

    thank you guys, it works

    #1347423

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Woocommerce support’ is closed to new replies.