-
AuthorPosts
-
Laong Duijndam Friend
Laong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 17, 2017 at 4:17 am #1049001Hi We struggle already a couple of weeks with a problem in the webpage. It started after we put in two new products, if we clicked on the product pictures we get a script file. We contacted Joomla, they say virtuemart problem. Now we understand that the problem is realized after upgrade Megastore and Joomla. Here under the results of Virtuemart. Now the problem is everywhere. What can I do this problem overruled my knowledge?
ANSWERE FROM VIRTUEMART
The problem is with your template or with your template configuration. There is a simple test for template layout problems, which is to add ?tmpl=component&template=protostar to the end of a page url- this forces display of the VM component using the default VM templates without including your Joomlart template code.
Compare https://www.laongvivah.com/fashion-new/dm-0286 which as you say, does not display correctly with https://www.laongvivah.com/fashion-new/dm-0286?tmpl=component&template=protostar When you look at the product details section of the page.
Also the page https://www.laongvivah.com/fancy-dress/results13-12 should return the results of a search. Compare that with https://www.laongvivah.com/fancy-dress/results13-12?template=protostar&tmpl=component where your template is not involved – here the differences are obvious with the products being displayed.
I suspect that the template you are using has not been updated to work with current VirtueMart versions. I see that a revised version of the Megastore template was released 6 weeks ago, presumably to fix Joomla 3.7 compatibility and maybe included override updates for current VM versions such as was described in http://forum.virtuemart.net/index.php?topic=135402.0
This is the rough list of the changes in vm3.0.16 to vm3.0.18
Important for shops with overrides: The new js for using ajax for reloading product content uses now always the same class. The class is "product-container". Just search for the div with "productdetails-view productdetails" and add product-container.
In case you want the ajax reload within a product modul, you need to adjust the overrides here also. Just search for Code: [Select] <li class="<?php echo $pwidth ?> <?php echo $float ?> "> and change it to Code: [Select] <li class="product-container <?php echo $pwidth ?> <?php echo $float ?> ">
Just search for Code: [Select] "echo vmJsApi::writeJS();" in the default.php of your cart overrides, replace it by Code: [Select] ?><div style="display:none;" id="cart-js"> <?php echo vmJsApi::writeJS(); ?>
For a correct setup of some payments using their own layout, you need to move the main opening div a bit lower than before. Just search for Code: [Select] <div id="cart-view" class="cart-view"> in your default.php of your cart view and place it above the "getLoginForm Code: [Select] <div id="cart-view" class="cart-view"> <div class="vm-cart-header-container"> Here cut the first div and set it here Code: [Select] <div id="cart-view" class="cart-view"> <?php $uri = vmURI::getCleanUrl(); $uri = str_replace(array(‘?tmpl=component’,’&tmpl=component’),”,$uri); echo shopFunctionsF::getLoginForm ($this->cart, FALSE,$uri);
- This topic was modified 7 years, 3 months ago by Laong Duijndam.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 18, 2017 at 6:34 am #1049403Hi,
Are you also using latest version of JA Megastore template on your site?
You can also share the credentials of your site so I will take a look.
Regards
Laong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 18, 2017 at 7:22 am #1049409This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 18, 2017 at 7:49 am #1049432Hi Cees,
The latest version of template is 1.0.2, kindly check the new version and update via JA Extension Manager component (JAEM).
Do remember to backup your site first before updating.
Regards
Laong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 18, 2017 at 8:07 am #1049441Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 19, 2017 at 9:12 am #1049755Hi Cees,
Could you share the FTP account also?
Laong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 19, 2017 at 9:19 am #1049762This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 19, 2017 at 10:31 am #1049777Hi,
I tried to disable the override of template for virtuemart component so that it loads the default files of VM but it keeps the same.
You can tried to rename this directory: /templates/ja_megastore/html/com_virtuemart/ and see the same.
Do you have any cache settings on server side? or pls try to disable 3rd party extensions on your site like: sh404sef, akeeba, etc…
Regards
Laong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 19, 2017 at 10:43 am #1049779Hi Saguaros,
We have no cache by the provider, disable sh404sef we have already done Weeblr have also looked for it so also Joomla and so as you know Virtuemart. All say it’s the template,
I have here backup with joomla 3.72 and template megastore 1.0.2 In XAMPP it works looks like OK but when I upgrade to Joomla 3.73 everything goes wrong.
Regards CeesLaong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 19, 2017 at 11:39 am #1049794Hi Saguaros,
I have download a copy of the site in XAMPP and disabled , SH404SEF, AKEEBA, and JSITEMAP. It makes no difference, the problem is still there.
Best regards CeesSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 20, 2017 at 7:18 am #1050027This reply has been marked as private.Laong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 20, 2017 at 7:23 am #1050032Hi Saguaros,
That’s Ok
Kindest regards Cees
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 26, 2017 at 3:50 am #1051606Hi Cees,
Somehow, I can’t restore your website in my local, could you take a backup of your site on local without 3rd party extensions and share to me?
Laong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 26, 2017 at 8:34 am #1051689Hi Saguaros,
I had remove it from my PC, tomorrow I start it again in XAMPP. And send you a backup, but in the root of my site are two backups ….. .jpa and megastart.php (Kickstart) the backup with the oldest date is without Joomla 3.7.3 and works. The other one id with Joomla 3.7.3 who give only problems.
Best regards Cees
Laong Duijndam FriendLaong Duijndam
- Join date:
- November 2010
- Posts:
- 226
- Downloads:
- 20
- Uploads:
- 91
- Thanks:
- 65
- Thanked:
- 3 times in 1 posts
July 27, 2017 at 5:52 am #1051877Hi Saguaros,
I can’t install the site in my localhost XAMPP with joomla 3.7.3. I can install with joomla 3.7.2
I think use the live site and switch him offline, take out what you want, let me know. If you will do that let me know.
It’s make me crazy we will putt new products in it.
Kindest regards CeesAuthorPostsThis topic contains 20 replies, has 2 voices, and was last updated by Saguaros 7 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum