Deprecated.
This function will continue to work, but a newer version is available at
wix-ecom-frontend.openSideCart()
.
If this function is already in your code, it will continue to work.
To stay compatible with future changes, migrate to
wix-ecom-frontend.openSideCart()
.
To migrate to the new function:
Add the new import statement:
Look for any code that uses cart.showMiniCart()
,
and replace it with wixEcomFrontend.openSideCart()
.
Test your changes to make sure your code behaves as expected.
Shows the Mini Cart.
The showMiniCart()
function displays the Mini Cart.
Learn more about the Mini Cart.
Note: This API will fail when viewing the site on mobile because there is no Mini Cart on the mobile site.