News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Continue link in pop-up bad redirect

Started by roman5527, November 19, 2014, 17:57:13 PM

Previous topic - Next topic

roman5527

Good day. I have problems with reference Continue shopping at pop-up window. Link redirects me to a completely different category from where I added a product to the cart. can anyone help me how to fix the problem? thank you

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

roman5527

oooo sorry .

I used joomla 2.5.27 and vm 2.6.12.2

link to page is : http://velkoobchod.svetkamenov.sk/

thanks

GJC Web Design

seems to go to the parent of the category... 

but the url is also the parent of the category

http://velkoobchod.svetkamenov.sk/tromlovane-kamene/placka-achat-detail.html

where as your breadcrumbs show it correctly
   

    Domov
    /
    Tromlované kamene
    /
    Placky
    /
    Placka Achát

the continue link is taken from the url unless it is set in the session

static public function setLastVisitedCategoryId ($categoryId) {
      $session = JFactory::getSession();
      return $session->set( 'vmlastvisitedcategoryid', (int)$categoryId, 'vm' );
   }
so in this case it will be  tromlovane-kamene

are your products also in their parent cats - not JUST in the child cats?

[attachment cleanup by admin]
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

roman5527

Hi , yes product is in parent and child category.

See to picture . you can see bad url link. thanks

[attachment cleanup by admin]

GJC Web Design

well - I explained exactly what is wrong...it takes the catid from the url  - and that's the parent..

http://velkoobchod.svetkamenov.sk/tromlovane-kamene/placka-achat-detail.html

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

roman5527

In the category Tromlované kamene is all ok .

But in category "Brusené a gravirované kamene" it is not good. continue link in this category is to category Tromlovane kamene. It si bad .

GJC Web Design

I give up - just repeating what you find wrong is not getting you anywhere - I explained why it happens

if you don't like this then you will need to find a fix that incl. the whole category hierarchy in the url or a method to take the  category id from your last breadcrumb..

have u tested vm3 - perhaps fixed
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

Milbo

If your product has more than one category, one category is taken as the canonical URL, which used further. and indeed, check vm3. should be fixed there.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/