Greetings. A year ago i made the same question at this thread http://forum.virtuemart.net/index.php?topic=124252.0;prev_next=prev#new
and i had the solution running in a store with Virtuemart 2.66.
I have a customer with a similar request but i have a problem. I followed what i did on the thread But Around 285 line i made this modification just like the other thread.
// Product prices
if ($this->cart->products) {
foreach ($this->cart->products as $key => $product) {
$post_variables["item_name_" . $i] = $this->getItemName($product->product_name);
if ($product->product_sku) {
$post_variables["item_number_" . $i] = $product->product_sku;
}
$post_variables["amount_" . $i] = $this->getProductAmount($this->cart->cartPrices[$key]);
$post_variables["quantity_" . $i] = $product->quantity;
//Additional strings to add Custom Fields
$post_variables["on0_" . $i] = "Details";
$post_variables["os0_" . $i] = $this->getItemName($product->customfields);
$i++;
}
}
Here is my problem Because i have 5 custom fields of String and one that is a multi variant and i'm stucked because i can't find out how to extract the custom fields data to be seen on the paypal window.
Other problem is i try to do an echo command in order to see the contents and nothing shows as well.
Thanks in Advance