Author Topic: Show product alias on order page  (Read 250 times)

tjrayner

  • Beginner
  • *
  • Posts: 9
Show product alias on order page
« on: July 11, 2018, 16:15:29 pm »
Please can someone help me find a way to get the product alias to show on the order page. I've tried adding different things to the order_item.php page but cannot work out the correct code

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1669
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Show product alias on order page
« Reply #1 on: July 11, 2018, 21:58:57 pm »
Vm version, Joomla etc

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3334
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Show product alias on order page
« Reply #2 on: July 11, 2018, 23:57:19 pm »
do a var_dump or a print_r of the $item in the foreach loop, so you see all fields

tjrayner

  • Beginner
  • *
  • Posts: 9
Re: Show product alias on order page
« Reply #3 on: July 16, 2018, 14:27:37 pm »
Sorry, Joomla 3.8.10 with Virtuemart 3.2.14

tjrayner

  • Beginner
  • *
  • Posts: 9
Re: Show product alias on order page
« Reply #4 on: July 16, 2018, 15:07:16 pm »
do a var_dump or a print_r of the $item in the foreach loop, so you see all fields

Thanks Studio 42, this is something I've never done before but figured it out and it worked a treat. Thank you very much for pointing me in the right direction