> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: deleteProductOptions(productId: string) # Method package: wixStoresBackend # Method menu location: wixStoresBackend --> deleteProductOptions # Method Link: https://dev.wix.com/docs/velo/apis/wix-stores-backend/delete-product-options.md # Method Description: Deletes all options for an existing product. The `deleteProductOptions()` function returns a Promise that resolves when the options for the product with the given ID are deleted. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Delete the options for a product ```javascript import wixStoresBackend from 'wix-stores-backend'; export function deleteProductOptions(productId) { wixStoresBackend.deleteProductOptions(productId) .then(() => { // product options have been deleted }) .catch((err) => { // there was an error deleting the options }) }; ``` ---