pruHo Posted September 23, 2017 Share Posted September 23, 2017 (edited) Buenas, mi problema es el siguiente. Tengo un menu con unas categorías y en ella sus subcategorías correspondientes, el tema es que quiero que en algunas subcategorías al hacer click me lleve directamente a un producto en concreto. Es posible hacer esto?? Un saludo. Edited September 23, 2017 by pruHo (see edit history) Link to comment Share on other sites More sharing options...
tamu secreto Posted September 24, 2017 Share Posted September 24, 2017 creo que cambiando el link en cuestion seguramente es algo asi $link->getCategoryLink(.... por $link->getProductLink(.. tiene que colorar id producto, categoria y no se cosa mas era, creo que tiene que quedar algo asi: $link->getProductLink($id_product, null, $id_categoria, ....lo demas puede ir vacio) o simplemente $link->getProductLink($id_producto); otra forma seria modificar el tpl de su menu y hacer un if (categoria) link a ... bla bla. saludos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now