Ecwid Section In The Customizer, Can I Move It?
-
I don’t like the location of the ecwid section in the wp theme customizer. Is there a way I can move it?
-
Hi @xarcell,
Thanks for reporting. Can you elaborate a bit on this? Do you use the Ecwid section there to add or tweak the shopping bag icon widget? Where would you like to move and why?
On second thought, I just want to remove it. Is there a way I can remove it by adding code to the functions.php in theme?
Just so you know, the floating icon is intrusive.
> On second thought, I just want to remove it.
Why?
> Is there a way I can remove it by adding code to the functions.php in theme?
Yes, you can remove it by adding a custom code. I don’t know exact code though.
If the section itself is annoying or buggy, please explain how exactly it bothers you — we will make sure to improve it for all users so no customization will be required on your side.
Thanks,
I’m setting up hosting through wordpress multisite(network). I’m offering ecwid as a ecommerce solution, as the store they setup can be the exact same store on facebook.
Here is my problem. I have a heavily customized front-end theme and back-end theme. On the front-end, its in the way because I already have a fixed scroll-up icon, and fixed facebook messenger icon. I also have a fixed main navigation menu at the top. There is no room for a fixed cart/bag icon. On the back-end I have all settings organized and nested within sections just the way I want it. For example: “Identity”, “Header”, “Main”, and “Footer”. After installing the plugin, it added an “Ecwid” section right in the middle of it. I want to hide it, as I don’t want to offer my customers this feature.
on the front-end I could use javascript to move it to the menu as a menu item and style it accordingly. However, this doesn’t solve the back-end problem. I need the section code so I can move it in functions.php and have it display within the appropriate section I want. Although, its just easier to remove it…
Thanks for the detailed explanation!
Our engineers recommended this code to hide the panel:
add_action( 'customize_register', 'custom_ec_customize_register', 1000 ); function custom_ec_customize_register( $wp_customize ) { $wp_customize->remove_panel( 'ec-store' ); }It’s to be added to the functions.php file in your theme.
Please let us know if we can help you with anything else.
Thanks, that works great, but the widget is still present on the front-end. How do I turn it off by default?
To make it hidden by default on a new site, you will need to update the
ec_show_floating_cart_widgetoption in the WordPress database. Screenshot: https://take.ms/SWyKB . Please see the plugin code for more details on how the floating minicart is managed.
The topic ‘Ecwid Section In The Customizer, Can I Move It?’ is closed to new replies.