Author Topic: Array text showing  (Read 3954 times)

Nilsy

  • Jr. Member
  • **
  • Posts: 75
    • Sexhibition
  • VirtueMart Version: 3.6.2 10159
Array text showing
« on: April 16, 2017, 19:59:43 pm »
Hi there...

Joomla! 3.6.5
Linux
PHP 5.6.30
Apache
VM 3.2.1

Just starting a new site, which will make me rich... lol
Anyway, under construction, I see that on the right of the manufacturer logo, the statement "Array" is showing.
Relax, this was also there prior to the alteration showing the logo in preference to just the name.

I believe I have seen this before, but I can't find out where I found out the fix.
Can someone help point out what I am forgetting?

Attachment shows where etc.
Joomla 3.9.12

peter.gazo

  • Beginner
  • *
  • Posts: 4
  • PPC Expert, Google Advertising Professional
    • Pay Per Click SK
Re: Array text showing
« Reply #1 on: April 18, 2017, 13:10:52 pm »
Hi. I had the same problem. It is from the shippment method. Turn the "Show on the product details page" to "No".
Peter Gazo

Nilsy

  • Jr. Member
  • **
  • Posts: 75
    • Sexhibition
  • VirtueMart Version: 3.6.2 10159
Re: Array text showing
« Reply #2 on: April 18, 2017, 13:31:21 pm »
Hi. I had the same problem. It is from the shippment method. Turn the "Show on the product details page" to "No".
Thank you!
Joomla 3.9.12

lebogang

  • Beginner
  • *
  • Posts: 7
  • A beginner
Re: Array text showing
« Reply #3 on: May 09, 2018, 15:47:54 pm »
Good day

This solution doesn't work for me. I've turned the "Show on the product details page" to "No". but im still getting the "Array" Message. http://gold-creative.co.za/paint/index.php/shop/paint-type/interior/artisan-satin-cote-detail

Im running Joomla! 3.8.7 and VirtueMart 3.2.14

Thanks

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 308
    • Audio Store
Re: Array text showing
« Reply #4 on: May 09, 2018, 16:51:44 pm »
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

edsmiths

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Array text showing
« Reply #5 on: February 21, 2021, 14:38:27 pm »
Hello,

I'm with this same problem and followed Milbo solution (https://forum.virtuemart.net/index.php?topic=140113.0) without success.

I've managed to solve the problem, putting comments in the above php code

Code: [Select]
<?php

if (is_array($this->productDisplayShipments)) {
    foreach ($this->productDisplayShipments as $productDisplayShipment) {
echo $productDisplayShipment '<br />';
    }
}
if (is_array($this->productDisplayPayments)) {
    foreach ($this->productDisplayPayments as $productDisplayPayment) {
echo $productDisplayPayment '<br />';
    }
}
?>

Could this fix turns in any later issue? I don't need the product shipment or payments information displayed in my product detail view.

Thanks in advance,
Ed

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28120
  • Always on vacation
    • Jenkin Hill Internet
Re: Array text showing
« Reply #6 on: February 21, 2021, 15:07:17 pm »
Is that with a current version of VM 3.8.8 or 3.8.9?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

edsmiths

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Array text showing
« Reply #7 on: February 21, 2021, 16:10:21 pm »
Hello,

Virtuemart 3.8.2

Thanks,
Ed

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28120
  • Always on vacation
    • Jenkin Hill Internet
Re: Array text showing
« Reply #8 on: February 21, 2021, 17:12:52 pm »
OK, the code is different in 3.8.8 so maybe you could have saved time by just updating...  :) :)
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14