Questions tagged [custom-options]

denotes a question about the product custom options.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

magento 2.3 programmatically add/update custom options values on multiple store views

Magento version 2.3.2 with different store views (a store view for each language) I need to programmatically add custom options to my products. Because I have more than one language, the same custom ...
1
vote
0answers
12 views

magento graphql while adding product to cart problem with custom options

Request { products ( filter: { sku: { eq: "Product option values" } } pageSize: 3 currentPage:1 ) { total_count items { name sku ...
0
votes
1answer
27 views

Update custom option in cart Magento 2

I have a simple product with a date custom option. When I click on the date a calendar opens and I select the date. After adding the product to cart, I can see the product along with the date as a ...
2
votes
2answers
44 views

Magento 2: how to hide ''price' of custom option in products

how to hide ''price' of custom option in products Magento version is : 2.2.6
1
vote
1answer
22 views

Group product Options

If products in a group need an additional option, how would I create that option? For example; if they're ordering ceiling lights, the grouped products are the different sizes, but afterwards ...
1
vote
1answer
78 views

Magento 2.3.2 required Product option value add to cart directly in category page

i have use custom option in xyz product and my product option is required in admin i want to when select in category page and add to cart directly without going to product page. when i have remove ...
0
votes
0answers
8 views

Magento 1.9 Custom Options are not being added to the basket

On my client's site there are many simple products with custom options. When selected the price updates accordingly, but when Add to Basket is clicked the product is added but the options are not ...
0
votes
0answers
8 views

magento 2.3 programmatically add multiple customizable options to a product

In order to create a customizable option to a product I've used this code: foreach ($newdata['customOptions'] as $option) { $option['price'] = 0.00; $option['price_type'] = "fixed"; // \...
1
vote
0answers
28 views

Magento 2: Show price of custom option in mini cart

I have a product has a custom option like this In my mini cart how to show label and price of custom option, currently only the label. Any helps? Thank in advance.
0
votes
0answers
5 views

Product Options Template Font Issue

Issue- Font colour on template has gone to white. (no changes have been made) Same product is on another multi store website and template colour is correct. Does anybody know how to resolve this so ...
0
votes
0answers
18 views

Magento 2: How to add radio button type swatch on product page programmatically?

I want to show the radio button to select the product option instead of dropdown or text swatch? Help me out to solve this programmatically.
0
votes
0answers
15 views

How to set the option swatch text by API in Magento 2

I am currently trying to set an option in a swatch text attribute: $headers = array(); $headers[] = "Content-Type: application/json"; $headers[] = "authorization: Bearer xxx"; $body = '{ "option": {"...
3
votes
1answer
87 views

Magento 2 Error while saving product with customizable options when more than 2 options

I am facing below error: Recoverable Error: Object of class Magento\Catalog\Model\Product\Option could not be converted to string in /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on ...
1
vote
0answers
18 views

How to add existent options inside product options

I trying to add simple products and after associate these products in a configurable product, but some options of these products can't be exists. So, I add options using EVA config and return id of ...
2
votes
2answers
277 views

Magento 2: Override for product custom option value Interface and model file

I have added custom product option value to below interface ProductCustomOptionValuesInterface.php and Value.php model file. File path: magento2/vendor/magento/module-catalog/Api/Data/...
0
votes
0answers
91 views

Magento 2: How to add extenstion attributes for the ProductCustomOptionValuesInterface

I need to add product custom added Customizable Options to the product Rest API. I have set that custom options to the below core Interface Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface ...
0
votes
1answer
22 views

display customized option value in shopping cart view

In shopping car view i can see only configure option that i selected in product page. i want to display customized option value too. last option gem color is customized option. while viewing cart ...
0
votes
2answers
140 views

Magento 2: Add product option custom value in product Rest API

I added custom field Image and Qty in Product Customizable Options. I add those filed to Product Option Value in Product Rest API. So how can it possible. Method: GET API Request URL: http://...
0
votes
1answer
25 views

How to migrate Product custom options records from magento 1.7 to magento 2.x in product edit, order, invoice,Shipment and Credit memo?

I looking for the migrate Product custom options records from magento 1.7 to magento 2.x I have have migrated all the data from magento 1.7 to magento 2.2.6, but custom options not showing.
0
votes
0answers
19 views

Magento 2 break custom options in different places on Product page

I gave configurable product with swatch color and custom options.My product page is so much customize and it have custom options in main content and some custom options in bottom area.I want to break ...
0
votes
0answers
10 views

Magento 2 : Change option_value of custom option via api

I took the order via API My problem is how to edit the option value of the custom option via API. hope you helps. Thank in advance.
0
votes
0answers
11 views

Magento 2 : Edit custom option in order view page

I did override order view page info.phtml, how to edit custom option in here, I want to get the price of custom option in here.
0
votes
1answer
20 views

Magento 2 : Get value of custom option

I have a custom option of product How can I get value: 20, 30 in .phtml file. Hope anyone helps me. Thank in advance.
0
votes
0answers
13 views

Magento 2 : Get value of custom option in order info

here is customize option in product here is order info How can I get the price of the custom option and put it in order info? hope anyone helps me. Thank in advance.
0
votes
0answers
16 views

How to replace visual swatch html in fronted, load all color or attribute in dropdown?

Currently load in this format. I need to load like
1
vote
0answers
27 views

How to add additional options in order admin side in Magento 2.3?

I am sending additional custom options in the cart when add to cart a product. I have used this link . Using this link I have added custom options in the cart as well on checkout page and minicart. ...
1
vote
1answer
36 views

Error in custom option file upload on magento 2.3.x

A few weeks ago some clients were uploading pdf files, and when they added to the cart, showed them an error the file is invalid,this is a lie, because it was upload a file with pdf extension. here a ...
0
votes
0answers
66 views

Magento 2 : Create a module for hiding custom options of a product when checked using checkbox

To create a module for magento that adds a checkbox for the values rows in the “Customizable Options” section on the product page in magento backend. This checkbox will hide the customizable option ...
0
votes
0answers
12 views

Unable to download custom option file from the order details in the admin in Magento 2?

I am using Magento 2.3.0 I have added the custom option of the File type in one product. I have uploaded an image in this product using the custom option but when I tried to view the image from the ...
0
votes
1answer
54 views

Magento 2 Get product options id for sql query

I have this query: SELECT * FROM `sales_order_item` WHERE `product_options` LIKE '%2010%' With the last bit being the decoded option id, I need to find two specific option ids to use inside this ...
1
vote
1answer
22 views

Magento 2: Customize each item when adding several items to the cart

There's a catering company that sells a sandwich. They will only take an order if the customer buys a minimum of 10. Each sandwich can be customized (turkey, ham, egg salad, ...). Ideal customer ...
0
votes
0answers
16 views

Edit custom options in specific store using CSV

When I use CSV upload to edit information in a specific store, everything else works fine except Custom Options. The Custom Options get changed in ALL stores, even though I only specified a ...
0
votes
0answers
16 views

Custom Fields Best Practise

I'm very new to Magento development, but i've migrated over from wordpress development. One of the things I love most about wordpress development is how easy it is to make almost everything on the ...
0
votes
0answers
19 views

Hide specific Custom Options from Checkout Summary

Is there a way to hide specific custom options from Order Summary on Checkout Page. It rendered thru Knockout.
0
votes
0answers
25 views

Magento 2: Custom button in admin product edit page

I want to add a custom button in short description near WYSIWYG editor A button that will contain some text that will be copied when clicked.
1
vote
0answers
8 views

How to display the category pages based on the custom page inputs?

1) Custom page have to accept few inputs and respective category page need to be displayed based on the inputs 2) Custom page need to be displayed some custom options and those prices need to ...
0
votes
1answer
31 views

Magento 2.3.2: Customizable options disappear when saving product programatically

I'm running a script that bootstraps Magento to bulk-edit some products programmatically. At the moment, this is done like so: error_reporting(E_ALL); ini_set('display_errors', 1); use Magento\...
0
votes
0answers
20 views

Magento 2.3.X: Get custom attributes in conditions model

I created a custom module in which I need to insert a conditions model that also has custom attributes. So I have this model: namespace Vendor\Module\Model; use Magento\Quote\Model\Quote\Address; ...
0
votes
0answers
13 views

Custom option once across x quantity

I am having trouble with a little problem: I would like to add an extra charge of x amount if customer wants personalisation. There is also a minimum order quantity of 2 packs. Now, I have ...
0
votes
0answers
24 views

How to increase price of custom options depending on IP

I have installed a GeoIP extension that allows me to change the prices of products depending on the currency. However this extension does not let me change the price of the custom options. Which file ...
0
votes
2answers
70 views

How to remove handling fees if customer select pick from store?

I am using extra fees extension, if customer choose shipping method : Pick from store how to remove Handling fees(extra fees extension). What event used to check if customer chooses to pick from ...
0
votes
0answers
11 views

Adding field on catalog->product->price tab in magento 1.9

Can anyone help me in adding a custom field here? https://prnt.sc/org7l2 I want to add a checkbox over here. on the basis of its selection, I can show special price or not.
1
vote
0answers
15 views

Looking up Product Attributes and Customizable Options

I'm working with info_buyRequest data stored in Quotes. There are cases where super attributes as well as options are present in the buyRequest. These appear purely as DB id's, and I am trying to ...
2
votes
1answer
266 views

In magento 2 how to add custom options in action apply field in cart price rule form in admin

In magento 2 how to add custom options in action apply field in cart price rule form in admin In admin panel -> marketing ->cart price rule -> add new rule Image: Reference Image
0
votes
2answers
52 views

Magento 2 :- how to get email address in sales_quote_address_collect_totals_before events

How to get email address in sales_quote_address_collect_totals_before events guest user email address. <?php namespace xxxxxx\xxxx\Observer; use Magento\Framework\Event\ObserverInterface; ...
1
vote
1answer
47 views

Custom custom options magento 2

Looking for some advices/ideas Magento 2 offer us Custom Options in catalog section. In Backend, we can add custom options like below picture and it appear on frontend like My question is I want ...
0
votes
1answer
30 views

Magento 2 CE - Products Customizable Options Per Customer Group

Is it possible to have different Customizable Options per customer group?
0
votes
0answers
36 views

Magento 2.x How to allow children of Configurable Products to have Custom Options?

In Magento 2.x, core functionality does not allow you to set Custom Options on child products belonging to a Configurable Product. If you attempt to set a custom option on such a child product (which ...
0
votes
0answers
12 views

How to display product listing sort based on product attribute combination in magento 1.9

I'm Working with magento 1.9, I want display product list based on product attribute. suppose i have 2 product attribute with 3 -3 options value. Option 1 red green blue option 2 red green ...
0
votes
0answers
17 views

Sort Customizable Options values in backend

I want to sort option values alphabetically. I already did in frontend now i want same in backend - see image, please I know this can be done manually but I have a large number of products and ...