Author Topic: Show price and have an "add to cart" function on each related product.  (Read 5901 times)

Genius WebDesign

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 175
    • Genius WebDesign
Hi,

It seems noone is answering my related post under "VM2/Product Creation": http://forum.virtuemart.net/index.php?topic=105344.msg351083#msg351083 - so I now try this option.

I´m looking for someone to write a script that makes it possible to show prices and an "add to cart" button on each "related product".
As another member wrote, no price is included in the array of related products.
The related products areapparently just linked to a (system generated) customfield (customfield id=1) of the product.
So I need a script or query to get the price and product link of those related products from the custom_value field (which represents the virtuemart_product_id of the related product).

My budget is kinda tight so I hope this can be done without too much trouble/coding.

My system specs:
Joomla 2.5, VM 2.0.6

Contact: webmaster@traeogbyg.dk



deisa

  • Beginner
  • *
  • Posts: 23
    • Antivirus AVG
Re: Show price and have an "add to cart" function on each related product.
« Reply #1 on: August 06, 2012, 11:19:43 am »
Hi fabelmik,

This is good question.
No answer?



Hi,

It seems noone is answering my related post under "VM2/Product Creation": http://forum.virtuemart.net/index.php?topic=105344.msg351083#msg351083 - so I now try this option.

I´m looking for someone to write a script that makes it possible to show prices and an "add to cart" button on each "related product".
As another member wrote, no price is included in the array of related products.
The related products areapparently just linked to a (system generated) customfield (customfield id=1) of the product.
So I need a script or query to get the price and product link of those related products from the custom_value field (which represents the virtuemart_product_id of the related product).

My budget is kinda tight so I hope this can be done without too much trouble/coding.

My system specs:
Joomla 2.5, VM 2.0.6

Contact: webmaster@traeogbyg.dk
Currently working with VirtueMart 3.6.10 10211 on Joomla! 3.9.14  PHP    7.2.1

dennis.g

  • Beginner
  • *
  • Posts: 9
Re: Show price and have an "add to cart" function on each related product.
« Reply #2 on: August 07, 2012, 16:50:44 pm »
I just answered fabelmik's original post with a working answer.
Wasted enough time in blogs, forums, chats? Hire me! :)

baggeler

  • Jr. Member
  • **
  • Posts: 78
    • Orgonite Brasil
  • Skype Name: bernhard_aggeler
  • VirtueMart Version: 3.2
Re: Show price and have an "add to cart" function on each related product.
« Reply #3 on: August 14, 2012, 15:19:02 pm »
Would be nice to get the answers posted publicly to all the others looking for same solution...
________________________________________
The more I know the more I know I don´t know
Socrates

Site: www.orgonite-brasil.com
Tech: Joomla 3.7.3,  Virtuemart 3.2

dennis.g

  • Beginner
  • *
  • Posts: 9
Re: Show price and have an "add to cart" function on each related product.
« Reply #4 on: August 22, 2012, 21:14:16 pm »
@baggeler
That is what I did. Click on the link in the first post of this thread and you can see my reply. It seems that a lot of people are very happy with it :)
Wasted enough time in blogs, forums, chats? Hire me! :)