This topic has 40 replies, 3 voices, and was last updated 10 years ago ago by Eva Kemp
Yes. I have deleted the snippet of code from the etheme.js file at least seven times now. Every time the website has an update, it gets messed up again. I have a child theme set up and changed it there too, but I don’t know if I set it up correctly. The last time I talked to support here (about two weeks ago) and had put in a support ticket, Eva said she had corrected the issue and it was set up in the child theme so it wouldn’t get messed up after further updates.
Today, it messed up again. It’s becoming a major frustration. I believe the majority of your theme users would prefer the first category to be toggled shut. I’m not sure why that snippet of code to have it automatically toggled open is included in the first place. Is no one else complaining about it?
Thanks
Hello,
I’ve selected this options into admin panel http://prntscr.com/53pmoh
After comment out line into etheme.js
etCats.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Now it’s works. Check it please.
Regards,
Robert Hall.
Yes it works, thank you… and I like the option in admin panel that you checked. I’m assuming that created the pop up that appears when you add something to the cart where customers can click, “continue shopping” or “view cart.” (or however it’s worded)
I’m just wondering how to make the changes to etheme.js a PERMANENT change, so when an update is released, I don’t have to comment out this line every time. Is there a way for me to be able to do that?
Thanks in advanced.
But after adding to cart you haven’t pop up with “continue shopping” or “view cart”. Look at screenshot: http://prntscr.com/53upl1
Regards,
Robert Hall.
Oh weird. I saw a pop up come up that was pretty cool. I guess it depends on whether you are on a single product page and add to cart or whether you add to cart from the gallery (thumbnails).
Either way, it looks nice. I’m not sure what the Ajax option you added did then.
Any idea for me how to make the “etheme.js” change permanent? I guess since it’s a “commented out” portion I cannot? Thanks in advance.
Hello,
To make the changes permanent you need make them in a child theme to keep them safe after update.
Thank you.
Regards,
Eva Kemp.
I thought I did that already.
On the server, I have “legenda” and “legenda-child”
In the legenda-child folder I have a folder called “js” and inside that folder I have the etheme.js file with the code commented out.
Does that sound correct?
Hello,
Yes, that is correct.
When you update the theme you just overwrite “legenda” folder and “legenda-child” stays untouchable.
Perhaps you had changed some code or files in legenda child as well.
Thank you.
Regards,
Eva Kemp.
No, I didn’t make any changes to the child theme.. Do I need to do something in WordPress to “activate it”?
Hello,
If you did everything the same as described in the documentation http://codex.wordpress.org/Child_Themes then you did it correctly.
Maybe previously some changes had been made in the original files and that’s why you had lost them after update.
If the changes are made in a child theme now then you won’t lose them again.
Thank you.
Regards,
Eva Kemp.
The issue related to '‘Featured Image set but not showing up on product page’' has been successfully resolved, and the topic is now closed for further responses