8000 Shortcode Woocommerce Mini Cart · Issue #452 · oceanwp/oceanwp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shortcode Woocommerce Mini Cart #452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our t 8000 erms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
deebz opened this issue Jun 8, 2023 · 0 comments
Open

Shortcode Woocommerce Mini Cart #452

deebz opened this issue Jun 8, 2023 · 0 comments
Assignees

Comments

@deebz
Copy link
deebz commented Jun 8, 2023

Hello

I'm using the [oceanwp_woo_cart] shortcode on a woocommerce site to output the mini-cart into the header area. I'd like to do some further customisations to this (use an SVG for the icon) and re-position the cart item count outside of the icon, however overriding inc/woocommerce/woocommerce-helpers.php doesn't render any changes even with all caching turned off.

Is there any scope to extend the options that can be passed to the shortcode or even pull that code out as separate template file that can be customised.

The current markup of the item count doesn't allow for positioning of the number outside of the icon. Simply wrapping the item count in another html tag would facilitate this simply with css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0