store Front Image are not display throwing exception

17 views
Skip to first unread message

ajay...@gmail.com

unread,
Sep 15, 2017, 3:32:27 AM9/15/17
to YesCart - pure eCommerce, platform with open source
Hi Yes Cart Team,





i have upload all image file in category men-kurta and phone-iphone,phone-oppo uploading is successful 
and after that i have deleting the cache and indexing also i have completed than if i am try to navigate the phone and men category will throw the exception 





please help me


please find the attachment 



Thanks
Ajay
 


exception.jpg
error.jpg

Yes Cart

unread,
Sep 15, 2017, 5:59:39 AM9/15/17
to YesCart - pure eCommerce, platform with open source
Hi,

The image for categories uses strategy attribute to determine how to display category image. This would be on the attributes tab of your category and attribute is: CATEGORY_IMAGE_RETRIEVE_STRATEGY. There are two options for value: "ATTRIBUTE"  which is what you need, or "RANDOM_PRODUCT" which will use one of the products's images in your category if there are any.

However it should fallback onto ATTRIBUTE by default and should not throw NullPointerException.
Can I ask which version of YC you are using? and what did you specify in CATEGORY_IMAGE_RETRIEVE_STRATEGY or did you leave it blank?

Regards,
YC team

ajay...@gmail.com

unread,
Sep 15, 2017, 6:10:57 AM9/15/17
to YesCart - pure eCommerce, platform with open source

right now i am using yc version- 3.3.0

ajay...@gmail.com

unread,
Sep 15, 2017, 6:17:37 AM9/15/17
to YesCart - pure eCommerce, platform with open source
right now i  have given 'RANDOM_PRODUCT'


On Friday, September 15, 2017 at 3:29:39 PM UTC+5:30, Yes Cart wrote:
Reply all
Reply to author
Forward
0 new messages