product description/custom field in cart view

  • Posts: 27
  • Thank you received: 0
12 years 3 months ago #59944

Hi,
how can I display the product description in the checkout cart view. Also, how can I display a product custom field (which I fill in when editing the product) in the checkout cart view and later on on the order / invoice.

Can you also help with that: how can I display the product variant/option chosen in the cart module view.

Many thanks!!
Christoph

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 3 months ago #60045

Hi,

That's a lot of things :)

1. in the file 'cart' of the view 'checkout' via the menu Display->Views you can add the code:
<?php echo $row->product_description; ?>

after the code:
<?php echo $row->product_name; ?>

2. in the file 'cart' of the view 'checkout' via the menu Display->Views you can add the code:
<?php echo $row->CUSTOM_FIELD_COLUMN; ?>

after the code:
<?php echo $row->product_name; ?>

where CUSTOM_FIELD_COLUMN has to be replaced with the column name of the field.

3. For the invoice, you can do that in the file "invoice" of the view "product" of your back end template via the menu Display->Views.

4. The product characteristic is displayed automatically on the cart unless the "Append characteristics value to product name" option of the configuration is turned off. So you should check on that.

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
12 years 3 months ago #60051

Hi Nicolas,
great thanks, will check today
christoph

Please Log in or Create an account to join the conversation.

  • Posts: 100
  • Thank you received: 1
11 years 8 months ago #93210

Nicolas

Could i ask for more information

If I modify the file 'cart' of the view 'checkout' and add in my custom fields for type product, will the information be printed on the order and invoice as well.

thanks

Patrick

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #93420

Hi Patrick,

If you modify the file 'cart' of the view 'checkout', just your checkout will be affected. if you want to edit your invoice, you'll have to edit the good file ;).

Hope this will help you a little.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum