Ben bir VirtueMart mod miras ve yanlış anlamaya olamaz. Müşteri bir ürün ve özellik (model #) seçer. Bu daha sonra da tam bir başka formda gönderilir. Bu formu gönderdiğinizde, ürün ve nitelik gönderilen e-posta dahil edilmelidir.
Şu anda, sadece ürün ile geliyor. Nitelik sadece "dizi" diyor. Ben niteliğini yazdırır satırı sildiğinizde ilginç parçasıdır, products_options_names yazdıracaktır. Yani ürün ve products_options_names hem çalışma olduğunu biliyorum. Özniteliği doğru çalışmıyor tek şeydir.
Here's what I believe to be the significant code. This is the page that has the form, so the attribute should already be passed to the form.
//Begin Adding of New features
//$productsimage = $product['productsImage'];
$productsname = $product['productsName'];
$attributes = $product['attributes'];
$products_options_name = $value['products_options_name'];
$arr_product_list[] = "<strong>Product Name:</strong> $productsname <br />";
$arr_product_list[] .= "<strong>Attributes:</strong> $attributes <br />";
$arr_product_list[] .= "<strong>Products Options Name:</strong> $products_options_name <br />";
$arr_product_list[] .= "---------------------------------------------------------------";
//End Adding of New features
} // end foreach ($productArray as $product)
?>
Above this, there is another section that has attributes:
<?php
echo $product['attributeHiddenField'];
if (isset($product['attributes']) && is_array($product['attributes'])) {
echo '<div class="cartAttribsList">';
echo '<ul>';
reset($product['attributes']);
foreach ($product['attributes'] as $option => $value) {
?>
Herkes bana neyin yanlış olduğunu anlamaya yardımcı olabilir? Sorun özniteliği bu sayfada geçirilen değilse bu sayfada ya da eğer ben emin değilim.
TIA