Questions tagged [custom-options]

denotes a question about the product custom options.

Filter by
Sorted by
Tagged with
2
votes
0answers
62 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
17 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 ...
1
vote
2answers
177 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
84 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
20 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
70 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
23 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
9 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
12 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
25 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
49 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
9 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
37 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
11 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
15 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
17 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
24 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
27 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
19 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
23 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
67 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
10 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
198 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
49 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
46 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
25 views

Magento 2 CE - Products Customizable Options Per Customer Group

Is it possible to have different Customizable Options per customer group?
0
votes
0answers
29 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 ...
3
votes
0answers
58 views

Where's the order item custom options labels in the REST API?

I'm trying to retrieve orders from the REST API in Magento Enterprise 2.3.1, and that's easy enough with endpoints like /rest/default/V1/orders, but while I can see the values for custom options of ...
0
votes
0answers
125 views

Magento 2 Add Custom fields to Bundle Product add options

want to do this I have followed similar (Magento 2 add new custom option text field) topic but it's about custom options for simple products. Somebody in commets say's that he achieved this for ...
1
vote
1answer
42 views

How to define Custom js in Custom module Magento 2

app/code/{vendor}/{module}/view/frontend/requirejs-config.js var config = { map: { '*': { 'Magento_Swatches/js/swatch-renderer' : 'Wac_SwatchName/js/swatch-renderer', ...
1
vote
0answers
34 views

product options variation

I am looking to present custom-options as a link to another product. Maybe someone will be able to tell me, or maybe there is an existing module/tutorial that will help me implement this. Example: ...
1
vote
7answers
215 views

Create order programmatically product with customizable options in Magento2

I am trying to create order programmatically product with customizable options, and it's working but it's created order with one product even I passed two products for me for these I tried below code. ...
0
votes
1answer
21 views

How to get orders items data from particular order?

I want to get details of custom options which selected whenever customer choose at order time. Thanks
0
votes
0answers
20 views

Specific Products Lead to Exceptions at Cart

I have specific "problem products" that lead to exceptions when you add them to cart / progress to cart level. It is very messy and I'm not sure where to begin to fix this. Has anyone encountered ...
1
vote
1answer
61 views

Magento2 Change Sku of product with custom option

I have simple product with SKU : AAA and has custom options Sku Option 1 A1A1A1 A2A2A2 Option 2 B1B1B1 B2B2B2 On Product page SKU is showing AAA is fine. Now if customer Add to cart and chosse ...
0
votes
0answers
23 views

Modify Product page UI with custom HTML body and load the data

I've created a custom template and trying to create the same, I created new Vendor/Theme and Inside that, I've pasted the HTML code to Magento_Catalog>template>product>view>details.phtml ...
0
votes
1answer
40 views

Saving custom data against a sales order item

I am programatically saving orders. I need to be able to set a custom data for order items in sales_order_item table. What is the best way to do this? I notice there is an additional_data column ...
1
vote
0answers
13 views

Add image options programmatically in custom attribute not working

I want to add new custom option to upload image like extension : https://shop.emiprotechnologies.com/documentation/custom-option-image-for-magento-2 . So basically , i override some file to add new ...
1
vote
0answers
23 views

How to display associated simple products with custom options in the grouped product in Magento 2?

I am using Magento 2.3.0 I have grouped products on my website. I have displayed all associated simple product with their tier prices, product names and quantity. please refer below screenshot. For e....