virtuemart products
12 posts
• Page 1 of 2 • 1, 2
virtuemart products
hi all , i have installed xmap 2.2.1 with virtuemart plug in , i publish the plugin and set ALWAYS for the products .
i create an hide menù where i display all category list
now my problem is that xmap create a sitemap just with 258 products , in my website i have over 1000 poroducts.
can someone explain me kindly why xmap generate a sitemap with only 258 products ???
i already try to reinstall but i still have the same problem.
thanks.
i create an hide menù where i display all category list
now my problem is that xmap create a sitemap just with 258 products , in my website i have over 1000 poroducts.
can someone explain me kindly why xmap generate a sitemap with only 258 products ???
i already try to reinstall but i still have the same problem.
thanks.
- coppo82
- Fresh Boarder

- Posts: 2
- Joined: Tue Sep 18, 2012 2:12 pm
Re: virtuemart products
Same problem here - I have over 5000 products and only 1180 is listed in XML sitemap
- adnank
- Fresh Boarder

- Posts: 1
- Joined: Sun Apr 15, 2012 10:06 pm
Re: virtuemart products
Hi, thanks for posting this issue, please try the attached version for the plugin, this should fix that issue:
Just install it as any other Joomla's extension
Just install it as any other Joomla's extension
- Attachments
-
xmap_com_virtuemar-2.0.1.zip- (6.7 KiB) Downloaded 185 times
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re: virtuemart products
Hi, I have the same problem - my xmap create a sitemap just with 192 products, in my website i have over 470 poroducts.
guilleva: install this Joomla's extension but nothing has changed. Any other idea from what could it be?
guilleva: install this Joomla's extension but nothing has changed. Any other idea from what could it be?
- AngelinStoev
- Fresh Boarder

- Posts: 3
- Joined: Wed Sep 26, 2012 8:03 am
Re: virtuemart products
Hi Guilleva and hi all
(long time since last post ^^)
Ok, just got the same issue with the 2.3.0 of xmap and the 2.2.1 xmap plugin for virtuemart.
60 products in my shop, but only the half on the sitemap.
What I can say is that apparently the sitemap retrieve only 10 products by parent category...if it can help to solve the clue.
(long time since last post ^^)
Ok, just got the same issue with the 2.3.0 of xmap and the 2.2.1 xmap plugin for virtuemart.
60 products in my shop, but only the half on the sitemap.
What I can say is that apparently the sitemap retrieve only 10 products by parent category...if it can help to solve the clue.
Last edited by Greg on Sun Oct 21, 2012 5:26 pm, edited 1 time in total.
Joomla 1.5.22 / 2.5.7 | VM 2.0.12b | Xmap 1.2.14 / 2.3.0 | PHP5.3.17
- Greg
- Senior Boarder

- Posts: 50
- Joined: Sun Sep 16, 2007 7:42 pm
Re: virtuemart products
Ok, found the problem.
This issue is due to the number of "products per page" in the vm configuration, once I change this to 70, all my 60 products were inserted correctly in the xml sitemap.
I will try to provide a fix asap, and commit it on the master branch too.
This issue is due to the number of "products per page" in the vm configuration, once I change this to 70, all my 60 products were inserted correctly in the xml sitemap.
I will try to provide a fix asap, and commit it on the master branch too.
Joomla 1.5.22 / 2.5.7 | VM 2.0.12b | Xmap 1.2.14 / 2.3.0 | PHP5.3.17
- Greg
- Senior Boarder

- Posts: 50
- Joined: Sun Sep 16, 2007 7:42 pm
Re: virtuemart products
ok fixed for me.
File : plugins/xmap/com_virtuemart/com_virtuemart.php
at line 184 add
And so both html and xml sitemap have all the products in (at least 9000, just change this number to fit your needs)
Pull request done on the master branch.
File : plugins/xmap/com_virtuemart/com_virtuemart.php
at line 184 add
- Code: Select all
$app->setUserState('com_virtuemart.xmlc0.limit',9000);
And so both html and xml sitemap have all the products in (at least 9000, just change this number to fit your needs)
Pull request done on the master branch.
Joomla 1.5.22 / 2.5.7 | VM 2.0.12b | Xmap 1.2.14 / 2.3.0 | PHP5.3.17
- Greg
- Senior Boarder

- Posts: 50
- Joined: Sun Sep 16, 2007 7:42 pm
Re: virtuemart products
Hi, Greg!!
Thanks for sharing the fix. I have merged into master!
Regards,
Guillermo
Thanks for sharing the fix. I have merged into master!
Regards,
Guillermo
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re: virtuemart products
Hi, guys! Had the same problem. Unfortunately, fix provided by Greg didn't help.
After some researches created own solution:
In file plugins/xmap/com_virtuemart/com_virtuemart.php
between 135 and 136 lines I have inserted this code:
self::$productModel->_noLimit = true;
that line disables the limitation for Virtuemart when it is searching products for the category.
thought it might be helpful to others.
After some researches created own solution:
In file plugins/xmap/com_virtuemart/com_virtuemart.php
between 135 and 136 lines I have inserted this code:
self::$productModel->_noLimit = true;
that line disables the limitation for Virtuemart when it is searching products for the category.
thought it might be helpful to others.
- ev3ry
- Fresh Boarder

- Posts: 2
- Joined: Mon Oct 22, 2012 8:09 pm
Re: virtuemart products
Hi,
Did you say that without your fix the issue remain both for html and xml sitemap ? Because it's weird that it can't work for you too.
Also, $productModel->_noLimit could be "dangerous" for shop with huge number of products.
And as I see it in the code, $productModel->_noLimit is conditional to the "Show manufacturers" option in the VM config, so if I uncheck it in the VM config, your fix would have no effect.
Anyone else could give some test results about both fix plz ?
thanks
Did you say that without your fix the issue remain both for html and xml sitemap ? Because it's weird that it can't work for you too.
Also, $productModel->_noLimit could be "dangerous" for shop with huge number of products.
And as I see it in the code, $productModel->_noLimit is conditional to the "Show manufacturers" option in the VM config, so if I uncheck it in the VM config, your fix would have no effect.
Anyone else could give some test results about both fix plz ?
thanks
Joomla 1.5.22 / 2.5.7 | VM 2.0.12b | Xmap 1.2.14 / 2.3.0 | PHP5.3.17
- Greg
- Senior Boarder

- Posts: 50
- Joined: Sun Sep 16, 2007 7:42 pm
12 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 2 guests