Questions tagged [custom-options]
denotes a question about the product custom options.
1,054
questions
0
votes
0
answers
45
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 ...
1
vote
1
answer
50
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
28
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
21
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
6
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
23
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
20
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
67
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
18
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 ...
0
votes
1
answer
170
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 ...
0
votes
0
answers
58
views
Magento 2: How to use custom options in action apply field in cart price rule frontend
I have added two new option in admin cart price rule action apply section for give tier price discount based on apply rule in cart.
Percent Discount: Buy Min N Products, Get Tiered Promotions
Fixed ...
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
37
views
Magento 2.4: After Upgrade product option values are no longer showing
After upgrade from Magento 2.4.0 to 2.4.5, the product options values are not showing,
I'm using Itoris Dynamic product options module to create product options templates.
The developer is no longer ...
0
votes
0
answers
443
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
382
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
369
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 ...
0
votes
0
answers
23
views
Add custom method in ProductCustomOptionValuesInterface
Is any way to add custom methods in \Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface.php and \Magento\Catalog\Model\Product\Option\Value.php in default setExtensionAttributes does not ...
0
votes
0
answers
15
views
magento 1.9 Popup in custom options saying "undefined"
When I try to upload an image to a custom option of a product in Magento 1.9 I get the message 'undefined'(popup) - The image is not uploaded and I have to log in again. I can not find any fault in ...
1
vote
1
answer
70
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
144
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
254
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
42
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
965
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
19
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
44
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
27
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
73
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
102
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
50
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
97
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
285
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
155
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
663
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
0
answers
87
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
180
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
61
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
170
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
376
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
54
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
432
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
251
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
279
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
581
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
444
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
119
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 ...
0
votes
1
answer
190
views
Translate "custom option" for multistore
I have a website and for a product like "shirts" there is a way to get a discount. (This is implemented by a custom option). I'm importing all the products and the options programmatically. ...
1
vote
0
answers
113
views
How to add multiple configurable products add to cart with size and color options in magento 2
I am trying to add to the cart multiple configurable products with color and size options.
when adding configurable products (with any children) product prices are displayed correctly only in the ...