VirtueMart Forum

VirtueMart General => Commercial Jobs => Topic started by: Genius WebDesign on July 25, 2012, 17:22:58 PM

Title: Show price and have an "add to cart" function on each related product.
Post by: Genius WebDesign on July 25, 2012, 17:22:58 PM
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


Title: Re: Show price and have an "add to cart" function on each related product.
Post by: deisa on August 06, 2012, 11:19:43 AM
Hi fabelmik,

This is good question.
No answer?



Quote from: fabelmik on July 25, 2012, 17:22:58 PM
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
Title: Re: Show price and have an "add to cart" function on each related product.
Post by: dennis.g on August 07, 2012, 16:50:44 PM
I just answered fabelmik's original post with a working answer.
Title: Re: Show price and have an "add to cart" function on each related product.
Post by: baggeler 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...
Title: Re: Show price and have an "add to cart" function on each related product.
Post by: dennis.g 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 :)