• Customer

    2 questions

    Posted by: ValeryLuter Apr 4, 2022 at 09:09 (3 year ago)
    1. How can I remove theme sorting options I wont to remove Sort By Sale + Sort by Feature
    2. After clicking the Add to Cart button, the button changes to "go to cart" for 1-2 seconds. How can I cancel this behave. I need the button to be Add to cart all the time and not redirecting to cart.

  • Customer

    Posted by: yame, Apr 4, 2022 at 10:38 (3 year ago)

    Hi,

    1. I sent this to my coder and he will check later.
    2. This is the text after I add a product to the cart: https://prnt.sc/yoFMqwQ2W5de
    It displays for a while and then it comes back to the text Add to cart: https://prnt.sc/B6KFZC6vhEwM
    Can you check it again?

    Regards,
    Yame
  • Customer

    Posted by: ValeryLuter, Apr 4, 2022 at 10:55 (3 year ago)

    1. OK waiting
    2. Yes, But I want to disable this behavior. I want the button to always be added to the cart and every click will add another product.
  • Manager

    Posted by: yame, Apr 5, 2022 at 01:38 (3 year ago)

    Ah, you mean that you don't want the text Beyond the shopping cart to show, don't you?
    If that, I also sent this to my coder and he will check for you.
  • Manager

    Posted by: yame, Apr 5, 2022 at 02:40 (3 year ago)

    1. Use Child theme, add this CSS code to remove:

    add_filter( 'woocommerce_catalog_orderby',
    function ( $options ) {
    $options['sale'] = '';
    $options['feature'] = '';

    return $options;
    }
    );

    2. Use this CSS Code to remove the text:

    .single_add_to_cart_button.added,
    .add-to-cart > a.added{
    display: inline-block !important;
    }
    .added_to_cart{
    display: none !important;
    }

    Pls use this then let me know the result
  • Customer

    Posted by: ValeryLuter, Apr 5, 2022 at 15:42 (3 year ago)

    TNX For the replay.

    1. Is not a CSS code but a I added it via Code Snippet and that not working. I also tried to remove it like that:

    add_filter( 'woocommerce_catalog_orderby', 'valery_remove_default_sorting_options' );

    function valery_remove_default_sorting_options( $options ){
    unset( $options[ 'feature' ] );
    unset( $options[ 'sale' ] );

    return $options;}

    Not working

    2. Worked great - TNX
  • Manager

    Posted by: yame, Apr 6, 2022 at 02:49 (3 year ago)

    I will ask the coder for this.
  • Manager

    Posted by: yame, Apr 6, 2022 at 04:19 (3 year ago)

    My coder has done it for you. I said that you should add the code to the child theme. However, when my coder checked, he did not see the Child theme.
    He created the Child theme then add the code for you: https://prnt.sc/UJvOJFL-JAMW
    Pls check your site again then let me know.
  • Customer

    Posted by: ValeryLuter, Apr 26, 2022 at 10:04 (3 year ago)

    Hi, everything worked great but now I noticed that on mobile there are empty spaces instead of the filters we removed.
  • Manager

    Posted by: yame, Apr 27, 2022 at 09:15 (3 year ago)

    Could you guide me on how to check this bug? I mean where can I click to see the bug? Then I will check for you
  • Customer

    Posted by: ValeryLuter, May 3, 2022 at 14:14 (3 year ago)

    Go to this link https://happysundrinks.co.il/product-category/%d7%98%d7%a7%d7%99%d7%9c%d7%94/

    But from a mobile device
    And open the filter screenshot attached. And you will see the blank in the list as I seen in screenshot above
  • Manager

    Posted by: yame, May 4, 2022 at 03:17 (3 year ago)

    I got it.
    My coder will check for this. I will inform you when I get his answer.
  • Manager

    Posted by: yame, May 4, 2022 at 03:41 (3 year ago)

    Also, we cannot access to your site: https://prnt.sc/2xT84YseTxOx
    Pls check again and provide the correct one.
  • Customer

    Posted by: ValeryLuter, May 4, 2022 at 08:11 (3 year ago)

    Can you test it without access and give me a solution that can add alone if need CSS or code will add myself.

    Previous time the programmer made a change and deleted my css changes. So I prefers not to make a change without me knowing what exactly the change is.
  • Manager

    Posted by: yame, May 4, 2022 at 09:27 (3 year ago)

    My coder needs to check first
    I will ask him to not change or add anything. He may give you the solution after finishing checking your site.
    And, he needs to access your site to check.
  • Customer

    Posted by: ValeryLuter, May 4, 2022 at 12:26 (3 year ago)

    OK new pass in Secret information
  • Manager

    Posted by: yame, May 5, 2022 at 07:02 (3 year ago)

    Thanks.
    Let my coder check your site. I will inform you later.
  • Manager

    Posted by: yame, May 5, 2022 at 07:17 (3 year ago)

    1. The account is not the admin account so my coder cannot check deeply.
    2. You are using the lower theme version (1.2.4). So you should update your site to the latest version of the theme
    3. Your site has been customized a lot. We will not support the customized site. You should move all the customized codes to the Child theme or backup all. Please do not custom to the Main theme because you need to update the theme regularly to use the latest functions we update.
  • Customer

    Posted by: ValeryLuter, May 8, 2022 at 10:07 (3 year ago)

    Check this user.
    OK I will move it but can you just check the Issue for now. It not look related to theme version.
    It's small visual Issue.
    If you found the solution seen me and I will make the change my self.
    After that will move customized part to Child theme
  • Manager

    Posted by: yame, May 9, 2022 at 02:37 (3 year ago)

    Okay, I sent your account to the developer.
    Let him check then I will inform you later.
  • Manager

    Posted by: yame, May 11, 2022 at 01:31 (3 year ago)

    It is because you translated but you put it empty:
    https://prnt.sc/cFpjPjoasmy8

    If you did not translate, you should not delete it. Those texts would disappear.
    https://prnt.sc/Wi-jLVJXD8cl
    But if you change to language English, the texts will appear again.
    There are a lot of missed texts. We cannot check one by one. So the fastest way is to delete the translated file and create >> translate texts again: https://prnt.sc/lRQtHaFNiqx7
  • Customer

    Posted by: ValeryLuter, May 12, 2022 at 12:05 (3 year ago)

    It has nothing to do with translation. I wanted to remove this filtering options.
    And you send me this code:
    if (class_exists('WooCommerce')) {
    add_filter('woocommerce_catalog_orderby',
    function ($options) {
    $options ['sale'] = ' ';
    $options ['feature'] = ' ';

    return $options;
    }
    ,30);
    }
    Who created the blank string
    Anyway helped me figure out the problem
    I changed the code to:
    unset( $options[ 'feature' ] );
    unset( $options[ 'sale' ] );

    And now looks problem solved
    TNX
  • Manager

    Posted by: yame, May 13, 2022 at 02:56 (3 year ago)

    Ohh okay. So do you need any help with this ticket?
    If not, I will close this. And pls submit a new one when you have any problem with the theme.

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible