{asp} set colProductVariationJsonObject93d = Server.CreateObject("scripting.dictionary") function GetProductVariationJsonObject(ProductVariationId93d) set GetProductVariationJsonObject = nothing if not colProductVariationJsonObject93d.Exists(cstr(ProductVariationId93d)) then set colProductVariationJsonObject93d(cstr(ProductVariationId93d)) = nothing for i93d = 1 to 2 loc93d = server.Mappath("/shared/Resources/ProductVariations/" & ProductVariationId93d & ".json") set oJsonFromDisk93d = Server.CreateObject("Chilkat_9_5_0.JsonObject") if len(GetFileContent(loc93d)) > 0 then if Int2Bool(oJsonFromDisk93d.Load(loc93d)) then exit for end if if i93d = 1 then sleepms 500 else Err.raise 13431, "ExtendProductVariation Error", "Failed to read extended Json file '" & loc93d & "'" & vbcrlf & oJsonFromDisk93d.LastErrorText next set colProductVariationJsonObject93d(cstr(ProductVariationId93d)) = oJsonFromDisk93d end if set GetProductVariationJsonObject = colProductVariationJsonObject93d(cstr(ProductVariationId93d)) end function function GetProductVariationCardMarkup(oPageData23d, ProductVariationId23d) CurrentLanguageId23d = oPageData23d.StringOf("CurrentLanguageId") GetProductVariationCardMarkup = "" set ProdVarJsonObj23d = GetProductVariationJsonObject(ProductVariationId23d) if not ProdVarJsonObj23d is nothing then with oPageData.ObjectOf("ProductVariationsAvailability") 'isDeleted23d = Int2Bool(.ObjectOf(ProductVariationId23d).BoolOf("IsDeleted")) isActive23d = Int2Bool(.ObjectOf(ProductVariationId23d).BoolOf("IsActive")) isAvailable23d = Int2Bool(.ObjectOf(ProductVariationId23d).BoolOf("IsAvailable")) end with if isActive23d then salechannelIndex23d = ProdVarJsonObj23d.ArrayOf("SaleChannels").FindString(oPageData23d.StringOf("SaleChannelId"), 0) if salechannelIndex23d > -1 then mainImageIndex23d = ProdVarJsonObj23d.ArrayOf("Images").FindObject("IsMainImage", "true", 0) if mainImageIndex23d > -1 then set mainImageObj23d = ProdVarJsonObj23d.ArrayOf("Images").ObjectAt(mainImageIndex23d) GetProductVariationCardMarkup = _ "
We make every effort to provide the best possible service. But of course something can always go wrong. We're very sorry about that, hopefully we can help you make it right again soon.
Did you not receive your order or did you receive a wrong item? Contact us by email info@valenciaseedfarm.com or fill out the contact form and we will ensure that your order and/or the correct item is sent as soon as possible.
Not satisfied or has something gone wrong? Our apologies! We would like to solve this for you.
Contact us by email: info@valenciaseedfarm.com or fill out the contact form.
We aim to come up with a suitable solution within one working day.
You can contact us for product complaints, but also complaints about service and/or delivery.
You can always submit your complaint to the European Disputes Commission: European ODR Platform.