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

How to Skip a page

Started by redemtor, June 29, 2015, 14:23:20 PM

Previous topic - Next topic

redemtor

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


GJC Web Design

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
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

redemtor

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

GJC Web Design

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/
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

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

redemtor

tank you both for your informations !

I'll get to it right away !