Any help here - of course, this is just an expression of my lack of 
experience with Mezzanine :-( 
Thanks a lot, indeed,
Chris

On Thursday, 24 July 2014 17:06:29 UTC+7, Christoph H. Larsen wrote:
>
> Dear Stephen,
> Thanks a lot for your kind reply. Got graphics in the .pdfs working, but 
> continue to struggle with getting the SKU's image into the order details. 
> Entirely my incompetence in terms of templates and tags, of course. Any 
> hints into the right direction?
> Thanks a million!
> Chris
>
>
> On Wednesday, 16 July 2014 07:21:38 UTC+7, Stephen McDonald wrote:
>>
>> There's no built-in way to show images for order items at the moment, 
>> although you could get it working with a little effort. You'd need to 
>> override the relevant template as you're already doing, and apply your own 
>> template tag that looks up the product images via order item SKU.
>>
>> As for showing images in PDFs or any other format that isn't in the 
>> website, make sure you prefix the image URLs with the full host, eg 
>> http://www.example.com/static/foo.gif - A PDF file has no idea where to 
>> find "/static/foo.gif" on its own.
>>
>>
>> On Tue, Jul 15, 2014 at 11:50 PM, Christoph H. Larsen <
>> [email protected]> wrote:
>>
>>>
>>> Dear All,
>>> First of all, a huge thank you to everybody who has been contributing to 
>>> this fantastic project (Mezzanine as well as Cartridge)!
>>> I have an issue in an e-commerce installation that does not use any 
>>> automated payment gateways, as each item sold is bespoke in nature. 
>>> Therefore, SHOP_PAYMENT_STEP_ENABLED is set to False, and nothing more 
>>> than order details are required.
>>> The left-to-right template is in 
>>> templates/shop/includes/order_details.html. I wish to add a colum with a 
>>> small thumbnail image of each purchased item to the table of "Items 
>>> Ordered". However, I seem to be unable to pull in the right fields for the 
>>> "item", having tried to add a table column with:
>>> <td><img alt="{{ item.description }}" src="{{ MEDIA_URL }}{% thumbnail 
>>> item.image 30 30 %}"></td>
>>> to no avail.
>>> Any hints?
>>> I did manage to add the company logo to the letterhead, but noted that 
>>> the .pdf version of the same document does not print any graphics 
>>> whatsoever. Am I missing something in this respect?
>>> Thanks a million for any hints -
>>> Bests from Vietnam,
>>> Chris
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Mezzanine Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Stephen McDonald
>> http://jupo.org 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to