News:

Support the VirtueMart project and become a member

Main Menu

some products detail pages wont display correctly

Started by kiasati, July 09, 2017, 18:34:05 PM

Previous topic - Next topic

kiasati

Hi

i'm using joomla 3.7.3 and virtuemart 3.2.3

some products detail pages won't display right.. see the pic below:


for example assume the product is in cameracategory/subcategory1
if i go to "subcategory1 category view" and then click on the product in order to see its detail page, the product detail page displays correct.

but if i try to open the product detail page from "cameracategory view", it displays like the pic above :/

what is the problem?

please help...

hellorain

Hello,

I suppose its issue of css broken.

Can you provide us your website url so check different products?

Best Regards,
hellorain.
Raincreatives - Virtuemart & Mobile Commerce Experts

Milbo

You disabled the php errors on your page.

Enable it in vm config. Then you see the fatal error which is responsible for
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kiasati

#3
Quote from: Milbo on July 12, 2017, 15:44:47 PM
You disabled the php errors on your page.

Enable it in vm config. Then you see the fatal error which is responsible for

Notice: Undefined property: stdClass::$images in /public_html/components/com_virtuemart/views/productdetails/tmpl/default_showcategory.php on line 72

Fatal error: Call to a member function displayMediaThumb() on null in /public_html/components/com_virtuemart/views/productdetails/tmpl/default_showcategory.php on line 72


ERRORS IN CONSOLE:

1.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:10
دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:14

2.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:14
دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:22

4.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:22
cloud-zoom.1.0.3.js:418

5.
Uncaught ReferenceError: jQuery is not defined
    at cloud-zoom.1.0.3.js:418
jquery.flexslider-min.js:5

6.
Uncaught ReferenceError: jQuery is not defined
    at jquery.flexslider-min.js:5
دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:50

7.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:50
%D8%AF%D9%88%D8%B1%D8%A8%D9%8A%D9%86-%D9%85%D8%AF%D8%A7%D8%B1%D8%A8%D8%B3%D...A%DA%A9-%D9%88%D9%8A%DA%98%D9%86-%D9%85%D8%AF%D9%84-ds-2ce16d0t-it1-detail

8.
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

jenkinhill

So you can now see the fatal error - Call to a member function displayMediaThumb() on null

So searching the forum with that you will find, amongst others:

http://forum.virtuemart.net/index.php?topic=137142.msg482451#msg482451
http://forum.virtuemart.net/index.php?topic=137723
http://forum.virtuemart.net/index.php?topic=136152
http://forum.virtuemart.net/index.php?topic=137497

You should update your template. You don't say which VM3.2.3 release you are using, but the most stable is VM3.2.3.9587  -  http://forum.virtuemart.net/index.php?topic=137816.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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