I've had some success doing this. I've essentially created a packing
slip that mirrors the order details print out and also includes a PO
Property.
However, it is kind of tricky. uStore essentially takes the product
property you've created (the PO number) and adds it as a dial. In your
SQL, you have to actually get the value from the dial. The problem is
that you each of your products in your store will have a different
dial ID for the PO number property you've created, so this makes it
hard to use IDs to get at the data you want. Essentially, the value
you want is in the dialvalue table, so you're sql has to include the
product table joined to the dial table joined to the dialvalue table.
Instead, I suggest that you use the name of the property/dial in your
sql code. If you use the name instead of the id, you can use the same
sql code for all of your products.
If you like, send a private email to me at
p_pi...@yahoo.com, and I
will send you both the SQL strings I use and the XSLT code for the
emails.
On Nov 9, 11:02 am, Michael Dobbins <
mikedobb...@gmail.com> wrote:
> I have a client wanting somewhere to put a PO Number, I have set it up using
> the Product Properties so that it shows in the cart and order history, but I
> also need it to display in the email receipt. Would the sql below work if I
> knew where to find the ID of the Product Property, which I currently don't?
>