Home Forums WoodMart support forum weight attribute issue

weight attribute issue

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #641529

    kontaktme
    Participant

    Since the latest update to 8.10, the weight attribute on PDP shows strange queue of numbers when I clear all filters.

    #641530

    kontaktme
    Participant

    It shows dozen of weights, instead of one

    Attachments:
    You must be logged in to view attached files.
    #641759

    Luke Nielsen
    Keymaster

    Hello,

    Okay, I see. Please confirm the permission for plugin deactivation and switching to the parent/default theme for testing.

    Looking forward to collaborating with you!

    Kind Regards

    #641776

    kontaktme
    Participant

    Dear Luke

    Yes you can disable/ enable plugins and also switch to main theme.
    I also have a backup.

    #641839

    kontaktme
    Participant

    Sorry for the stupid question, but you are going to enable all the plugins again once your are done right?

    #641841

    Luke Nielsen
    Keymaster

    Hello,

    Yes, of course. The developers currently investigating it.

    Thank you for your patience.

    Kind Regards

    #641846

    kontaktme
    Participant

    Sure, sorry, just wanted to check!

    #641867

    Luke Nielsen
    Keymaster

    Hello,

    Add the code below to the functions.php file in your child theme and recheck the issue.

    add_action( 'woodmart_option', function ( $value, $slug ) {
    	if ( is_singular( 'product' ) && 'base_hover_content' === $slug && 'additional_info' === $value ) {
    		$value = 'excerpt';
    	}
    
    	return $value;
    }, 10, 2 );

    Kind Regards

    #641877

    kontaktme
    Participant

    Sorry, I really dont know how to do that… ?
    Can you not create a patch for the theme? I guess it also affect other shops?
    thanks for your feedback.

    #641879

    kontaktme
    Participant

    Ok I managed to implement it into child function php. Thanks for your help.

    #641885

    kontaktme
    Participant

    hey, first of all thanks again, I realized that after those changes some of my navigation disappeared, I can not follow the main event, if it was the Theme update or the new code, but the sub-menu navigation on the left side is missing.
    it was above “Brands” on the first spot. I tried to bring it back but couldn’t fine the config… can you please help.

    #641886

    kontaktme
    Participant

    this is the example image

    Attachments:
    You must be logged in to view attached files.
Viewing 12 posts - 1 through 12 (of 12 total)