Jump to content

products short descriptions in category page


valentin.g

Recommended Posts

I work with Prestashop 1.5.1 and have a problem with displaing short descriptions of products in category page.

I did a research and this problem occurs from Prestahop classes.

When I display output of $result in getProducts in Category class I can see description property but after

running

return Product::getProductsProperties($id_lang, $result);

 

some product properties like as descriptions dissapears. :blink: :blink: :blink:

 

 

below is properties ouput:

Array

(

[0] => Array

(

[id_product] => 52

[id_supplier] => 0

[id_manufacturer] => 0

[id_category_default] => 52

[id_shop_default] => 1

[id_tax_rules_group] => 1

[on_sale] => 0

[online_only] => 0

[ean13] =>

[upc] =>

[ecotax] => 0.000000

[quantity] => 0

[minimal_quantity] => 1

[price] => 12000

[wholesale_price] => 0.000000

[unity] =>

[unit_price_ratio] => 0.000000

[additional_shipping_cost] => 0.00

[reference] => PPs

[supplier_reference] =>

[location] =>

[width] => 0.000000

[height] => 0.000000

[depth] => 0.000000

[weight] => 0.000000

[out_of_stock] => 2

[quantity_discount] => 0

[customizable] => 0

[uploadable_files] => 0

[text_fields] => 0

[active] => 1

[available_for_order] => 1

[available_date] => 0000-00-00

[condition] => used

[show_price] => 1

[indexed] => 1

[visibility] => both

[cache_is_pack] => 0

[cache_has_attachments] => 0

[is_virtual] => 0

[cache_default_attribute] => 0

[date_add] => 2012-10-19 16:34:39

[date_upd] => 2012-10-19 16:37:11

[advanced_stock_management] => 0

[link_rewrite] => test-product

[name] => test product

[category_default] => Test

[allow_oosp] => 1

[id_product_attribute] => 0

[category] => test

[link] => localhost/presta/index.php?id_product=52&controller=product

[attribute_price] => 0

[price_tax_exc] => 9600

[price_without_reduction] => 12000

[reduction] => 0

[specific_prices] => Array

(

)

 

[id_image] => en-default

[features] => Array

(

)

 

[attachments] => Array

(

)

 

[virtual] => 0

[pack] => 0

[packItems] => Array

(

)

 

[nopackprice] => 0

)

Edited by valentin.g (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...