Discussion Forums

d
Topic
ModXplosion Shopify Partner
Posts:
18
Last edited 7 months ago

[Line Item Properties] How to make something show up in order details to the site owner?

How can i make a "Text" show up in order details so when the customer orders something it tells me the text they wanted on there. Its not text, its a dropdown menu though so please no links to 'Line item properties' 

So far i have the menu only.

 

function triggerstops()

{

var mylist=document.getElementById("myList");

document.getElementById("favorite").value=mylist.options[mylist.selectedIndex].text;

}

  Select your favorite browser:

<select id="myList" onchange="favBrowser()">

  <option></option>

  <option>Google Chrome</option>

  <option>Firefox</option>  

  <option>Internet Explorer</option>

  <option>Safari</option>

  <option>Opera</option>

</select>

 

I just made a default one and i will put the details in later. But any help? i would also like the option to affect the price of the product... Thanks :)

i
Replies
Jamie Chief Officer of Funness www.evolvedesign.co
Posts:
5380
Last edited 7 months ago

http://wiki.shopify.com/Line_Item_Properties

Sorry I had to ;)

You can use line item properties to capture any form element. Radio list, option list, text, anything.

 

<select id="myList" name="properties[BrowserChoice]" onchange="favBrowser()">

  <option>What is a browser?</option>

  <option>Google Chrome</option>

  <option>Firefox</option>  

  <option>Internet Explorer</option>

  <option>Safari</option>

  <option>Opera</option>

</select>

^ Done. As long as it is in the product form it will be captured and follow the item through checkout.

 

http://experts.shopify.com/evolution ::: http://evolvedesign.co ::: http://twitter.com/EvolutionDesign
ModXplosion Shopify Partner
Posts:
18
7 months ago

Thanks! That was the best information I have received on here!

Jamie Chief Officer of Funness www.evolvedesign.co
Posts:
5380
7 months ago

Glad I could help! :)

http://experts.shopify.com/evolution ::: http://evolvedesign.co ::: http://twitter.com/EvolutionDesign
ModXplosion Shopify Partner
Posts:
18
7 months ago

Would you know how to make it change price of the product?

 

Jamie Chief Officer of Funness www.evolvedesign.co
Posts:
5380
7 months ago

LIPs do not change the price of the product. For that you would need either another variant with a check box to select it, then maybe reveal the LIP field. If the add-on price is static you could also include another "add-on" fee product within your product form as well. There are a few ways this could be done. It will ad a bit of complexity to what you are doing so you will have to put on your thinking cap here.

http://experts.shopify.com/evolution ::: http://evolvedesign.co ::: http://twitter.com/EvolutionDesign
ModXplosion Shopify Partner
Posts:
18
7 months ago

What is the variant for product price?

Vin Member
Posts:
2
7 months ago

Is there anyway to add dropdowns that affect the price if you've already used all 3 allowed options? I have a few products that need 6 dropdowns that would change the price?

Jamie Chief Officer of Funness www.evolvedesign.co
Posts:
5380
7 months ago

There is no way to do this out of the box. Depending on what you are adding you may be able to hack something together by adding another product to the order with those dropdowns. Shopify has a hard 3 option limit and 100 variant limit per product.

http://experts.shopify.com/evolution ::: http://evolvedesign.co ::: http://twitter.com/EvolutionDesign
Vin Member
Posts:
2
7 months ago

Could you point me in the right direction to accomplish this? Is it possible to change the hard limits to increase them?

Jamie Chief Officer of Funness www.evolvedesign.co
Posts:
5380
7 months ago

It is not. This is a system wide limit on all shops. Like I said if these are global addons then you can probably hack something together by adding your three extra charges as separate products, but it is hard to say without knowing what you are doing.

http://experts.shopify.com/evolution ::: http://evolvedesign.co ::: http://twitter.com/EvolutionDesign

This thread has been closed! You will not be able to reply.