> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.flycommerce.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# The add to cart button is not showing

Typically, this problem arises when the **product owner/vendor** attempts to buy their own product. By default, the ability to purchase own products is unavailable for the **product owner/vendor**. We suggest trying to buy the product by **logging in as a customer** or visiting the product page in a **browser's incognito mode** to locate the "add to cart" button on the single product page.

However, if you'd like to permit product owners/vendors to purchase their own products, you can achieve this by adding a couple of code snippets to the **child theme's functions.php** file. If you're unfamiliar with managing child themes, you can use a third-party plugin called [Code Snippets](https://wordpress.org/plugins/code-snippets/) to add custom code to the website.

**Here are the snippets you need to add, following the instructions provided:**

```php
remove_filter( 'woocommerce_is_purchasable', 'dokan_vendor_own_product_purchase_restriction', 10, 2 );
remove_filter( 'woocommerce_product_review_comment_form_args', 'dokan_vendor_product_review_restriction' );
```
