Kijiji-Repost-Headless icon indicating copy to clipboard operation
Kijiji-Repost-Headless copied to clipboard

Wrong attribute name when generating .inf file for motorcycles

Open orditeck opened this issue 7 years ago • 1 comments

postAdForm.attributeMap[motorcyclesmake_s]=honda
postAdForm.attributeMap[motorcyclesmake_s+motorcyclesmodel_s]=othrmdl

should be

postAdForm.attributeMap[motorcyclesmake_s]=honda
postAdForm.attributeMap[motorcyclesmodel_s]=othrmdl

otherwise the ad won't be added, you'll get

kijiji_api.PostAdException: Could not post ad.

orditeck avatar Jul 23 '17 12:07 orditeck

The problem is that the model depends on the make. On the Kijiji site, it looks like the models are being populated once the make is selected.

ArthurG avatar Aug 23 '17 02:08 ArthurG