News:

Looking for documentation? Take a look on our wiki

Main Menu

Changing Virtuemart Manufacturer SEF

Started by BulletProof47, September 28, 2014, 07:28:22 AM

Previous topic - Next topic

BulletProof47


GJC Web Design

try changing COM_VIRTUEMART_SEF_MANUFACTURER="manufacturer"

in  components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.sef.ini
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


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

jjk

#4
oops, GJC Web Design posted another reply before I finished typing this  :)

The index.php in the url will go away when you rename the file htaccess.txt to .htaccess in your Joomla root folder.
In order to remove component/virtuemart/ from the url, you need to create menu items with the item type  'VirtueMart Manufacturer Details Layout'
Changing COM_VIRTUEMART_SEF_MANUFACTURER="manufacturer" to changing COM_VIRTUEMART_SEF_MANUFACTURER="myowntext" should be done as a Joomla language file override at Extensions > Language Manager > Overrides tab.
The final result of the SEF url depends on your menu structure and using for example the Virtuemart Manufacturers Module as a menu can give a different result than using a standard Joomla menu.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

BulletProof47

Thank you guys for reply. But its not working the way I wanted.
I changed COM_VIRTUEMART_SEF_MANUFACTURER='myowntext' using language override but its not using my custom text,its still using manufacturer.
For creating the menu type manufacturer details,I want the products to have manufacturer url dynamic,so I can't do that too.
Any suggestions? Thanks.

jjk

Quote from: BulletProof47 on September 29, 2014, 01:44:25 AM
I changed COM_VIRTUEMART_SEF_MANUFACTURER='myowntext' using language override but its not using my custom text,its still using manufacturer.
1st suggestion: Clear your Joomla and browser and cache.
2nd suggestion: You might still have 'manufacturers' in your url if you don't have a Joomla menu item set to 'VirtueMart Manufacturer Details Layout' for that manufacturer.
You probably need two language keys in the Joomla language overrides (select yourlanguage - site in the overrides tab):
COM_VIRTUEMART_SEF_MANUFACTURER="myowntext"
COM_VIRTUEMART_SEF_MANUFACTURERS="myowntext"

Note that you can use a hidden (not published) menu if you don't want to display the Joomla menu with all manufacturers in the frontend and display the VM Manufacturers module instead.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations