<?php
//write to array
$prod_array [] = array
'title' => $final_title,
'link' => $product->getProductUrl(),
'description' => $long_desc,
'image' => $final_image,
'price' => $finalPriceInclTax, //price
//'price' => number_format($product->getPrice(), 2), //price
'id' => $product->getSku(),
'ean' => $product->getEan(),
'brand' => $product->getAttributeText('manufacturer'),
'product_type' => $parent_cat . " > " . $category->getName(),
'gm_cat' => set_categories($category->getName(),"test1.csv"),
'pr_cat' => set_categories($category->getName(),"test2.csv"),
'sdc_cat' => set_categories($category->getName(),"test3.csv")
);
$counter++;
- Output for 5.4.0 - 5.4.10
- Parse error: syntax error, unexpected ''title'' (T_CONSTANT_ENCAPSED_STRING), expecting '(' in /in/Vrjd4 on line 5
Process exited with code 255. - Output for 5.3.0 - 5.3.20
- Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting '(' in /in/Vrjd4 on line 5
Process exited with code 255.
preferences:
169.21 ms | 1395 KiB | 39 Q