News:

Support the VirtueMart project and become a member

Main Menu

Problem with cart 's URL when SEF = YES

Started by panoss, September 15, 2016, 11:03:59 AM

Previous topic - Next topic

panoss

1. NO SEF (Joomla Global configuration> Search Engine Friendly URLs=NO).
I am at the cart and click 'Check out now' button and get transfered to 'Add/Edit billing address information' form.
The URL now is: index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=BT&Itemid=288&lang=en

Which is fine, because it has the Itemid, and so the module I use to apply some css to the cart (I use a module with Menu Assignment to 'Cart') works fine.

2. SEF = YES
I am at the cart and click 'Check out now' button and get transfered to 'Add/Edit billing address information' form.
The URL now is: : index.php/user/editaddresscartBT
The css in the module does not get applied. The 'Cart' menu item is not selected.

You can check it out live: http://pangou5.freehostia.com/idconcept
I have SEF = YES.

(you don't have to register, just click 'Carpets', 'add to Cart' one of the carpets, click 'Show Cart', choose 'Simple Mail', 'Cash on delivery', check the 'terms of Service' checkbox and click 'Check out Now')
Virtuemart 3.2.4 on Joomla! 3.8.0

GJC Web Design

This has been discussed so many times on here with cart and address urls

use an advanced module manager to do this or hidden menus etc
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

panoss

#2
Quote from: GJC Web Design on September 15, 2016, 11:50:36 AM
use ... hidden menus etc
I 've already tried this (created a menu item with 'Menu Item Type' = 'User Edit Address' (that is VirtueMarts 's 'User Edit Address').
But the button 'Check out Now' still has the old link ( index.php/user/editaddresscartBT).
And not the new one. (I mean the menu item 's ink (index.php/user-edit-address)).
So it doesn't work.
Virtuemart 3.2.4 on Joomla! 3.8.0

panoss

#3
I also tried the Advanced Module Manager, but it caused some modules not to function  ::).
I uninstalled it.

I 'm struggling with it for hours now, I can't believe I got stuck to such a thing...

Edit: I found out that in this page (index.php/user/editaddresscartBT) is displayed the content of 2 modules that are assigned to Home only. :o
Something very strange is happening...
Virtuemart 3.2.4 on Joomla! 3.8.0

VMTemplates.net

Set 'Use URL Rewriting' to YES
Using any FTP client rename htaccess.txt to .htaccess in your Joomla root
We develop VirtueMart templates since 2008
https://www.virtuemarttemplates.net/
Join the VirtueMart Templates Club today and get an access to over 60 VirtueMart templates
https://www.virtuemarttemplates.net/template-club.html
If you need a custom VirtueMart Template design please visit https://www.virtuemarttemplates.net/custom-virtuemart-template-design.html
Visit our new shop https://demo.virtuemarttemplates.net/
Join the VirtueMart Templates Club, purchase the template or order one of our services like Hosting, Website Maintenance, Security and Optimization, Template Customization and more

panoss

Quote from: VMTemplates.net on September 15, 2016, 18:38:22 PM
Set 'Use URL Rewriting' to YES
Using any FTP client rename htaccess.txt to .htaccess in your Joomla root
No this didn't help either.
I don't know, something 's very wrong with this URL ( index.php/user/editaddresscartBT)).
A menu like the one I put, should have done the job...
Virtuemart 3.2.4 on Joomla! 3.8.0

VMTemplates.net

Are you getting the same issue with the default Joomla template (protostar)?
Did you tried to flush cache?

Also, we always recommends to use Advanced Module Manager (already mentioned above in the thread by GJC Web Design) - management may look a little complicated however AMM provides very useful features which I'm sure will allow you to fully set up modules assignment.
https://www.regularlabs.com/extensions/advancedmodulemanager

Thanks,
Jason.
We develop VirtueMart templates since 2008
https://www.virtuemarttemplates.net/
Join the VirtueMart Templates Club today and get an access to over 60 VirtueMart templates
https://www.virtuemarttemplates.net/template-club.html
If you need a custom VirtueMart Template design please visit https://www.virtuemarttemplates.net/custom-virtuemart-template-design.html
Visit our new shop https://demo.virtuemarttemplates.net/
Join the VirtueMart Templates Club, purchase the template or order one of our services like Hosting, Website Maintenance, Security and Optimization, Template Customization and more

panoss

I 'm using protostar in my site, haven't changed to any other template.

I deleted (Joomla 's an browser 's) cache.

I did try the Advanced Module Manager but it caused me troubles! Some modules stopped working!
They (thank God) recovered when I uninstalled the Advanced Module Manager.
Virtuemart 3.2.4 on Joomla! 3.8.0

GJC Web Design

QuoteI did try the Advanced Module Manager but it caused me troubles! Some modules stopped working!
They (thank God) recovered when I uninstalled the Advanced Module Manager.

that can only be a wrong config.. check the docs of Adv MM
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