Solved

Joomla - Virtuemart - insert category link detail flypage

Posted on 2011-09-19
4
565 Views
Last Modified: 2012-05-12
Hello,

Let's say we are in the product page (in the "hand drills" category). The customer wants me to put the category link between previous product and next product like this:


<- Yellow hand drill                       Back to hand drills                        Red hand drill->

How can I do this?

Thank you
0
Comment
Question by:starhu
  • 3
4 Comments
 
LVL 7

Expert Comment

by:rashgang
Comment Utility
yes you can get the hand drills link and set it there.

Can you post me the live url
0
 

Author Comment

by:starhu
Comment Utility
0
 
LVL 7

Expert Comment

by:rashgang
Comment Utility
hi

you can get the category id from the product and link back to that particular category


Query the category in that page and link it
0
 
LVL 7

Accepted Solution

by:
rashgang earned 500 total points
Comment Utility
hi

i got the idea

http://www.duestelle.hu/index.php/katalogus?page=shop.product_details&flypage=flypage_sts2.tpl&product_id=770&category_id=4
her i sthe link
get the category id

$category_id_sample = $_REQUEST['category_id'];

example:
$query = "select category_name from category_table where id or cat_id=$category_id_sampl"
$result = mysql_query($query);
$row = mysql_fetch_assoc($result);
echo $row['category_name'];

$link = index.php/katalogus?page=shop.browse&category_id=$category_id_sample

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi here...it's my …
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now