URLS to the products of a supplier load description of a category

Started by serge-web54, October 03, 2015, 08:47:10 AM

Previous topic - Next topic

serge-web54

Hello, due to a migration, I have the categories that have the same id that some suppliers.
i call with sh404 the products from the supplier via: index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=42 for example, except that it goes well fetch me the products of the supplier 42 but also displays the description of the category 42.
How can I do to have the display in category of supplier products without the description of the category with the same id?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

serge-web54



ok,
Thank you to remain me the rules and that my english seems poor ( I do not have the chance to be born in english speaking country ;) ) :
my site is there :
http://cordes.fr/nouveau (vm3.0.10 J3.4.4)
and for instance when you choose : http://www.cordes.fr/nouveau/cordes-judge-fredd.htm you could see judge fredd products with a description of the category with the same id.(instrument traditionnels)

I use sh404 to rewrite the urls and the titles, and also because i want a direct link to products of a manufacturer.
If i disable sh404 i have the same problems.

Thanks for helping
Serge


jjk

Looks to me like you are using category menu links in your left menu which you labeled with manufacturer names. In this case I suppose you would have to remove the category description. I doubt that the identical id numbers have any relevance, because in the database tables they have different names. One is virtuemart_category_id and the other one is virtuemart_manufacturer_id. So you can have for example manufacturer 1,2,3,4,5,... and category  1.2.3.4.5,...

Another option would be to use a menu with manufacturer names where the menu item types are set to 'Manufacturer_details_layout'.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

serge-web54

well, if i disable sh404 and go to index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=57 it works fine
if i enable sh404 and lead my url to this one , it display category 57 description

it makes me fool ::

GJC Web Design

but if u name your categories the same as your manufacturers what do u expect to happen when a SEF component constructs its url from the title names?

name them slightly differently... e.g manu as Marque Cordes Judge  Fredd and make sure you update the alias as well

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation