Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

manufacturer_id, limitstart and view
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: manufacturer_id, limitstart and view

manufacturer_id, limitstart and view 11 years, 9 months ago #37124

Hi! dajo!

I need configurate or modificate virtuemart com_sef extension for don't confuse mi clients....
When any client visit the page 2 or 3 or...of any categoru, the limitstart is memorizated, and when mi client visit a new category of th shop, this category open in last limistart visited.

Can I create a rule or similar for in categories when limitstart don't are in url, the value forzed limistart=0 ??

My second problem ocurred but I she the virtuemart_manufacturer_id apeear in shop index.
In url saved automatic I see this:
shop/ index.php?option=com_virtuemart&Itemid=109
shop/ index.php?option=com_virtuemart&virtuemart_manufacturerid=245&Itemid=109
shop/ index.php?option=com_virtuemart&virtuemart_manufacturerid=246&Itemid=109
shop/ index.php?option=com_virtuemart&virtuemart_manufacturerid=248&Itemid=109

And my 3 problem:
sometimes I see on my website url like this:
manufacturer-name/product-name/?view=productdetails
Mi site have 67.000 products and I see "view=productdetails" only sometimes
If I search url in com_sef administrator i see 2 url for the product with "view=productdetails" and without "view=productdetails"

thank you! very much!!
The topic has been locked.

Re: manufacturer_id, limitstart and view 11 years, 9 months ago #37521

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

I'm sorry for the delay.

The problem with limitstart could probably be fixed by a simple customization directly in VirtueMart's code. If you know PHP you can try to add the following code to the beginning of /components/com_virtuemart/virtuemart.php file. Of course make a backup of the file prior to doing this.
if (is_null(JRequest::getVar('limitstart'))) {
JRequest::setVar('limitstart', 0);
}


I don't know why the URLs with virtuemart_manufacturerid were created. You could enable the URL Source Tracing so the information about its origin will be stored next time such URL is created.
It's very strange that the URLs contain the variable virtuemart_manufacturerid (with missing underscore before the "id" part). Maybe you have some custom URL somewhere on your website with this wrong variable?

Your 3rd problem may be caused by "Handle query variables as non-SEF" option being enabled in JoomSEF's Configuration on the Advanced tab. Try to disable it.
ARTIO Support Team
The topic has been locked.

Re: manufacturer_id, limitstart and view 11 years, 9 months ago #37587

Hi dajo!

Hi put your code:
if (is_null(JRequest::getVar('limitstart'))) {
JRequest::setVar('limitstart', 0);
}
in: components/com_sef/sef_ext/com_virtuemart.php
and this work!

I think that its good don't write in VM files and you in the future versions add this.....please :D
The topic has been locked.

Re: manufacturer_id, limitstart and view 11 years, 9 months ago #37617

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

Basically I think this is VirtueMart's problem so VirtueMart should handle this.
But we'll consider adding an option for this in some future version of our extension.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný