ProductCustomOption
ProductCustomOption is an auto generated table. The supported operations are Insert, Update, Delete, and Querying data from this table.
Table Specific Information
Select
The component uses the AdobeCommerce API to filter the results by Sku or OptionId while the rest of the filter is executed client side within the component.
The Sku column or Sku and OptionId columns must be specified in the WHERE clause to retrieve results from ProductCustomOption. Sku and OptionId can be used only with the equals (=) operator.
For example:
SELECT * FROM [ProductCustomOption] WHERE Sku = '334' AND OptionId = '123'
Insert
To create a new product custom option, the IsRequire, ProductSku, SortOrder, Title and Type columns are required.
INSERT INTO ProductCustomOption (IsRequire, ProductSku, SortOrder, Title, Type) VALUES (false, '01', 1, 'Title', 'Type')
Delete
Product custom options can be deleted by providing the Sku and OptionId columns.
DELETE FROM ProductCustomOption WHERE Sku = 'sjl-1999' AND OptionId = '1'
Columns
Name | Type | ReadOnly | Description |
ExtensionAttributes | String | False |
This is an auto-generated column |
FileExtension | String | False |
This is an auto-generated column |
ImageSizeX | Int | False |
This is an auto-generated column |
ImageSizeY | Int | False |
This is an auto-generated column |
IsRequire | Bool | False |
Is require |
MaxCharacters | Int | False |
This is an auto-generated column |
OptionId [KEY] | Int | False |
Option id |
Price | Double | False |
Price |
PriceType | String | False |
Price type |
ProductSku | String | False |
Product SKU |
Sku | String | False |
Sku |
SortOrder | Int | False |
Sort order |
Title | String | False |
Option title |
Type | String | False |
Option type |
Values | String | False |
This is an auto-generated column |