| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Modifying Breadcrumbs Hyperlink | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
in the breadcrumbs navigation bar, would like to modify as such:
Home :: Widgets :: B :: Brown Widgets When clicking on "Widgets" it would hyperlink to custom page IE: /widgets.php vs a Category. Same with if subcategory were widgetsX , hyperlink should lead to widgetsX.php I wish to do this at only the subcategory level Thanks Xcart V 4.2
__________________
Version 4.2.0 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
I'm not understanding what your trying to do...
you can edit the bread crumb trail in /customer/bread_crumbs.tpl
__________________
X-Cart Gold v4.2.0 [Linux] Add-On: X-Magnifier Altered Cart Add-On: One Page Checkout |
|||||||||
|
#3
|
|||||||
|
|||||||
|
Moving to Template Editing
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#4
|
|||||||
|
|||||||
|
Hi Alec,
The structure below hyperlinks to Home/category/subcategory/product I would like the Link at the Category level to go to a custom page called Widgets.php rather than a category. Home :: Widgets :: B :: Brown Widgets Another example If the structure were Home :: Small Widgets :: G :: Green Widgets The Hyperlink for "Small Widgets" would point to the PAGE smallwidgets.php Thanks in advance
__________________
Version 4.2.0 |
|||||||
|
#5
|
|||||||||
|
|||||||||
|
the link are populated through navigation.
So if the customer enters the page B through the widgets category, then the bread crumb links will contain the widgets cat link. if the customer enters the page B through Widgets.php, then the bread crumb links will contain the Widgets.php link. can't really change this, since that's the purpose of the bread crumbs.
__________________
xcart 5.1.2 |
|||||||||
|
#6
|
|||||||||
|
|||||||||
|
Yea, you probobly could do this, but it's probobly more trouble than its worth.
__________________
X-Cart Gold v4.2.0 [Linux] Add-On: X-Magnifier Altered Cart Add-On: One Page Checkout |
|||||||||
|
#7
|
|||||||||
|
|||||||||
|
Add a new field to your category database and update your admin section so that you can specify a breadcrumb url. You could then modify your $location variable to query this new field and use it in the breadcrumb. As said above, possibly more trouble than its worth.
|
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||