Questions tagged [custom-options]

denotes a question about the product custom options.

In Magento a product can have a set of fields that need to be filled in by the customer when purchasing the product called "Custom options". This tag should be used to mark a question related to these options.

1056 questions
7
votes
1 answer

How to get selected custom options on onepage

I want to get only those custom options which are selected by the customer on the product page. while I am on the onepage page, so I have the quote object. $items = $quote->getAllItems(); foreach ($items as $item) { //getting selected custom…
Tariq Aziz
  • 289
  • 9
  • 22
7
votes
4 answers

Get attribute admin option value if you have option Id or store view value

I'm trying since hours but I'm not able to load the admin option value of a certain attribute. Although I have enough information like option_id and store view value: $attributeId =…
Stefan
  • 1,497
  • 1
  • 22
  • 44
4
votes
1 answer

Remove price change from custom product dropdown

Is there a way of removing the price change (e.g. the string '+£80.00' or '-£60.00') from after the option name in a custom option dropdown list? I do not want to remove it from any other location, i.e. it should still add on to the total price as…
͢bts
  • 143
  • 1
  • 6
3
votes
1 answer

How to get File Path of File Uploaded Through Custom Option

I'm working with a function that runs immediately after a user submits an order to his/her Magento shopping cart, and I'm trying to get the URL for the file the user has just uploaded, so that I can manipulate it before the order is officially…
3
votes
3 answers

Product custom option duplication on save within loop

I am trying to figure out the behaviour I'm getting when saving custom product options programmatically. I am returning a collection of products ($simples) then: foreach ($simples as $simple) { $custom_options = array($option_one,…
othersideofphase
  • 682
  • 7
  • 17
3
votes
1 answer

Custom Options fields position

Can you help me how can I change the position of Custom Options on product page. I mean: First Custom Options fields are displayed, then configurable fields. I'm Very appreciated for your help.
user3169
  • 33
  • 1
  • 3
3
votes
2 answers

How to have first of selected custom options free?

I'm selling salads on my menu and have a bunch of toppings options (in custom options). Each topping is $0.50, but I'd like to make the first choice free. As in, you get one free topping. Is this simple to code? or can you point me in the right…
scrollup
  • 153
  • 3
2
votes
2 answers

How to Access Protected Data in Magento Object

I want to pull the file location of a user's upload through a Magento observer, but I can't seem to break into some protected data in this output: [_product:protected] => Mage_Catalog_Model_Product Object *RECURSION* …
2
votes
1 answer

Custom options operations

My client needs to make an operation on products custom options. Using Magento CE, I create a product, and give it some custom options from within the built-in left hand side menu in "Manage products" > "Add new product", such as "mm" (millimeters)…
Pheel
  • 23
  • 6
2
votes
1 answer

How to get selected custom options

I have the following code. The drawback of the code is it is getting all custom options for a product while I want to get only those options which are selected by the customer on the product page. $items = $order->getAllItems(); foreach ($items as…
Tariq Aziz
  • 289
  • 9
  • 22
2
votes
0 answers

A frontend_type for html code in admin config?

my module is for changes frontend design footer with options in admin config. I read the options default for frontend_types, like as…
2
votes
3 answers

How get ROWs in product Custom option (drop-down)?

Need get Sub options with id 38, 39 Easy get options $_product->getOptions() but how get sub options (row) ?
Ratio
  • 87
  • 7
2
votes
1 answer

How to save file type custom option field value when you add a product in your cart?

I have been trying to create add to cart options programmatically. It's working well when i add a simple value but i cannot add any file type like any image. I used this code to add it with order cart item. $additionalOptions = array(array( …
Radhe
  • 33
  • 5
2
votes
2 answers

Custom Options in Product List

I am displaying custom options for my products on the product list. The problem is that when you select an option, the price is not updated. This works fine on the individual product page, but not on the product list. Here's the code I'm using to…
2
votes
2 answers

Custom options by default

Is it possible for each product to make two of custom options so that when you create a product in the tab of Custom option, these two options are the default. Thanks
Sergey
  • 251
  • 1
  • 4
  • 13
1
2 3