Questions tagged [custom-options]
denotes a question about the product custom options.
1,056
questions
0
votes
0
answers
19
views
HOW TO EDIT CUSTOM OPTIONS SELECT BOX IN MAGENTO 2
I have one Customizable Option on my site and shows at the frontend of the product page.
-- The condition is when a custom pack is found as an input tag in which the customer adds the pack & pc, ...
0
votes
1
answer
93
views
Magento2: How to add a custom extra field for product options, such as an image upload, in the select option type
I want to add custom field for image upload in custom option value like given in image. I tried following Magento 2 add new custom option image upload field but it add earlier while i need it with ...
1
vote
0
answers
14
views
Product Main price should not update on custom option selection
I am using Mageworx advance custom option module. Right now everything working fine.
Current Workflow:
My custom options are basically have radio/checkbox options. If i select any option then product ...
1
vote
1
answer
32
views
Product Detail page custom option in accordion not validating in Magneto 2.4.6
After upgrading Magento 2.3.3 to 2.4.6-p3, custom options of product are not being validated in Magneto 2.4.6. In Magneto 2.3.3 we added validation ignore to apply validation on hidden field
$('....
1
vote
1
answer
63
views
How to add Product to Cart with Mutiple custom options using GraphQl?
I have Two custom Options for Downloadable Product
here is my query response for getting product
{
"data": {
"products": {
"items": [
...
0
votes
0
answers
25
views
How to set data in custom option filed which is created progrmatically in Magneto 2
I have created a custom field "Plan Identifier" in custom option for products.
Now, I want this field to be updated when we create a product using REST API and also the data of this filed ...
0
votes
0
answers
60
views
Change product option price dynamically in Magneto 2.4.6
I want to change product option price dynamically in Product Detail Page.
For Example:
In admin i have set White Color Price $10.00 but i want to change that price based on some condition.
I'm ...
2
votes
2
answers
246
views
Magento 2 How can i customize the product on the page Product Listing Page Widget of Live Search
I am using
magento version 2.4.5
live search versions : * 3.0.1
How can I customize the product information displayed
https://experienceleague.adobe.com/docs/commerce-merchant-services/live-search/...
0
votes
0
answers
31
views
Why the sorting of custom product options does not work when you move the mouse?
I can't put the item elsewhere. It always stays in its place.
There are no errors in the browser console.
As I understand the logic of moving an object is in the file: vendor/magento/module-ui/view/...
0
votes
0
answers
36
views
Orders Rest API Missing Custom Option Label and Text Value
I'm trying to retrieve orders from the REST API in Magento Community 2.4.3
with endpoints like /rest/default/V1/orders and /rest/default/V1/orders/items
but while I can see the values for custom ...
0
votes
0
answers
8
views
Custom option swatch stuck
I use custom option images to select a text font. Sometimes when I visite the productpage it is suddenly not possible to select another option. For some weird reason the custom option is stuck. ...
1
vote
0
answers
28
views
How to stop custom options price to apply on each qty of configurable product? Magento 2?
I have a custom option price which gets applied to each quantity. But I only want to apply that custom option price once instead of applying to each quantity. Below I am adding image of custom option
...
0
votes
0
answers
27
views
Magento 2 - How to Create Product custom options using patch data
In Magento 2.4, How to Create Product custom options using patch data?
I tried the solution like this. But it is giving error as Area not set. I tried to set area using DI as values admin, admimhtml, ...
0
votes
0
answers
116
views
Need to add new bundle option type and a text field
I want to add a new option named Group Bundle Radio in the Input type of the bundle product options and a new text field named Radio Title.
I have created both of the above mentioned in the admin ...
0
votes
1
answer
24
views
Configurable Product for all the associated products
Is it possible to create a configurable product, which works both ways?
So for example:
Product A is configurable, which means that you can choose a particular option let say color or size, and when ...
1
vote
1
answer
411
views
Custom field for product custom options - Magento 2.4
We used the following method, to create a custom field for the product custom option section: https://devhooks.in/blog/magento2-how-to-add-custom-field-in-custom-option
This works fine, but we can not ...
1
vote
0
answers
57
views
Add custom option in the title in bundle product options
I need to add the custom title with WYSIWYG editor as marked in the screenshot for the bundle product options. If anyone has done like this, please help me on this.
0
votes
0
answers
520
views
Magento 2.4.2 How to implemented single image upload in from the admin side using the UI component and Save and Show in product Edit/ Add Page
I am Trying to create Custom Field to upload single Image. With the help of various documentation I tried to implement using UI Component. Thanks for your help my code is given below.
app/code/PCsoft/...
0
votes
3
answers
468
views
TypeError: Magento\Catalog\Pricing\Price\CalculateCustomOptionCatalogRule::execute(): Argument #1
I am facing error like,
TypeError:
Magento\Catalog\Pricing\Price\CalculateCustomOptionCatalogRule::execute():
Argument #1 ($product) must be of type Magento\Catalog\Model\Product,
null given, called ...
0
votes
3
answers
687
views
How to call the shipping method click event on custom dropdown click event in magento 2?
I have a dropdown to choose store for pickups after select the custom shipping methods Store Pickup.
I want to call the shipping method click event on change function in the pickup store dropdown ...
1
vote
1
answer
94
views
How to add custom attribute in PDP and save that in database?
How to add a custom attribute in Product Detail page and save it's value in quote table after the add to cart is clicked?
0
votes
0
answers
173
views
Need help customizing the magento core code to add custom options to bundle product
Is there a way to choose a specific custom option/customizable option of a simple product while adding the simple product to the Bundle product?
I need help in customizing the magento core code to add ...
0
votes
0
answers
366
views
Magento 2: How to display multiple prices for same product?
I would like to display multiple prices for the same product and customer can select any one of the product price and place an order. But as per my understanding I think this is not achievable by ...
0
votes
2
answers
1k
views
magento 2.4 add to cart multiple simple products with options
I'm trying to add to cart multiple simple products with different custom options at once. So far, I've overridden the checkout/add controller and replaced the line
$this->cart->addProduct($...
0
votes
1
answer
45
views
Add custom option Programmatically in cart its not increasing quantity in cart
I am adding custom option programatically in below observer.
<event name="checkout_cart_product_add_after">
<observer name="mymodule_checkout_cart_product_add_after" ...
0
votes
2
answers
1k
views
Send Custom Data to quote table
I am new to magento 2. I have created a custom checkout step where user can select delivery day and time via dropdown. Dropdown options are coming from system.xml via customConfigProvider after seller ...
0
votes
1
answer
22
views
Magento 1.9 new color custom option inherit the characteristics of the size existing custom option
I am new in Magento and need to learn. I have a platform based on Magento 1.9 developed by another developer.
I have addeded custom option of color. but there is size custom option already added ...
0
votes
1
answer
48
views
Set Use Default on custom option title programmatically
I'm adding and removing custom options programmatically like so:
$product = $this->getProductModel()
->setStoreId($taskStore)
->load($productId);
$optionInstance = $product->...
0
votes
1
answer
42
views
How to retrieve a list of products with no price (empty field) in Customizable Options?
Magento ver. 2.4.2-p1
This could be due to us migrating from Magento 1.9.4 via the Magento Migration Tool. We keep getting phone calls from customers saying they are unable to add certain products to ...
0
votes
3
answers
2k
views
Custom Sorting option not working in Magetno 2.4 search
Custom Sorting option not working in Magetno 2.4 search
app/code/Arun/NewSorting/etc/di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&...
0
votes
1
answer
116
views
Custom Options deleted after saving products programatically
In Magento 2.4.2, when i am going to update products programmatically, it's removed customizable options automatically
Below code for your reference:
$objectManager = \Magento\Framework\App\...
0
votes
3
answers
119
views
Magento 2 How to check Product Customizable option set or not?
I tried to check product customizable option is exists or not but it is not working.
I have a Product Id so just I had to check if this product customizable option is set or not.
1
vote
1
answer
52
views
Magento 1: MySQL failing on flat catalog / locked tables
I'm running quite an old Magento 1.9.2 instance, for a couple of weeks, it's going offline periodically because of MySQL load. MySQL server CPU usage is going over 1000% (one thousand), all cores are ...
0
votes
1
answer
113
views
Issue with showing coupon code in admin grid
I am trying to add new functionality and need to show coupon code in the Orders grid. I was able to show the column in the grid but it is not showing the data.
I followed this link https://meetanshi....
1
vote
0
answers
301
views
Magento 2: Dynamically update custom options (percentage) price
I am working with a simple product with custom options.
I am updating the base price of the simple product with custom logic (height and width inputs). This is working fine.
Now here comes my problem. ...
0
votes
1
answer
176
views
Catalog Price Rule - Ignore Custom Options
I recently migrated over from a Magento 1.9 instance.
When we applied the catalog price rules it only discounted the price of the product and the associated custom options remained as they were (no ...
1
vote
0
answers
776
views
magento 2.4 show product options in custom template
On the frontend, I have a custom template with some tabs: when the user switches among tabs, he can load a simple product. Each tab loads a different product. This works fine with normal products but ...
1
vote
1
answer
166
views
AddProductsToCart Mutation Custom Option Upload File Magento 2.4
I am struggling to understand the correct way to get a custom option that is an uploaded file to attach correctly when adding a product to cart via graphql.
I have tried using
entered_options: [ {uid: ...
0
votes
1
answer
193
views
Get attribute from using dropdown yes no
I have created a dropdown attribute with the options of "yes" and "no" with the hope to show an element with yes is selected in the admin. I have a few of these dropdown attributes ...
2
votes
2
answers
1k
views
Magento directory_country_region_name table for city : City Dropdown
I want to make the country, state, city dropdown in the checkout field. I research lots of times in the internet and I didn't find any solution rather than a paid module. I noticed that for some ...
0
votes
1
answer
72
views
Programmatically Updating Products changes Custom Option & MetaData scope
I am working on a free standing script that updates product price and I have noticed that the scope of the product's custom options change after execution, causing the 'Use Default Value' to become ...
2
votes
0
answers
193
views
How to stop custom options price to apply on each quantity of configurable product? magento 2
Basically I have a custom option price which gets applied to each quantity. But I only want to apply that custom option price once instead of applying to each quantity. Below I am adding image of ...
0
votes
1
answer
463
views
How can I get customer data in a plugin class?
I'm trying to access logged in customer data in an "after" plugin.
The plugin is working, but I need some logic based on a custom customer attribute.
I try to do this but I get an error
...
1
vote
2
answers
55
views
Best Way To Achieve Configurable Product? Is This A Configurable Product?
Maybe configurable product is not the appropriate term, but I'm looking to provide different product options that will dynamically update the URL/SKU/Price. I've included a perfect example below of ...
0
votes
1
answer
539
views
How to add new field to 'catalog_product_option' table using Schema Patch?
I have created a custom option checkbox field, now on save, i have to update the value(0/1) to the table 'catalog_product_option' so that i can utilize this field on frontend.
How can i achieve this ...
0
votes
1
answer
278
views
Hide Bundle product option price if it is 0.00 on checkout page
I want to hide Bundle product option price if it is 0.00 on checkout page.
I have created a after plugin as following.
etc/frontend/di.xml:
<?xml version="1.0"?>
<config xmlns:xsi=&...
1
vote
1
answer
311
views
magento 2 - remove Customizable Options for all products?
how I can delete / remove Customizable Options for all products?
Thank you
0
votes
2
answers
694
views
Add to cart product with custom option "file"
I am trying to add products to cart with custom options. All are working but if custom options is file, it's not working. I've tried everything so far, but no luck. Anyone tried this and have a ...
0
votes
1
answer
528
views
Magento 2: Export All Products with their custom options
I want to export all products with their custom options through database.
0
votes
1
answer
128
views
Display Custom Options from parent product in Magento 2
I have custom router and if there is a custom attribute in url, simple product is loaded instead of configurable parent. Simple product is loading correctly, but i cant manage to load custom options ...