Jump to content

kingboy1027

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Location
    brawn street,shanghai,china
  • Activity
    Developer

kingboy1027's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. In Bo,when i change the order status.it throws exceptions. Property OrderPayment->order_reference length (10) must be between 0 and 9 at line 837 in file classes/ObjectModel.php So ,maybe it is a bug ?
  2. i have create a forge ,http://forge.prestashop.com/browse/PSCFV-11283 ,hope someone fix it .
  3. you are not the only one ,i have the same problem ,maybe we can submit a ticket to the PS team ,anyone can fix it ?
  4. Thanks. yeah,i set up the specific price with amount or percentage discount,but i find max_price of all products with specific price are wrong,while with no specific price are right. so,i delete the code below,it gets the right results. Anyhow , thanks! in fact,max_price of specific should approximately equal with the min_price. aha . /* foreach ($product_min_prices as $specific_price) foreach ($currency_list as $currency) { if ($specific_price['id_currency'] && $specific_price['id_currency'] != $currency['id_currency']) continue; $price_before_reduction = Product::priceCalculation((($specific_price['id_shop'] == 0) ? null : (int)$specific_price['id_shop']), (int)$id_product, null, (($specific_price['id_country'] == 0) ? null : $specific_price['id_country']), null, null, $currency['id_currency'], (($specific_price['id_group'] == 0) ? null : $specific_price['id_group']), $specific_price['from_quantity'], false, 6, false, false, true, $specific_price_output, true, null, null, null, 1); $only_reduction = Product::priceCalculation((($specific_price['id_shop'] == 0) ? null : (int)$specific_price['id_shop']), (int)$id_product, null, (($specific_price['id_country'] == 0) ? null : $specific_price['id_country']), null, true, $currency['id_currency'], (($specific_price['id_group'] == 0) ? null : $specific_price['id_group']), $specific_price['from_quantity'], false, 6, true, true, true, $specific_price_output, true, null, null, null, 1); if (isset($price_before_reduction, $only_reduction)) $price = (float) $price_before_reduction - (float) $only_reduction * 100/(100 + $max_tax_rate_for_reduction); unset($price_before_reduction, $only_reduction); if (!isset($max_price[$currency['id_currency']])) $max_price[$currency['id_currency']] = 0; if (!isset($min_price[$currency['id_currency']])) $min_price[$currency['id_currency']] = null; if ($price > $max_price[$currency['id_currency']]) $max_price[$currency['id_currency']] = $price; if ($price == 0) continue; if (is_null($min_price[$currency['id_currency']]) || $price < $min_price[$currency['id_currency']]) $min_price[$currency['id_currency']] = $price; } */
  5. Emzed,hello. i use your blocklayered.php file,but i find it has an error, in the ps_layered_price_index datatable,the price_max is wrong.so ,can you fix it ? price_min is 20,but price_max is 2091, how could ?
  6. yeah,i have the same problem,and i want to change the filter style like this:http://www.watchshop.com/Mens-New-In-Watches.html&tab5=metal&tab250=Black&prodsorting=pricelow ,any one can help ? i think we need to change line-3129 in the blocklayered.php , the link has no sort and pagination param, so any one can help ?
×
×
  • Create New...