d
Topic
ModXplosion Shopify Partner
Posts:
18
Last edited October 16, 2012

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

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 shopify.com/plus
Posts:
5861
Last edited October 17, 2012

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://shopifyplus.com ::: http://twitter.com/bacchus
ModXplosion Shopify Partner
Posts:
18
October 16, 2012

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

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5861
October 17, 2012

Glad I could help! :)

http://shopifyplus.com ::: http://twitter.com/bacchus
ModXplosion Shopify Partner
Posts:
18
October 17, 2012

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

 

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5861
October 17, 2012

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://shopifyplus.com ::: http://twitter.com/bacchus
ModXplosion Shopify Partner
Posts:
18
October 17, 2012

What is the variant for product price?

Vin Member
Posts:
2
November 08, 2012

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 shopify.com/plus
Posts:
5861
November 08, 2012

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://shopifyplus.com ::: http://twitter.com/bacchus
Vin Member
Posts:
2
November 08, 2012

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 shopify.com/plus
Posts:
5861
November 08, 2012

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://shopifyplus.com ::: http://twitter.com/bacchus

Log in or sign up for an account to reply.

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