Questions tagged [custom-options]

denotes a question about the product custom options.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 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 ...
user avatar
  • 1,142
0 votes
0 answers
5 views

Product Custom option in date value set in cron running date

In front-end, product in custom option add for date, Now i want to run cron on this date which set in custom value, on this date cron run and email sent.
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 480
0 votes
2 answers
26 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($...
user avatar
  • 129
0 votes
1 answer
23 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" ...
user avatar
  • 3,069
0 votes
0 answers
20 views

Can i show separate product in cart if has custom options?

I have simple product with custom option in backend. I have added 2 add to cart buttons in product page . one will add with custom options and one will add product without custom options. If customer ...
user avatar
  • 3,069
0 votes
0 answers
23 views

Retrieve download link for customer order custom option file via REST API

I'm trying to get the file download link as it is shown in the confirmation email eg: https://www.example.com/sales/download/downloadCustomOption/id/95434/key/26bfc0c56aaf393e89af/ Through REST I can ...
user avatar
0 votes
2 answers
49 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 ...
user avatar
0 votes
1 answer
13 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 ...
user avatar
0 votes
0 answers
19 views

Override OptionId with Label text

I'm trying to have an api where the customisable option id is the text from the label instead of a number. So instead of option_id: 1 and label: colour, option_id: 2 and label: height, option_id: 3 ...
user avatar
0 votes
0 answers
10 views

Calculate new price on a specific product page in Magento 2

I am creating the module is already functional. Now I need to change the price of a specific product when filling in the 2 cuttomized options. My base price is per square meter, so when I fill in the ...
user avatar
0 votes
1 answer
19 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->...
user avatar
  • 107
0 votes
0 answers
13 views

Magento 2: product custom options in popup

I want to show the custom options on popup on product page I have created the popup. Can anyone help me populate it with the custom options? Any help would be appreciated. Thank you.
user avatar
0 votes
1 answer
19 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 ...
user avatar
  • 306
0 votes
0 answers
10 views

Magento2: Calculate second option over base price + first option

Goal: I am looking for an integration that calculates a second custom option over the base price + first option. The product is a simple product. Problem Example: Base price of a simple product = $100....
user avatar
  • 141
0 votes
1 answer
163 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&...
user avatar
  • 526
0 votes
0 answers
9 views

Multi select options in product without holding shift?

Not to sure if anyone has came across this/attempted this before. I have created a product with multiple customizable options (see attached image). The only down fall to this is that on desktop the ...
user avatar
0 votes
0 answers
24 views

Magento 2 - How to get order items custom options

I need to get order item's options but I can just get the info_buyRequest instead of additional_option when I use foreach ($order->getAllVisibleItems() as $item) { $options = $item->...
user avatar
0 votes
0 answers
23 views

How to import custom options in different stores

I am trying to import custom options store wise. Below is the API i am using for english store /us_en/V1/products/SKU. for spanish store /us_sp/V1/products/SKU. But whenever i try to add custom option ...
user avatar
0 votes
1 answer
26 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\...
user avatar
  • 187
0 votes
0 answers
39 views

how can I store custom option sku and price into sales_order_item?

I'm facing a situation where I need to retrieve the custom option sku and price from a sales order item with custom options. However it seems magento is only storing the custom option id and not the ...
user avatar
  • 531
0 votes
0 answers
41 views

Show total price in product custom-options with jQuery not return total

I want to show total price in product custom-options. So I follow this instruction: https://magento.stackexchange.com/a/305552/103439 But it does not return total price. I tried a lot of variations, ...
user avatar
0 votes
3 answers
29 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.
user avatar
1 vote
1 answer
33 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 ...
user avatar
  • 11
0 votes
1 answer
41 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....
user avatar
0 votes
0 answers
85 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. ...
user avatar
  • 359
0 votes
0 answers
53 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 ...
user avatar
  • 11
1 vote
0 answers
144 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 ...
user avatar
  • 129
1 vote
0 answers
49 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: ...
user avatar
0 votes
1 answer
42 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 ...
user avatar
0 votes
0 answers
23 views

Customizable Option are not updating price in cart in Magento 2.4.2

I've got a strange problem. I'm on Magento 2.4.2 CE and I've got configurable items that also have some customizable options. Both configurations and customizable options show as intended on the ...
user avatar
0 votes
0 answers
83 views

Magento2: Add Dynamic Custom option on add to cart using rest api

Hope you all are doing good!!! I am not creating any custom option for products but need to add custom options to any simple products while adding to cart with rest api so can you please assist me how ...
user avatar
2 votes
2 answers
426 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 ...
user avatar
0 votes
0 answers
33 views

Adding product with textfield customisable option programatically via route not showing option value in admin

I've got a magento store with some products which have a text field customisable option, and there's a module to add these products to the cart via a URL - where the product ID and option value are ...
user avatar
  • 1
0 votes
1 answer
45 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 ...
user avatar
1 vote
0 answers
55 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 ...
user avatar
  • 109
0 votes
0 answers
47 views

Magento 2.3.4 Where does the data of block options_container come from?

I'm really stuck here. In this file below: vendor/magento/module-catalog/view/frontend/templates/product/view/form.phtml On line 32 a child HTML is being rendered: <?= $block->getChildChildHtml(...
user avatar
  • 11
0 votes
0 answers
7 views

Display +£0.00 on custom option price

On a simple product, if I assign a custom option (radio button) that have various prices, they are displayed as follows: 6mm 8mm 10mm 12mm + £1.00 14mm + £2.00 16mm + £3.00 Is it possible to display ...
user avatar
0 votes
0 answers
64 views

Magento 2 : Error does not have accessor method on vuestorefront

I'm trying to pass the custom option in vuestorefront api/cart/update call and trying to get it on sales_quote_product_add_after observer but I'm getting an error [2021-08-17 13:54:40] main.CRITICAL: ...
user avatar
  • 871
0 votes
1 answer
130 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 ...
user avatar
1 vote
2 answers
43 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 ...
user avatar
0 votes
1 answer
64 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 ...
user avatar
0 votes
1 answer
132 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=&...
user avatar
0 votes
1 answer
117 views

magento 2 - remove Customizable Options for all products?

how I can delete / remove Customizable Options for all products? Thank you
user avatar
  • 2,066
0 votes
2 answers
190 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 ...
user avatar
0 votes
1 answer
174 views

Magento 2: Export All Products with their custom options

I want to export all products with their custom options through database.
user avatar
0 votes
1 answer
50 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 ...
user avatar
0 votes
1 answer
62 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. ...
user avatar
1 vote
0 answers
41 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 ...
user avatar
0 votes
0 answers
30 views

How to add custom option type in Customizable Options

How can i add custom option type in customizable options? Is there any free extension which added this option? I followed this link but i can not make it works....
user avatar

1
2 3 4 5
22