Categories: Developer (1) · Getting Started (1) · Questions (15) · Requesting support from us (9) · Snippets (9) · WP-CLI (1)

How do you add a product to cart with a custom price?

This is the most simplest way of adding a product to the cart with a custom price. The price is not changing, what am I doing wrong? You may have restricted the product or all products from being able to add the product to cart with a custom price. Or you have set a salt […]

View article

Can I install/update CoCart via Composer?

Yes. The best method would be to install/update CoCart from the GitHub repository but you can also do so via https://wpackagist.org/

View article

Why CoCart and not WooCommerce Store API?

WooCommerce Store API is limited and designed mainly to focus on their Gutenberg blocks they have developed in React.

View article

Why does CoCart use a custom session table in the database?

The default WooCommerce session table only stores the basics of a cart in session. CoCart provides additional data that maybe required to help you and other add-ons/extensions developed by CoCart or third-parties.

View article

Why does CoCart use a custom session handler in the first place?

If you’re familiar with WooCommerce, you may be wondering, why using a custom session handler at all instead of the WooCommerce default session handler?

View article

Can I change the layout format/add/change details to the responses?

CoCart can be filtered to change or add details to any response.

View article