Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [custom-options]

denotes a question about the product custom options.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Magento2 How to get Customizable dropdown Options of a simple product in phtml file

How to get this https://prnt.sc/HE4LFsRji9fs Customizable option data in a phtml file. I want to data in like in this format... <div class="field required"> <label ...
Keval Chauhan's user avatar
0 votes
0 answers
33 views

Magento 2 : Provide Name Attribute in Customizable Option of Product

I am implementing a functionality where each product have different input field in frontend where user can input value as per their requirement. It has multi step form in frontend, second step have ...
Ajay Tiwari's user avatar
0 votes
1 answer
134 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 ...
Mufaddal Dhansurawala's user avatar
1 vote
0 answers
19 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 ...
Sunny Rahevar's user avatar
1 vote
1 answer
33 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 $('....
Gaurav Khatri's user avatar
1 vote
1 answer
77 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": [ ...
Syed Hassan Zamir's user avatar
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 ...
Nit's user avatar
  • 101
0 votes
0 answers
62 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 ...
Ronak Rathod's user avatar
  • 6,332
3 votes
2 answers
306 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/...
Văn Thanh Nguyễn's user avatar
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/...
Max Sav's user avatar
0 votes
0 answers
39 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 ...
Mahmoud M. Abdelmalek's user avatar
1 vote
0 answers
30 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 ...
Jay Parmar's user avatar
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 ...
SanitairSuperShop Marketing's user avatar
1 vote
1 answer
461 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 ...
JGeer's user avatar
  • 1,418
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.
Mitul Vadalia's user avatar
0 votes
0 answers
546 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/...
C Pramod's user avatar
0 votes
3 answers
507 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 ...
Sunny Rahevar's user avatar
0 votes
3 answers
805 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 ...
Mujahidh's user avatar
  • 2,793
1 vote
1 answer
99 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?
Mohmad Ashik M A's user avatar
0 votes
0 answers
181 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 ...
nikin's user avatar
  • 1,132
0 votes
0 answers
416 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 ...
MagentoDev's user avatar
0 votes
2 answers
2k 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($...
Lou Nik's user avatar
  • 443
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" ...
Ansar Husain's user avatar
  • 3,429
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 ...
Muhammad Uzair Aziz's user avatar
0 votes
1 answer
24 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 ...
chamssoudine bacar's user avatar
0 votes
1 answer
50 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->...
Clonkex's user avatar
  • 109
0 votes
1 answer
49 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 ...
Allysin's user avatar
  • 260
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&...
Prits's user avatar
  • 625
0 votes
1 answer
129 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\...
shyopat's user avatar
  • 187
0 votes
3 answers
123 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.
DhwaniBhatt's user avatar
1 vote
1 answer
55 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 ...
medial's user avatar
  • 11
0 votes
1 answer
114 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....
Charanjeet Singh's user avatar
1 vote
0 answers
310 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. ...
puntable's user avatar
  • 528
0 votes
1 answer
181 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 ...
Ryan's user avatar
  • 11
1 vote
0 answers
796 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 ...
Lou Nik's user avatar
  • 443
1 vote
1 answer
185 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: ...
lilbumblebear's user avatar
0 votes
1 answer
196 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 ...
totneschap's user avatar
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 ...
Abilash Erikson's user avatar
0 votes
1 answer
78 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 ...
A. Andersen's user avatar
2 votes
0 answers
194 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 ...
J. Doe's user avatar
  • 259
0 votes
1 answer
473 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 ...
web master's user avatar
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 ...
Old Gregg's user avatar
0 votes
1 answer
565 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 ...
Wakar Ahamad's user avatar
0 votes
1 answer
291 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=&...
Shashank Kumrawat's user avatar
1 vote
1 answer
326 views

magento 2 - remove Customizable Options for all products?

how I can delete / remove Customizable Options for all products? Thank you
Robert's user avatar
  • 2,176
0 votes
2 answers
730 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 ...
Abdul Samad Abbasi's user avatar
0 votes
1 answer
548 views

Magento 2: Export All Products with their custom options

I want to export all products with their custom options through database.
mechanic's user avatar
  • 440
0 votes
1 answer
130 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 ...
mac2255's user avatar
0 votes
1 answer
261 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. ...
Always_home's user avatar
1 vote
0 answers
124 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 ...
SAGAR RADADIYA's user avatar

1
2 3 4 5
22