HI,
First of all I hope that I'm in the right place for that topic.
Basically what I need to do is skip a page. I explain myself:
I have a menu item directing me to a virtuemart - frontpage (http://mysite.fr/index.php/product-category) where appears my product category. (NB: I have only one product so one category)
when I click on that category it directs me towards another page (http://mysite.fr/index.php/product-category/buy-product) where appears the beginning of the description the add to cart button and the product details button.
If I click on the product details button it sends me towards the product details of my product and its eventual customisations (http://mysite.fr/index.php/product-category/buy-product/poduct-details)
what I want to know is can I skip the second page which I don't need since I have only one product one that one category ?
While looking at the source code of the page http://mysite.fr/index.php/product-category (the product category one) i've seen that at my line 89 there is the line about the direction taken when clicked on the product category so : http://mysite.fr/index.php/product-category/buy-product can i change this line to add /poduct-details at the end of it ?
I've also seen that I can go directly into product details with a VirtueMart - Product details layout but it's not what I need !
Thank you,
Red
first switch off SEF until your site is finished -- it is impossible to make sense of what you want with these urls
then u can see the real urls .. if you want a link directly to a product page on the native VM home page you will need to do some recoding of the vm homepage template .. then it is just a simple product link
Sorry I am new to joomla and virtuemart !
Basically I want to go from http://skeyetech.fr/index.php/buy-now-menu to http://skeyetech.fr/index.php/buy-now-menu/view/productdetails/virtuemart_product_id/1211/virtuemart_category_id/13 without passing by http://skeyetech.fr/index.php/buy-now-menu/view/category/virtuemart_category_id/13
I've launched a research on the ftp to find the VM homepage template but it's taking time since i'm new i'm really not aware of the architecture of joomla and VM. the coding won't be a problem at all it's finding the right file that i'm having problem with.
Thanks
they are not SEF off urls - without SEF the urls are self explanatory -- same structure as Joomla urls
e.g. index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1290&virtuemart_category_id=1&Itemid=202&lang=en etc
the FP template is at \components\com_virtuemart\views\virtuemart\tmpl\default.php
use an over ride at templates/YOURTEMPLATE/html/com_virtuemart/virtuemart/
you will see the template uses sub layouts which are at components\com_virtuemart\sublayouts
over ride at templates/YOURTEMPLATE/html/com_virtuemart/sublayouts/
More information here: http://docs.virtuemart.net/tutorials/templating-layouts.html
tank you both for your informations !
I'll get to it right away !