News:

Support the VirtueMart project and become a member

Main Menu

Issues with multiple templates

Started by sohopros, April 14, 2016, 16:15:31 PM

Previous topic - Next topic

sohopros

Hi,

Our dev wesbite: Folch33.devsoho.com we are using 3 templates:
1. http://www.folch33.devsoho.com/ -> Folch Template
2. http://www.folch33.devsoho.com/sanj-jorge-home -> San Jorge Template
3. http://www.folch33.devsoho.com/pins-art-home -> Pins art template.

Firstly we have issues with "View cart" and user account.
On Template 1 and 2 we are using same menu for "View cart", "Create account", "Login". On these templates everything works correctly. When user are on these templates:
1. select menu "Create account" and select register, users stay on Folch template.
2. When logged-in user update account, users stay on Folch template.
3. When User select menu  "View cart" -> Continue shopping, users stay on Folch template.
4. When User select "Add/edit billing address" - users stay on Folch template.
5. When User select "Add/edit shipment address" -  - users stay on Folch template.
6. When User select "Add coupon" - users stay on Folch template.
7. When User select "Change Shipment Address'  - users stay on Folch template.
8. When User select " 'Change Payment'  - users stay on Folch template.
9. When Not registered user click on 'Checkout Now'  - users stay on Folch template.
10. When user select register with 'register and Checkout' button - users stay on Folch template.
But when User are on Pins art template and do above steps, he gets redirects to Folch tempalte. But should stay on Pins art template.


Secondly we have issue with template switching on Product page.
Steps:
1. Select page "http://www.folch33.devsoho.com/main-menu-products/main-menu-view-all-products" on the leftmenu "Anna & Friends A5" -> it will redirect to Pins art template
2. Then select one of product from this cateogory -> it will redirect back to Folch template.
But it should stay on Pins art template.

Joomla 3.5.1
Virtuemart 3.0.16
php 5.5.30
Mysql 5.5.48

"Virtuemart SEO is enabled ("Components => VirtueMart => Configuration => 'SEO' tab => "SEO Disabled" option is unchecked)"


"Search Engine Friendly URLs" => YES from Global Configuration"

Please advise,
Sandra

sohopros

Any help would be appreciated.
If you need any other information please ask.

Thanks,
Sandra

VMTemplates.net

Hi,

make sure you have all the menu items created for all VirtueMart views:
Account Maintenance
Category Layout
Displays vendor contact
Displays vendor details
Displays vendors
Front page
List Orders
Manufacturer Default Layout
Manufacturer Details Layout
Product Details Layout
Shopping Cart
User Edit Address
View vendor TOS

Also, you can try this extension: https://www.nonumber.nl/extensions/advancedtemplatemanager

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

sohopros

I have 3 templates with 3 languages and for all the 3 templates i need menu items for the same as below example.
Ex:
1) You have created menu item as index.php?option=com_virtuemart&view=user&layout=edit with alias: create-account and assigned to template A.
2) Later You have create menu item as index.php?option=com_virtuemart&view=user&layout=edit with alias: my-account and assigned to template A.

now every call to JRoute will generate last created item alias , in our example  my-account but both are assigned to same template no issue. Now see below example.

Ex:
1) You have created menu item as index.php?option=com_virtuemart&view=user&layout=edit with alias: create-account and assigned to template A.
2) Later You have create menu item as index.php?option=com_virtuemart&view=user&layout=edit with alias: my-account and assigned to template A.
3) You have created menu item as index.php?option=com_virtuemart&view=user&layout=edit with alias: pinsart-create-account and assigned to template B.
4) Later You have create menu item as index.php?option=com_virtuemart&view=user&layout=edit with alias: pinsart-my-account and assigned to template B.

For all the above 4 links, menu item type and links are same but aliases and template assigns are different.

We managed the functionality issues here but in this case template switching is occurring. How to overcome this template switching issue.

Please advise,
Sandra

sohopros

Anyone?
Any advise would be helpful.  :-\

Thanks,
Sandra