Author Topic: $product_flypage  (Read 3301 times)

Greggers

  • Beginner
  • *
  • Posts: 9
$product_flypage
« on: September 10, 2009, 18:45:46 pm »
Hi,

Can someone tell me which file $product_flypage is generated in? It is used in the browse pages to provide the URL to link to.

I would like to add a variable to this link to display on the product page.

Thanks in advance
Greg

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10365
  • VirtueMart Version: 3+
Re: $product_flypage
« Reply #1 on: September 10, 2009, 19:29:05 pm »
are you saying you want to add an additional field to display on the product page?
If so what field?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Greggers

  • Beginner
  • *
  • Posts: 9
Re: $product_flypage
« Reply #2 on: September 10, 2009, 19:42:11 pm »
I want to pass the SKU to the URL so that I can do a $_GET['SKU'] within my product description - I'm scripting imports of pictures etc.

Thanks

MikeUK

  • Global Moderator
  • Full Member
  • *
  • Posts: 1344
Re: $product_flypage
« Reply #3 on: September 11, 2009, 19:07:36 pm »
I'm a bit confused. It's probably in shop.browse.php, but if you are developing surely you have a way to search for text in files? If you know the variable, you could just search a local copy of Virtuemart.

There is also a developer manual that you might find helpful (link in my signature).
Get answers faster:

I can build your online shop, setup or customize Virtuemart or help your existing shop maximize its potential. Email / PM for info

Greggers

  • Beginner
  • *
  • Posts: 9
Re: $product_flypage
« Reply #4 on: September 11, 2009, 19:10:26 pm »
I have managed to find where the URL is built for random/featured/topten products, emailed products, but still can't find where it is created for shop.browse

MikeUK

  • Global Moderator
  • Full Member
  • *
  • Posts: 1344
Re: $product_flypage
« Reply #5 on: September 11, 2009, 19:42:33 pm »
I thought it was in that file.
Get answers faster:

I can build your online shop, setup or customize Virtuemart or help your existing shop maximize its potential. Email / PM for info

Greggers

  • Beginner
  • *
  • Posts: 9
Re: $product_flypage
« Reply #6 on: September 11, 2009, 19:45:37 pm »
cheers.. shop.browse.php it was. I had gone through every file in classes but not in html!

Thanks

Greggers

  • Beginner
  • *
  • Posts: 9
Re: $product_flypage
« Reply #7 on: September 11, 2009, 19:46:18 pm »
all the others are built in ps_product.php

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10365
  • VirtueMart Version: 3+
Re: $product_flypage
« Reply #8 on: September 11, 2009, 20:32:11 pm »
all the others are built in ps_product.php

^^^
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)