This topic has 7 replies, 2 voices, and was last updated 8 years ago ago by Olga Barlow
Hi guys, how easy to change these on Xstore? Would like to overwrite the default Add to cart preloader and placeholder for my site.
Thanks
Hello,
Could you describe in more details. I’m not sure what do you want to implement.
Regards
Hi Olga,
This preloader http://prntscr.com/dimoyq
and http://prntscr.com/dimtar image default placeholder
Nevermind about the placeholder. Got it. Just the preloader when you add a product to cart. 🙂
Hello,
If you want to change preloader copy into child theme and edit etheme_loader function http://prntscr.com/divnhg (xstore/framework/template-elements.php)
Regards
Hi Olga,
Should i put the file on my childtheme ie: childtheme/framework/template.elements.php?
I just want to change the image preloader there.
Hello,
No, you should copy the etheme_loader function only and paste in functions.php of child theme. Then you can edit this function to shaw what you want. We use svg to show that loader. You may find the svg you like and replace our svg code by the new one http://prntscr.com/dj8du0
Regards
Tagged: add to cart, image, placeholder, preloader, template, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up