Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » Templates

Post new topic   Reply to topic
Add Item Title in the label
View previous topic :: View next topic  
Author Message
car-gym.com



Joined: 07 Aug 2005
Posts: 67

PostPosted: Tue Aug 09, 2005 1:41 am    Post subject: Add Item Title in the label Reply with quote

How do I add the Item Title to the shipping label?
Back to top
View user's profile
car-gym.com



Joined: 07 Aug 2005
Posts: 67

PostPosted: Tue Aug 09, 2005 2:20 am    Post subject: Reply with quote

I always need the code to support multiple items if the buyer order multiple products. Thank you
Back to top
View user's profile
car-gym.com



Joined: 07 Aug 2005
Posts: 67

PostPosted: Tue Aug 09, 2005 2:28 am    Post subject: Re: Add Item Title in the label Reply with quote

[quote="car-gym.com"]How do I add the Item Title to the shipping label?[/quote]

Sorry, this is for eBay items.
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Tue Aug 09, 2005 7:51 am    Post subject: Reply with quote

Hello,

What shipping service are you using? UPS, Endicia, etc.?

For Endicia, you will need to add the following code to any of the rubber stamp fields on the Endicia Export screen in ShipWorks. In addition, you will need to to link the corresponding rubber stamp to your Dazzle layout by choosing to add a rubber stamp to your layout, selecting to link to address list field, and select the appropriate rubber stamp (ie. Rubber Stamp 1, etc).

Code:
<xsl:for-each select="//Order/Item">{Name}, </xsl:for-each>


If you are using the built-in Download UPS Labels feature, you can add this to the memo field, in the UPS Preferences. UPS -> UPS Preferences.

Please let us know if you have further questions.

Thanks,

Wes


Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
car-gym.com



Joined: 07 Aug 2005
Posts: 67

PostPosted: Wed Aug 10, 2005 12:20 am    Post subject: Reply with quote

I am printing this on a generic label. Not for UPS or USPS.

I have include the following line to the template:

<p></p>
Ordered Item: <xsl:for-each select="//Order/Item">{Name}</xsl:for-each>

however, it only prints "Ordered Item: {Name}" in the label. I want to print the eBay item title. What else do I need to include?

Thanks.
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Wed Aug 10, 2005 9:10 am    Post subject: Reply with quote

Hello,

Try using the following code:

Code:
Ordered Item: <xsl:for-each select="//Order/Item"><xsl:value-of select="Name" /></xsl:for-each>


Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
car-gym.com



Joined: 07 Aug 2005
Posts: 67

PostPosted: Thu Aug 11, 2005 2:47 am    Post subject: Reply with quote

Finally got it to work with the code:

<a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;item={Code}"><xsl:value-of select="Name" /></a>.

Now I need the qty of the item to be printed on the label as well. What's the code I need to input? Thank you.
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Thu Aug 11, 2005 6:10 am    Post subject: Reply with quote

Hello,

You can print the item quantity by using the following:

Code:
<xsl:value-of select="//Order/Item/Quantity" />


Or, if placed within the "for-each" statement you posted above, you can simply use:

Code:
<xsl:value-of select="Quantity" />



Also, you might find the built-in help documenation useful as you continue to design your own templates. It contains detailed reference information on our template system, and the ShipWorks XML schemaa. The help system is located under Help -> Contents.

Please let us know if you have further questions.

Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
webtree



Joined: 13 Aug 2005
Posts: 12

PostPosted: Sun Aug 14, 2005 5:58 pm    Post subject: Please advise on the easiest way to format code Reply with quote

Hi,


We have endicia software and need the following code for rubber stamp to print out : item discription and Quanity. Also how do you format rubber stamp to fit within the label. For example: we have 8 differant items and quanities for each the dazzle program does not expand box to fit all on the label we end up with one long box that extends belond the label.

Thanks in advance,
Sue
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Mon Aug 15, 2005 10:13 am    Post subject: Reply with quote

Hello,

The rubber stamp code for printing item description, followed by quantity:

Code:
<xsl:for-each select="//Order/Item">{Name} - {Quantity}, </xsl:for-each>


Unfortunatly, the Endicia rubber stamp fileds are somewhat limited in their layout capability. If the string of text is wider than your layout file, it will not wrap to another line. If your rubber stamps are sending the item name, and item quantity, and there are a total of 8 products, the problem you are experincing would be expected due to Dazzle's limitations. You may want to use something smaller, such as the item number, without the item name, if you are frequently experiencing this problem.

Please let us know if you have further questions.

Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
howardstern



Joined: 09 Sep 2005
Posts: 58

PostPosted: Sat Sep 10, 2005 9:39 pm    Post subject: Reply with quote

apptive2 wrote:


You may want to use something smaller, such as the item number, without the item name,


Can you please post the code to add our Marketworks item inventory #,
Thanks
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Mon Sep 12, 2005 4:01 pm    Post subject: Reply with quote

Hello,

Are you referring to the Marketworks inventory location? This can be output using the following code:

Code:
<xsl:for-each select="//Order/Item/Marketworks">{Location}</xsl:for-each>


Please let us know if you have further questions.

Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
howardstern



Joined: 09 Sep 2005
Posts: 58

PostPosted: Mon Sep 19, 2005 7:29 am    Post subject: Reply with quote

Hi, Can you please give me the code for..

(Marketworks inventory location)-(description)(quantity)

Thank you
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Mon Sep 19, 2005 8:28 am    Post subject: Reply with quote

Hello,

You could use the following code:

Code:
<xsl:for-each select="//Order/Item">{Marketworks/Location} - {Name} - {Quantity}</xsl:for-each>


Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
howardstern



Joined: 09 Sep 2005
Posts: 58

PostPosted: Mon Sep 19, 2005 8:59 am    Post subject: Reply with quote

Wes, is the Marketworks inventory location # the same as the "item #" that show up on the SW "picklist"? When I print a lable no # prints..

This is the # I would need.
Thank you for your help
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Tue Sep 20, 2005 11:03 am    Post subject: Reply with quote

Hello,

The Item Code and Inventory Location are two separate numbers.

If you edit the Pick List template in the Template Manager, you can search for the following line of code:

Code:
<xsl:value-of select="Code" />


and replace with (or add)

Code:
<xsl:value-of select="/Marketworks/Location" />


This should print the inventory location code on the pick list.

If you are trying to add this to your label, you could use the code, as mentioned in a previous post (see below). This could be used for Endicia Rubber Stamp fields, or in the reference fields for UPS.

Code:
<xsl:for-each select="//Order/Item">{Marketworks/Location}</xsl:for-each>


Please let us know if you have further questions.

Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
howardstern



Joined: 09 Sep 2005
Posts: 58

PostPosted: Tue Sep 20, 2005 12:34 pm    Post subject: Reply with quote

Wes, when I use this code it works fine
<xsl:for-each select="//Order/Item">{Name} - {Quantity}, </xsl:for-each>. But when I put in this code
Code:
<xsl:for-each select="//Order/Item">{Marketworks/Location}</xsl:for-each>
, nothing prints on the label
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Tue Sep 20, 2005 12:35 pm    Post subject: Reply with quote

Try this:

Code:
<xsl:for-each select="//Order/Item">{/Marketworks/Location}</xsl:for-each>


Thanks,

Wes
Interapptive, Inc.
Back to top
View user's profile Visit poster's website
howardstern



Joined: 09 Sep 2005
Posts: 58

PostPosted: Tue Sep 20, 2005 12:41 pm    Post subject: Reply with quote

also this

<xsl:for-each select="//Order/Item">{Marketworks/Location} - {Name} - {Quantity}</xsl:for-each>

prints like this

- Hello Kitty Lunchbox - 1

It put a - in the first spot
Back to top
View user's profile
howardstern



Joined: 09 Sep 2005
Posts: 58

PostPosted: Tue Sep 20, 2005 12:51 pm    Post subject: Reply with quote

Hi again Wes, The Inventory Number is not the same as the Inventory Location on MW. I guess thats why its prints blank.

Do you have the code for the MW Inventory Number?
Back to top
View user's profile
howardstern



Joined: 09 Sep 2005
Posts: 58

PostPosted: Tue Sep 20, 2005 6:56 pm    Post subject: Reply with quote

I GOT IT, Very Happy


<xsl:for-each select="//Order/Item">{Code} - {Name} - {Quantity}, </xsl:for-each>
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » Templates All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group