tabexseriescomponents 0.0.706 → 0.0.708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/package.json +1 -1
  2. package/srcoman/Contexts/LanguageContext.jsx +408 -0
  3. package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
  4. package/srcoman/Imagekitconfig.jsx +46 -0
  5. package/srcoman/StylesJS/Customstyles.js +345 -0
  6. package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  7. package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  8. package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  9. package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  10. package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  11. package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
  12. package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  13. package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  14. package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  17. package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  18. package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  19. package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  20. package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  23. package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  24. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  25. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
  26. package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  27. package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  28. package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  29. package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
  30. package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  31. package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  32. package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  33. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  34. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  35. package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  36. package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  37. package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  38. package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  39. package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  40. package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  41. package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  42. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  43. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  44. package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
  45. package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  46. package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  47. package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  48. package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
  49. package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  50. package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  51. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  52. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  53. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  54. package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  55. package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  56. package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  57. package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  58. package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  59. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
  60. package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  61. package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  62. package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  63. package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
  64. package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  65. package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  66. package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  67. package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  68. package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
  69. package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
  70. package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  71. package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  72. package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  73. package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  74. package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
  75. package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  76. package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  77. package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  78. package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  79. package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  80. package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  81. package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  82. package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  83. package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  84. package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
  85. package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  86. package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  87. package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  88. package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  89. package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
  90. package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  91. package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  92. package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  93. package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  94. package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  95. package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
  96. package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  97. package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  98. package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  99. package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  100. package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
  101. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  102. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  103. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  104. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  105. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
  106. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  107. package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  108. package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  109. package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
  110. package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  111. package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  112. package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
  113. package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
  114. package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  115. package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  116. package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  117. package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  118. package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  119. package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  120. package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
  121. package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
  122. package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  123. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  124. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  125. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  126. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  127. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  128. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  129. package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  130. package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  131. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  132. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  133. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
  134. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  135. package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  136. package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  137. package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  138. package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  139. package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  140. package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  141. package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  142. package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  143. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  144. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
  145. package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  146. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  147. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  148. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  149. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
  150. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  151. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  152. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  153. package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  154. package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  155. package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  156. package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  157. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  158. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
  159. package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  160. package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  161. package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  162. package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  163. package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  164. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  165. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
  166. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  167. package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  168. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
  169. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  170. package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  171. package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
  172. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
  173. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  174. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  175. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  176. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  177. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  178. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  179. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  180. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  181. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  182. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  183. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  184. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  185. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  186. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  187. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  188. package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  189. package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  190. package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  191. package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  192. package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  193. package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  194. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  195. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
  196. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  197. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  198. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  199. package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  200. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  201. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  202. package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
  203. package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  204. package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  205. package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  206. package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  207. package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  208. package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  209. package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  210. package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  211. package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  212. package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  213. package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  214. package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  215. package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  216. package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  217. package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  218. package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  219. package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  220. package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  221. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  222. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  223. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  224. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  225. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
  226. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  227. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  228. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  229. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  230. package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
  231. package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  232. package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  233. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  234. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  235. package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  236. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  237. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  238. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  239. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  240. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  241. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  242. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  243. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  244. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  245. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  246. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  247. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  248. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  249. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  250. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  251. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  252. package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  253. package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  254. package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  255. package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  256. package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  257. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  258. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  259. package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  260. package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  261. package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  262. package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  263. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  264. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  265. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  266. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  267. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  268. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  269. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  270. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  271. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  272. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  273. package/srcoman/button.jsx +40 -0
  274. package/srcoman/index.jsx +334 -0
  275. package/srcoman/styles/Home.module.css +129 -0
  276. package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
  277. package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  278. package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
  279. package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  280. package/srcoman/styles/cards/Productcard6.module.css +9 -0
  281. package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  282. package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  283. package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  284. package/srcoman/styles/cards/card23.module.css +60 -0
  285. package/srcoman/styles/cards/categorycard.module.css +84 -0
  286. package/srcoman/styles/cards/categorycard3.module.css +50 -0
  287. package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
  288. package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
  289. package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
  290. package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
  291. package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
  292. package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  293. package/srcoman/styles/general/bootstrap.css +4763 -0
  294. package/srcoman/styles/general/dropdown.css +206 -0
  295. package/srcoman/styles/general/editorbardropdown.module.css +94 -0
  296. package/srcoman/styles/general/filter.module.css +108 -0
  297. package/srcoman/styles/general/form.module.css +255 -0
  298. package/srcoman/styles/general/general.module.css +872 -0
  299. package/srcoman/styles/general/image-gallery.css +531 -0
  300. package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
  301. package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
  302. package/srcoman/styles/general/scrollbtn.module.css +22 -0
  303. package/srcoman/styles/general/slick.module.css +166 -0
  304. package/srcoman/styles/general/tabs.module.css +119 -0
  305. package/srcoman/styles/general/workplaceeditor.module.css +328 -0
  306. package/srcoman/styles/globals.css +26 -0
  307. package/srcoman/styles/headers/CTAHeader.module.css +40 -0
  308. package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  309. package/srcoman/styles/headers/Gotoheader.module.css +87 -0
  310. package/srcoman/styles/headers/Header7.module.css +50 -0
  311. package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
  312. package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  313. package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  314. package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  315. package/srcoman/styles/headers/NewHeader.module.css +101 -0
  316. package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
  317. package/srcoman/styles/headers/Sideheader.module.css +108 -0
  318. package/srcoman/styles/headers/Simpleheader.module.css +102 -0
  319. package/srcoman/styles/headers/classicheader.module.css +16 -0
  320. package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
  321. package/srcoman/styles/headers/dropdown.css +0 -0
  322. package/srcoman/styles/headers/header4.module.css +175 -0
  323. package/srcoman/styles/headers/header5.module.css +30 -0
  324. package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
  325. package/srcoman/styles/headers/headerresturant.module.css +89 -0
  326. package/srcoman/styles/headers/modernheader.module.css +45 -0
  327. package/srcoman/styles/headers/stylishheader.module.css +24 -0
  328. package/srcoman/styles/headers/subheader.module.css +114 -0
  329. package/srcoman/styles/headers/threetieredheader.module.css +91 -0
  330. package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
  331. package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
  332. package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  333. package/srcoman/styles/sections/Freetext.module.css +18 -0
  334. package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
  335. package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  336. package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  337. package/srcoman/styles/staticpages/accordion.module.css +9 -0
  338. package/srcoman/styles/staticpages/cart.module.css +108 -0
  339. package/srcoman/styles/staticpages/dropdown.css +196 -0
  340. package/srcoman/styles/staticpages/filter.module.css +139 -0
  341. package/srcoman/styles/staticpages/image-gallery.css +481 -0
  342. package/srcoman/styles/staticpages/login.module.css +155 -0
  343. package/srcoman/styles/staticpages/productinfo.module.css +54 -0
  344. package/srcoman/styles/staticpages/shop.module.css +191 -0
  345. package/srcoman/styles/staticpages/signup.module.css +250 -0
  346. package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
  347. package/srcoman/styles/staticpages/viewcart.module.css +129 -0
  348. package/srcoman/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1633 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import formstyles from '../../../styles/general/form.module.css';
3
+ import TextareaAutosize from 'react-textarea-autosize';
4
+ import generalstyles from '../../../styles/general/general.module.css';
5
+ import { CircularProgress, Messaging } from 'react-cssfx-loading';
6
+ import { css } from 'glamor';
7
+ import { defaultstyles, defaultstylestranslated } from '../../../StylesJS/Customstyles';
8
+ import { HiUser } from '@react-icons/all-files/hi/HiUser';
9
+ import { GrMail } from '@react-icons/all-files/gr/GrMail';
10
+ import { FiCheckCircle } from '@react-icons/all-files/fi/FiCheckCircle';
11
+ import { BiPhone } from '@react-icons/all-files/bi/BiPhone';
12
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
13
+ const Select = React.lazy(() => import('react-select'));
14
+ const Checkout = (props) => {
15
+ const [timer, settimer] = useState(null);
16
+ const langdetect = props.actions.langdetect;
17
+ const lang = props.actions.lang;
18
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
19
+ const routingcountext = props.actions.routingcountext;
20
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
21
+ const ApplyPromoCodeMutationContext = props.actions.ApplyPromoCodeMutationContext;
22
+ const templatepropcontext = props.actions.templatepropcontext;
23
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
24
+ const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
25
+ const GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
26
+
27
+ const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
28
+ const fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
29
+ const fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
30
+ const FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
31
+ const setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
32
+ const ChooseState_CountryMutationContext = props.actions.ChooseState_CountryMutationContext;
33
+ const fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
34
+ const AddOrderMutationContext = props.actions.AddOrderMutationContext;
35
+ const authdetailsContext = props.actions.authdetailsContext;
36
+ const NotificationManager = props.actions.NotificationManager;
37
+ const queryClient = props.actions.queryClient;
38
+ const [sectionproperties, setsectionproperties] = useState('');
39
+ const [CurrentPageId, setCurrentPageId] = useState('');
40
+ const [insthasaffiliate, setinsthasaffiliate] = useState(0);
41
+ useEffect(() => {
42
+ var cartindex = templatepropcontext?.pagesnprop?.findIndex((x) => x.staticpageid == '6218bccb82af8');
43
+ if (cartindex >= 0) {
44
+ setCurrentPageId(cartindex);
45
+ }
46
+ }, []);
47
+ useEffect(() => {
48
+ var secpropobj = {};
49
+ props?.actions?.StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
50
+ secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
51
+ });
52
+ setsectionproperties({ ...secpropobj });
53
+ }, [props.actions.StatePagePropertiesContext]);
54
+ useEffect(() => {
55
+ var Canorder = false;
56
+ if (authdetailsContext != undefined && authdetailsContext.instinfo != undefined && authdetailsContext.instinfo.cancustomerguestorder != undefined) {
57
+ if (authdetailsContext?.instinfo?.hasaffiliate != undefined) {
58
+ setinsthasaffiliate(authdetailsContext?.instinfo?.hasaffiliate);
59
+ }
60
+ if (authdetailsContext.loggedin == true) {
61
+ Canorder = true;
62
+ } else {
63
+ if (authdetailsContext?.instinfo?.cancustomerguestorder == 1) {
64
+ Canorder = true;
65
+ }
66
+ }
67
+ if (Canorder == true) {
68
+ var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
69
+ tempFetchQueriesEngineContext.fetchtabexcountries = true;
70
+ setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
71
+ var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
72
+ if (
73
+ // Aya
74
+ !fetchcustomercartQueryContext.isFetching &&
75
+ fetchcustomercartQueryContext.isSuccess &&
76
+ fetchcustomercartQueryContext?.data?.data?.customercart != undefined &&
77
+ fetchcustomercartQueryContext?.data?.data?.customercart.countryid != null &&
78
+ // End
79
+ fetchcustomercartQueryContext?.data?.data?.customercart.countryid.length != 0
80
+ ) {
81
+ tempFetchTabexStatesPayloadobjContext.country_id = fetchcustomercartQueryContext?.data?.data?.customercart.countryid;
82
+ }
83
+ if (
84
+ // aya
85
+ !fetchcustomercartQueryContext.isFetching &&
86
+ fetchcustomercartQueryContext.isSuccess &&
87
+ fetchcustomercartQueryContext?.data?.data?.customercart != undefined &&
88
+ fetchcustomercartQueryContext?.data?.data?.customercart.stateid != null &&
89
+ // end
90
+ fetchcustomercartQueryContext?.data?.data?.customercart.stateid.length != 0
91
+ ) {
92
+ tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext?.data?.data?.customercart.stateid;
93
+ }
94
+ setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
95
+ } else {
96
+ // NotificationManager.warning('', lang.pleaselogintocheckout);
97
+ routingcountext(StaticPagesLinksContext.Login);
98
+ }
99
+ }
100
+ }, [authdetailsContext]);
101
+
102
+ const cartinfoupdater = (key, value) => {
103
+ var cartarr = queryClient.getQueryData('fetchcustomercart_API');
104
+ cartarr.data.customercart[key] = value;
105
+ queryClient.setQueryData('fetchcustomercart_API', cartarr);
106
+ var payloadobj = {
107
+ stateid: fetchcustomercartQueryContext?.data?.data?.customercart.stateid,
108
+ countryid: fetchcustomercartQueryContext?.data?.data?.customercart.countryid,
109
+ cityid: fetchcustomercartQueryContext?.data?.data?.customercart.cityid,
110
+ address: fetchcustomercartQueryContext?.data?.data?.customercart.address,
111
+ paymentmethod: fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod,
112
+ name: fetchcustomercartQueryContext?.data?.data?.customercart.name,
113
+ email: fetchcustomercartQueryContext?.data?.data?.customercart.email,
114
+ mobile: fetchcustomercartQueryContext?.data?.data?.customercart.mobile,
115
+ notes: fetchcustomercartQueryContext?.data?.data?.customercart.notes,
116
+ aff_code: fetchcustomercartQueryContext?.data?.data?.customercart.aff_code,
117
+ };
118
+ if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email' || key == 'notes' || key == 'aff_code') {
119
+ // clearTimeout(timer);
120
+ // settimer(
121
+ // setTimeout(() => {
122
+ // ChooseState_CountryMutationContext.mutate(payloadobj);
123
+ // }, 1500),
124
+ // );
125
+ } else {
126
+ ChooseState_CountryMutationContext.mutate(payloadobj);
127
+ }
128
+ };
129
+ const usewalletpoints = () => {
130
+ GeneralAPIMutationContext.mutate({
131
+ endpointurl: '/usewalletpoints',
132
+
133
+ mutateSuccesscallback: (data, variables) => {
134
+ if (data.data.status) {
135
+ NotificationManager.success('', langdetect == 'en' ? 'Done' : 'تم');
136
+ fetchcustomercartQueryContext.refetch();
137
+ } else {
138
+ NotificationManager.warning('', data.data.reason);
139
+ }
140
+ },
141
+ });
142
+ };
143
+ const checkoutstyles = {
144
+ Salepricestyless: css({
145
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
146
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
147
+ color: sectionproperties.prodsalePriceColor,
148
+ show: sectionproperties.prodsalePriceshow,
149
+ transition: '.3s',
150
+ }),
151
+ userinfo_iconcont: css({
152
+ width: sectionproperties.userinfo_iconwidth + 'px',
153
+ height: sectionproperties.userinfo_iconheight + 'px',
154
+ background: sectionproperties.userinfo_iconbg,
155
+ borderRadius: sectionproperties.userinfo_iconborderbottomleftradius + 'px',
156
+ color: sectionproperties.userinfo_iconcolor,
157
+ }),
158
+ userinfotextstyles: css({
159
+ color: sectionproperties.userinfo_color,
160
+ fontWeight: sectionproperties.userinfo_fontweight,
161
+ fontSize: sectionproperties.userinfo_fontsize + 'px',
162
+ }),
163
+ input_label_name: css({
164
+ color: sectionproperties.form_labelcolor,
165
+ textTransform: sectionproperties.form_labeltexttransform,
166
+ fontWeight: sectionproperties.form_labelfontweight,
167
+ fontSize: sectionproperties.form_labelfontsize + 'px',
168
+ }),
169
+ checkbox: css({
170
+ color: sectionproperties.checkbox_color,
171
+ textTransform: sectionproperties.form_labeltexttransform,
172
+ fontWeight: sectionproperties.form_labelfontweight,
173
+ fontSize: sectionproperties.form_labelfontsize + 'px',
174
+ transition: '.3s',
175
+ ':hover': {
176
+ color: sectionproperties.checkbox_texthovercolor,
177
+ },
178
+ 'input:checked': {
179
+ color: sectionproperties.checkbox_checkedcolor,
180
+ },
181
+ }),
182
+ checkboxinputstyles: css({
183
+ ':hover:not(:checked)': {
184
+ boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor,
185
+ },
186
+ ':checked': {
187
+ boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor,
188
+ },
189
+ }),
190
+ svgstyles: css({
191
+ stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')',
192
+ }),
193
+ innersectiontitlestyles: css({
194
+ color: sectionproperties.innersection_titlecolor,
195
+ fontSize: sectionproperties.innersection_titlefontsize + 'px',
196
+ fontWeight: sectionproperties.innersection_titlefontweight,
197
+ textTransform: sectionproperties.innersection_titletextTransform,
198
+ }),
199
+ summarysectionstyles: css({
200
+ fontSize: sectionproperties.summary_fontsize + 'px',
201
+ color: sectionproperties.summary_textcolor,
202
+ fontWeight: sectionproperties.summary_textfontweight,
203
+ textTransform: sectionproperties.summary_texttransform,
204
+ textAlign: langdetect == 'en' ? 'left' : 'right',
205
+ }),
206
+ checkoutbtnstyles: css({
207
+ background: sectionproperties.checkoutBtnbgColor,
208
+ width: sectionproperties.checkoutBtnWidth,
209
+ height: sectionproperties.checkoutBtnHeight,
210
+ borderRadius: sectionproperties.checkout_borderBottomLeftRadius + 'px',
211
+ color: sectionproperties.checkoutBtnTextcolor,
212
+ textTransform: sectionproperties.checkoutBtnTexttransform,
213
+ fontWeight: sectionproperties.checkoutBtnTextfontweight,
214
+ fontSize: sectionproperties.checkoutBtnTextfontsize + 'px',
215
+ border: sectionproperties.checkoutBtn_borderwidth + 'px solid ' + sectionproperties.checkoutBtn_bordercolor,
216
+ transition: '.3s',
217
+ ':hover': {
218
+ background: sectionproperties.checkoutBtnbgColoronhover_tranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColoronhover,
219
+ color: sectionproperties.checkoutBtnTextcoloronhover,
220
+ },
221
+ }),
222
+ productNameStyles: css({
223
+ color: sectionproperties.prodNameColor,
224
+ fontSize: sectionproperties.prodNameFontSize + 'px',
225
+ textTransform: sectionproperties.prodNameTextTranform,
226
+ fontWeight: sectionproperties.prodNameFontWeight,
227
+ }),
228
+ productPricestyles: css({
229
+ color: sectionproperties.prodPriceColor,
230
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
231
+ fontWeight: sectionproperties.prodPriceFontWeight,
232
+ }),
233
+ productSalePricestyles: css({
234
+ color: sectionproperties.prodsalePriceColor,
235
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
236
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
237
+ }),
238
+ imagecont: css({
239
+ width: '8vh',
240
+ height: '8vh',
241
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
242
+ backgroundColor: sectionproperties.prodimage_bgcolor,
243
+ borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
244
+ borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
245
+ borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
246
+ borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
247
+ display: 'flex',
248
+ alignItems: 'center',
249
+ justifyContent: 'center',
250
+ backgroundRepeat: 'no-repeat',
251
+ backgroundSize: 'cover',
252
+ backgroundPosition: 'center',
253
+ position: 'relative',
254
+ }),
255
+ applybtnstyles: css({
256
+ width: sectionproperties.applybtn_width + 'px',
257
+ height: sectionproperties.applybtn_height + 'px',
258
+ borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
259
+ textTransform: sectionproperties.applybtn_texttransform,
260
+ fontSize: sectionproperties.applybtn_fontsize + 'px',
261
+ color: sectionproperties.applybtn_textColor,
262
+ fontWeight: sectionproperties.applybtn_Textfontweight,
263
+ background: sectionproperties.applybtn_bgColor,
264
+ border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
265
+ transition: '.3s',
266
+ ':hover': {
267
+ background: sectionproperties.applybtn_bgColoronhover,
268
+ color: sectionproperties.applybtn_Textcoloronhover,
269
+ },
270
+ }),
271
+ inputfiledstyles: css({}),
272
+ checkorderbtnstyles: css({
273
+ background: sectionproperties.generalbtn_bgColor,
274
+ width: sectionproperties.generalbtn_width,
275
+ height: sectionproperties.generalbtn_height,
276
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
277
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
278
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
279
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
280
+ color: sectionproperties.generalbtn_textColor,
281
+ textTransform: sectionproperties.generalbtn_texttransform,
282
+ fontWeight: sectionproperties.generalbtn_fontweight,
283
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
284
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
285
+ transition: '.3s',
286
+ ':hover': {
287
+ background: sectionproperties.generalbtn_bgColoronhover,
288
+ color: sectionproperties.generalbtn_textColoronhover,
289
+ },
290
+ }),
291
+ input_label_name: css({
292
+ color: sectionproperties.form_labelcolor,
293
+ textTransform: sectionproperties.form_labeltexttransform,
294
+ fontWeight: sectionproperties.form_labelfontweight,
295
+ fontSize: sectionproperties.form_labelfontsize + 'px',
296
+ }),
297
+ form_control: css({
298
+ position: 'relative',
299
+ display: 'flex',
300
+ alignItems: 'center',
301
+ display: 'block',
302
+ width: '100%',
303
+ padding: '0 30px',
304
+ transition: '.3s',
305
+ fontWeight: 500,
306
+ border: sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0,
307
+ borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
308
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
309
+ height: sectionproperties.inputfieldheight + 'px',
310
+ background: sectionproperties.input_bgcolor,
311
+ color: sectionproperties.inputfieldcolor,
312
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
313
+ ':focus': {
314
+ borderColor: sectionproperties.inputfeildbordercoloronfocus,
315
+ boxShadow: 'none',
316
+ },
317
+ ':focus .login_input_icon': {
318
+ color: sectionproperties.inputfeildbordercoloronfocus,
319
+ },
320
+ }),
321
+ innersection: css({
322
+ backgroundColor: sectionproperties.reservation_bgcolor,
323
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
324
+ border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
325
+ }),
326
+ containerstyles: css({
327
+ marginTop: sectionproperties.marginTop + 'px',
328
+ marginBottom: sectionproperties.marginBottom + 'px',
329
+ paddingLeft: sectionproperties.paddingLeft + 'px',
330
+ paddingRight: sectionproperties.paddingRight + 'px',
331
+ paddingTop: sectionproperties.paddingTop + 'px',
332
+ paddingBottom: sectionproperties.paddingBottom + 'px',
333
+ background: sectionproperties.backgroundColor,
334
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
335
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
336
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
337
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
338
+ '@media (max-width: 800px)': {
339
+ marginTop: sectionproperties.marginTopResp + 'px',
340
+ },
341
+ }),
342
+ };
343
+ const addorderfuncrunner = async () => {
344
+ // var temppayload = fetchcustomercartQueryContext?.data?.data?.customercart;
345
+ // ChooseState_CountryMutationContext.mutate(payloadobj);
346
+ // temppayload.endpointurl = '/ChooseState_Country';
347
+ GeneralAPIMutationContext.mutate({
348
+ endpointurl: '/ChooseState_Country',
349
+ stateid: fetchcustomercartQueryContext?.data?.data?.customercart.stateid,
350
+ countryid: fetchcustomercartQueryContext?.data?.data?.customercart.countryid,
351
+ cityid: fetchcustomercartQueryContext?.data?.data?.customercart.cityid,
352
+ address: fetchcustomercartQueryContext?.data?.data?.customercart.address,
353
+ paymentmethod: fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod,
354
+ name: fetchcustomercartQueryContext?.data?.data?.customercart.name,
355
+ email: fetchcustomercartQueryContext?.data?.data?.customercart.email,
356
+ mobile: fetchcustomercartQueryContext?.data?.data?.customercart.mobile,
357
+ notes: fetchcustomercartQueryContext?.data?.data?.customercart.notes,
358
+ aff_code: fetchcustomercartQueryContext?.data?.data?.customercart.aff_code,
359
+
360
+ mutateSuccesscallback: (data, variables) => {
361
+ if (data.data.status) {
362
+ var cartarr = queryClient.getQueryData('fetchcustomercart_API');
363
+ cartarr.data = data.data.cartresponse;
364
+ queryClient.setQueryData('fetchcustomercart_API', cartarr);
365
+ if (data.data.cdata != null) {
366
+ // const cookies = new Cookies();
367
+ localStorage.setItem('cdata', data.data.cdata);
368
+ }
369
+ AddOrderMutationContext.mutate();
370
+ } else {
371
+ NotificationManager.warning('', data.data.reason);
372
+ }
373
+ },
374
+ });
375
+ };
376
+ const Mycart = () => {
377
+ return (
378
+ <div className="row m-0 w-100 mb-md-3">
379
+ <div className="col-lg-12 d-flex align-items-center p-0">
380
+ <p
381
+ style={{
382
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
383
+ color: sectionproperties.sectionTitleColor,
384
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
385
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
386
+ textTransform: sectionproperties.sectionTitleTextTransform,
387
+ fontWeight: sectionproperties.sectionTitleFontWeight,
388
+ }}
389
+ >
390
+ {lang.mycart}
391
+ </p>
392
+ </div>
393
+ {ChooseState_CountryMutationContext.isLoading && (
394
+ <div className="col-lg-12 allcentered p-0">
395
+ <Messaging color="#000" width="10px" height="10px" duration="1s" />
396
+ </div>
397
+ )}
398
+ {!ChooseState_CountryMutationContext.isLoading && (
399
+ <div className="row m-0 w-100">
400
+ <div className="col-lg-12 p-0">
401
+ {fetchcustomercartQueryContext?.data?.data?.customercart.cartitems.map((item, index) => {
402
+ if (item.product_extrafields != null) {
403
+ var product_extrafields = JSON.parse(item.product_extrafields);
404
+ // var product_extrafields_parsed = JSON.stringify(product_extrafields);
405
+ // alert(product_extrafields_parsed);
406
+ }
407
+ return (
408
+ <div
409
+ className={langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3'}
410
+ style={{
411
+ background: sectionproperties.summary_sectionbgcolor,
412
+ borderRadius: sectionproperties.summary_sectionborderbottomleftradius + 'px',
413
+ border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor,
414
+ }}
415
+ >
416
+ <div className="row m-0 w-100 d-flex">
417
+ <div className={`${checkoutstyles.imagecont}`}>
418
+ <Imagekitimagecomp
419
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
420
+ publicKey={ikimagecredcontext?.ikimagepublickey}
421
+ path={
422
+ item.productinfo.hasvariants == 0
423
+ ? '/tr:w-300,h-300/' + item.productinfo.productmainimage
424
+ : '/tr:w-300,h-300/' + item.productinfo.variantinfo.variantimageurl
425
+ }
426
+ style={{
427
+ width: '100%',
428
+ height: '100%',
429
+ objectFit: 'contain',
430
+ }}
431
+ loading="lazy"
432
+ />
433
+ </div>
434
+ <div className="col-lg-7 col-md-7 col-sm-7">
435
+ <div className="row m-0 w-100">
436
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start">
437
+ <p
438
+ className={`${checkoutstyles.productNameStyles}` + ' m-0 p-0 w-100 '}
439
+ style={{
440
+ textAlign: langdetect == 'en' ? 'left' : 'right',
441
+ }}
442
+ >
443
+ {langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar}
444
+ </p>
445
+ </div>
446
+ {sectionproperties.producttype == 'Product' && (
447
+ <div className="col-lg-12 p-0 d-flex justify-content-start">
448
+ <p
449
+ className="m-0 p-0 font-weight-500 text-light w-100"
450
+ style={{
451
+ textAlign: langdetect == 'en' ? 'left' : 'right',
452
+ }}
453
+ >
454
+ {lang.qty}: {item.quantity}
455
+ </p>
456
+ </div>
457
+ )}
458
+ </div>
459
+ </div>
460
+ {sectionproperties.prodPriceshow == 'Show' && (
461
+ <div className="col-lg-3 col-md-3 col-sm-2 p-0">
462
+ <div className="row m-0 w-100 h-100">
463
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto">
464
+ {item.productinfo.hasvariants == 0 && (
465
+ <div className="row m-0 w-100 d-flex flex-column justify-content-end">
466
+ {item.productinfo.hassale == 0 && (
467
+ <div className="col-lg-12 p-0 d-flex justify-content-end">
468
+ <p
469
+ className={
470
+ langdetect == 'en'
471
+ ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
472
+ : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
473
+ }
474
+ >
475
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.finalprice}{' '}
476
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
477
+ </p>
478
+ </div>
479
+ )}
480
+ {item.productinfo.hassale == 1 && (
481
+ <div className="row m-0 w-100 d-flex flex-column justify-content-end">
482
+ <div className="col-lg-12 p-0 d-flex justify-content-end">
483
+ <p
484
+ className={
485
+ langdetect == 'en'
486
+ ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
487
+ : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
488
+ }
489
+ >
490
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {parseFloat(item.finalprice).toFixed(2)}{' '}
491
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
492
+ </p>
493
+ </div>
494
+ <div className="col-lg-12 p-0 d-flex justify-content-end">
495
+ <p
496
+ className={
497
+ langdetect == 'en'
498
+ ? `${checkoutstyles.Salepricestyless}` + ' linethrough mb-0 p-0 wordbreak text-right '
499
+ : `${checkoutstyles.Salepricestyless}` + ' linethrough mb-0 p-0 wordbreak text-left '
500
+ }
501
+ >
502
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
503
+ {parseFloat(item.productinfo.defaultprice).toFixed(2)}{' '}
504
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
505
+ </p>
506
+ </div>
507
+ </div>
508
+ )}
509
+ </div>
510
+ )}
511
+ {item.productinfo.hasvariants == 1 && (
512
+ <div className="row m-0 w-100 d-flex flex-column justify-content-end">
513
+ {item.productinfo.variantinfo.hassale == 0 && (
514
+ <div className="col-lg-12 p-0 d-flex justify-content-end">
515
+ <p
516
+ className={
517
+ langdetect == 'en'
518
+ ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
519
+ : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
520
+ }
521
+ >
522
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : authdetailsContext?.currencyname_ar}{' '}
523
+ {parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2)}
524
+ </p>
525
+ </div>
526
+ )}
527
+ {item.productinfo.variantinfo.hassale == 1 && (
528
+ <div className="row m-0 w-100 d-flex flex-column justify-content-end">
529
+ <div className="col-lg-12 p-0 d-flex justify-content-end">
530
+ <p
531
+ className={
532
+ langdetect == 'en'
533
+ ? `${checkoutstyles.productPricestyles}` +
534
+ ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right '
535
+ : `${checkoutstyles.productPricestyles}` +
536
+ ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
537
+ }
538
+ >
539
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
540
+ {parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2)}
541
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
542
+ </p>
543
+ </div>
544
+ <div className="col-lg-12 p-0 d-flex justify-content-end">
545
+ <p
546
+ className={
547
+ langdetect == 'en'
548
+ ? `${checkoutstyles.Salepricestyless}` +
549
+ ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right '
550
+ : `${checkoutstyles.Salepricestyless}` +
551
+ ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
552
+ }
553
+ >
554
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
555
+ {parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2)}{' '}
556
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
557
+ </p>
558
+ </div>
559
+ </div>
560
+ )}
561
+ </div>
562
+ )}
563
+ </div>
564
+ </div>
565
+ </div>
566
+ )}
567
+ <div className="col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column">
568
+ {item.productinfo.hasvariants == 1 &&
569
+ item.productinfo.variantinfo.variantoptions.map((variantitem, variantindex) => {
570
+ return (
571
+ <div class="row m-0 w-100">
572
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex">
573
+ <p className={'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '}>{variantitem.optionname}:</p>
574
+ <p className={' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '}>{variantitem.optionvalue}</p>
575
+ </div>
576
+ </div>
577
+ );
578
+ })}
579
+ {item.product_extrafields != null &&
580
+ product_extrafields.map((extrafielditem, extrafieldindex) => {
581
+ return (
582
+ <div class="row m-0 w-100">
583
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex">
584
+ <p className={'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '}>
585
+ {langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar}:
586
+ </p>
587
+ <p className={' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '}> {extrafielditem.value}</p>
588
+ </div>
589
+ </div>
590
+ );
591
+ })}
592
+ </div>
593
+ </div>
594
+ </div>
595
+ );
596
+ })}
597
+
598
+ <div class={`${checkoutstyles.innersection}` + ' row m-0 w-100 p-3 '}>
599
+ <div className="col-lg-12 p-0 mb-1">
600
+ {sectionproperties.showpromocodesection == 'Show' && (
601
+ <div className="col-lg-12 p-0 mb-4">
602
+ <label className={`${checkoutstyles.input_label_name}` + ' p-0 d-flex justify-content-start '}>{lang.doyouhavepromocode}</label>
603
+ <div className={' row m-0 w-100 d-flex justify-content-center align-items-center '}>
604
+ <div className={'col-lg-12 col-md-12 col-sm-12 p-0 mb-3'}>
605
+ <input
606
+ type="text"
607
+ className={`${formstyles.form_control} ${checkoutstyles.form_control}`}
608
+ placeholder={lang.giftcarddicountcode}
609
+ value={fetchcustomercartQueryContext?.data?.data?.customercart.couponname}
610
+ onChange={(event) => {
611
+ var cartarr = queryClient.getQueryData('fetchcustomercart_API');
612
+ cartarr.data.customercart.couponname = event.target.value;
613
+ queryClient.setQueryData('fetchcustomercart_API', cartarr);
614
+ }}
615
+ disabled={fetchcustomercartQueryContext?.data?.data?.customercart.couponexists ? true : false}
616
+ style={{
617
+ boxShadow: 'none',
618
+ }}
619
+ />
620
+ </div>
621
+ <div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center">
622
+ <button
623
+ className={` ${checkoutstyles.applybtnstyles}`}
624
+ onClick={() => {
625
+ if (!fetchcustomercartQueryContext?.data?.data?.customercart.couponexists) {
626
+ var payloadobj = {
627
+ couponname: fetchcustomercartQueryContext?.data?.data?.customercart.couponname,
628
+ functype: 'add',
629
+ };
630
+ if (fetchcustomercartQueryContext?.data?.data?.customercart.couponname.length != 0) {
631
+ ApplyPromoCodeMutationContext.mutate(payloadobj);
632
+ } else {
633
+ NotificationManager.warning('', langdetect == 'en' ? 'Please Write Your Promo Code' : 'من فضلك اكتب كود الخصم');
634
+ }
635
+ } else {
636
+ var payloadobj = {
637
+ functype: 'delete',
638
+ };
639
+ ApplyPromoCodeMutationContext.mutate(payloadobj);
640
+ }
641
+ }}
642
+ disabled={ApplyPromoCodeMutationContext.isLoading ? true : false}
643
+ >
644
+ <span className={ApplyPromoCodeMutationContext.isLoading ? `${generalstyles.fadeOutButton}` : `${generalstyles.fadeInButton}`}>
645
+ {fetchcustomercartQueryContext?.data?.data?.customercart.couponexists
646
+ ? langdetect == 'en'
647
+ ? 'Remove'
648
+ : 'حذف'
649
+ : langdetect == 'en'
650
+ ? 'Apply'
651
+ : 'تطبيق'}
652
+ </span>
653
+ <div
654
+ className={
655
+ ApplyPromoCodeMutationContext.isLoading
656
+ ? `${generalstyles.fadeInButton} ${generalstyles.btn_preloader}` + ' d-flex align-items-center justify-content-center '
657
+ : `${generalstyles.fadeOutButton}` + ' align-items-center justify-content-center '
658
+ }
659
+ >
660
+ <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />
661
+ </div>
662
+ </button>
663
+ </div>
664
+ </div>
665
+ </div>
666
+ )}
667
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.availablewalletbalance > 0 && (
668
+ <div className="row m-0 w-100">
669
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
670
+ <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center wordbreak '}>
671
+ {langdetect == 'en' ? 'Wallet balance' : 'حساب المحفظة'}
672
+ </p>
673
+ </div>
674
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
675
+ <p
676
+ className={
677
+ langdetect == 'en'
678
+ ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
679
+ : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
680
+ }
681
+ >
682
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {fetchcustomercartQueryContext?.data?.data?.customercart?.availablewalletbalance}
683
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
684
+ </p>
685
+ </div>
686
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.usewalletpoints == 0 && (
687
+ <div className="col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0">
688
+ <p
689
+ style={{ color: 'green', cursor: 'pointer' }}
690
+ onClick={() => {
691
+ usewalletpoints();
692
+ }}
693
+ >
694
+ {langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'}
695
+ </p>
696
+ </div>
697
+ )}
698
+ </div>
699
+ )}
700
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.usewalletpoints == 1 && (
701
+ <div className="row m-0 w-100">
702
+ <div className="col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0">
703
+ <p
704
+ style={{ color: 'red', cursor: 'pointer' }}
705
+ onClick={() => {
706
+ usewalletpoints();
707
+ }}
708
+ >
709
+ {langdetect == 'en' ? 'Remove Points' : 'حذف النقاط'}
710
+ </p>
711
+ </div>
712
+ </div>
713
+ )}
714
+ {sectionproperties.showtotalsection == 'Show' && (
715
+ <div className="row m-0 w-100">
716
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
717
+ <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center wordbreak '}>{lang.subtotal}</p>
718
+ </div>
719
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
720
+ <p
721
+ className={
722
+ langdetect == 'en'
723
+ ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
724
+ : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
725
+ }
726
+ >
727
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
728
+ {parseFloat(fetchcustomercartQueryContext?.data?.data?.customercart.totalprice).toFixed(2)}{' '}
729
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
730
+ </p>
731
+ </div>
732
+ </div>
733
+ )}
734
+ {sectionproperties.showtotalsection == 'Show' && fetchcustomercartQueryContext?.data?.data?.customercart?.genpayments?.length != 0 && (
735
+ <div className="row m-0 w-100">
736
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.genpayments?.map((item, index) => {
737
+ return (
738
+ <div class="col-lg-12 p-0">
739
+ <div className="row m-0 w-100">
740
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
741
+ <p
742
+ className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center wordbreak '}
743
+ style={{
744
+ color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)',
745
+ }}
746
+ >
747
+ {langdetect == 'en' ? item.title_en : item.title_ar}
748
+ </p>
749
+ </div>
750
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
751
+ <p
752
+ className={
753
+ langdetect == 'en'
754
+ ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
755
+ : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
756
+ }
757
+ style={{
758
+ color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)',
759
+ }}
760
+ >
761
+ {item.addsubtype == 'subtract' && <span>-</span>}
762
+ {item.valuetype == 'value' && (
763
+ <span>
764
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.value}{' '}
765
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
766
+ </span>
767
+ )}
768
+ {item.valuetype == 'percentage' && <span>{item.value}%</span>}
769
+ </p>
770
+ </div>
771
+ </div>
772
+ </div>
773
+ );
774
+ })}
775
+ </div>
776
+ )}
777
+ </div>
778
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.usewalletpoints == 1 && (
779
+ <div className="row m-0 w-100">
780
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
781
+ <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center wordbreak '}>
782
+ {langdetect == 'en' ? 'Wallet points used' : 'النقاط المستخدمة'}
783
+ </p>
784
+ </div>
785
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
786
+ <p
787
+ className={
788
+ langdetect == 'en'
789
+ ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
790
+ : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
791
+ }
792
+ style={{ color: 'red' }}
793
+ >
794
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} -{' '}
795
+ {parseFloat(fetchcustomercartQueryContext?.data?.data?.customercart?.walletpointsused)} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
796
+ </p>
797
+ </div>
798
+ </div>
799
+ )}
800
+ {fetchcustomercartQueryContext?.data?.data?.customercart.couponexists && fetchcustomercartQueryContext?.data?.data?.customercart.discountprice != 0 && (
801
+ <div className="col-lg-12 p-0 mb-1">
802
+ <div className="row m-0 w-100">
803
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
804
+ <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 text-danger d-flex align-items-start wordbreak '}>{lang.discount}</p>
805
+ </div>
806
+
807
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
808
+ <p
809
+ className={
810
+ langdetect == 'en'
811
+ ? `${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 text-danger wordbreak text-right '
812
+ : `${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 text-danger wordbreak text-left '
813
+ }
814
+ >
815
+ {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice != 0 && (
816
+ <span>
817
+ - {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
818
+ {parseFloat(fetchcustomercartQueryContext?.data?.data?.customercart.discountprice).toFixed(2)}{' '}
819
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
820
+ </span>
821
+ )}
822
+ {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice == 0 && <span>0</span>}
823
+ </p>
824
+ </div>
825
+ </div>
826
+ </div>
827
+ )}
828
+ {sectionproperties.hideshipping == 'Show' && (
829
+ <div className="col-lg-12 p-0">
830
+ <div className="row m-0 w-100">
831
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
832
+ <p className={`${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 d-flex align-items-start wordbreak '}>{lang.shippingfees}</p>
833
+ </div>
834
+ {fetchcustomercartQueryContext?.data?.data?.customercart.zoneexists && (
835
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
836
+ <p
837
+ className={
838
+ langdetect == 'en'
839
+ ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
840
+ : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
841
+ }
842
+ >
843
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
844
+ {parseFloat(fetchcustomercartQueryContext?.data?.data?.customercart.zoneprice).toFixed(2)}{' '}
845
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
846
+ </p>
847
+ </div>
848
+ )}
849
+ {!fetchcustomercartQueryContext?.data?.data?.customercart.zoneexists && (
850
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
851
+ <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-start wordbreak '} style={{ color: 'red' }}>
852
+ {lang.outofzone}
853
+ </p>
854
+ </div>
855
+ )}
856
+ </div>
857
+ </div>
858
+ )}
859
+ {sectionproperties.showseparator == 'Show' && (
860
+ <div className="col-lg-12 p-0">
861
+ <hr className="mt-2 mb-2" />
862
+ </div>
863
+ )}
864
+ {sectionproperties.showtotalsection == 'Show' && (
865
+ <div className="col-lg-12 p-0">
866
+ <div className="row m-0 w-100">
867
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
868
+ <p
869
+ className="d-flex align-items-start"
870
+ style={{
871
+ fontSize: sectionproperties.total_fontsize + 'px',
872
+ fontWeight: sectionproperties.total_fontweight,
873
+ textTransform: sectionproperties.total_texttransform,
874
+ color: sectionproperties.total_color,
875
+ }}
876
+ >
877
+ {lang.total}
878
+ </p>
879
+ </div>
880
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
881
+ <div className="row m-0 w-100">
882
+ <div className="col-lg-12 p-0 d-flex justify-content-end ">
883
+ <p
884
+ className={langdetect == 'en' ? ' wordbreak text-right ' : 'wordbreak text-left '}
885
+ style={{
886
+ fontSize: sectionproperties.total_fontsize + 'px',
887
+ fontWeight: sectionproperties.total_fontweight,
888
+ textTransform: sectionproperties.total_texttransform,
889
+ color: sectionproperties.total_color,
890
+ }}
891
+ >
892
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
893
+ {parseFloat(fetchcustomercartQueryContext?.data?.data?.customercart.totalpriceafterdiscount).toFixed(2)}{' '}
894
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
895
+ </p>
896
+ </div>
897
+ </div>
898
+ </div>
899
+ </div>
900
+ </div>
901
+ )}
902
+ {sectionproperties.slideshowtext1_show == 'Show' && (
903
+ <div
904
+ class="col-lg-12 p-0 my-2 p-2 allcentered mb-3"
905
+ style={{
906
+ background: '#eee',
907
+ borderRadius: 10,
908
+ }}
909
+ >
910
+ <p
911
+ class="m-0 p-0"
912
+ style={{
913
+ color: sectionproperties.slideshowText1ContentColor,
914
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
915
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight,
916
+ }}
917
+ dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar }}
918
+ ></p>
919
+ </div>
920
+ )}
921
+ <div
922
+ className="col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3"
923
+ style={{
924
+ marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem',
925
+ }}
926
+ >
927
+ <button
928
+ className={` ${checkoutstyles.checkoutbtnstyles}` + ' d-flex align-items-center justify-content-center '}
929
+ onClick={() => {
930
+ var payloadobj = {};
931
+ addorderfuncrunner();
932
+ // AddOrderMutationContext.mutate(payloadobj);
933
+ }}
934
+ disabled={AddOrderMutationContext.isLoading ? true : false}
935
+ >
936
+ {AddOrderMutationContext.isLoading && <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />}
937
+ {!AddOrderMutationContext.isLoading
938
+ ? fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'onlinepayment'
939
+ ? lang.continuetopayment
940
+ : authdetailsContext.loggedin
941
+ ? langdetect == 'en'
942
+ ? sectionproperties.checkoutbtn_en2
943
+ : sectionproperties.checkoutbtn_ar2
944
+ : langdetect == 'en'
945
+ ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest
946
+ : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest
947
+ : ''}
948
+ </button>
949
+ </div>
950
+ </div>
951
+ </div>
952
+ </div>
953
+ )}
954
+ </div>
955
+ );
956
+ };
957
+ return (
958
+ <div className={'row m-0 w-100 d-flex justify-content-center p-sm-0 '}>
959
+ <div className={checkoutstyles.containerstyles + ' col-lg-12 w-100 d-flex justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 '}>
960
+ <div className={'row m-0 w-100 justify-content-center '}>
961
+ <div className={langdetect == 'en' ? ' col-lg-8 col-md-12 pl-0 p-md-0 ' : ' col-lg-8 col-md-12 pr-0 p-md-0 '}>
962
+ <div className="col-lg-12 d-flex align-items-center p-0">
963
+ <p
964
+ style={{
965
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
966
+ color: sectionproperties.sectionTitleColor,
967
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
968
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
969
+ textTransform: sectionproperties.sectionTitleTextTransform,
970
+ fontWeight: sectionproperties.sectionTitleFontWeight,
971
+ }}
972
+ >
973
+ {langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar}
974
+ </p>
975
+ </div>
976
+ {/* Logged in information */}
977
+ {authdetailsContext.loggedin && (
978
+ <div className="col-lg-12 p-0">
979
+ <div
980
+ className="pl-3 pr-3 pt-2 pb-2"
981
+ style={{
982
+ background: sectionproperties.userinfo_sectionbgcolor,
983
+ borderRadius: sectionproperties.userinfo_borderradius + 'px',
984
+ marginTop: sectionproperties.userinfo_sectionmarginTop + 'px',
985
+ marginBottom: sectionproperties.userinfo_sectionmarginbottom + 'px',
986
+ border: sectionproperties.userinfo_borderwidth + 'px solid ' + sectionproperties.usserinfo_sectionbordercolor,
987
+ }}
988
+ >
989
+ <div className="row m-0 w-100">
990
+ <div className={`${checkoutstyles.userinfo_iconcont}` + ' d-flex align-items-center justify-content-center '}>
991
+ <FiCheckCircle size={20} />
992
+ </div>
993
+ <div className="col-lg-11 col-md-10 col-sm-10 p-0">
994
+ <div className="row m-0 w-100">
995
+ <div
996
+ className="col-lg-12 d-flex align-items-center pl-2 pr-2"
997
+ style={{
998
+ fontSize: sectionproperties.userinfo_titlefontsize + 'px',
999
+ color: sectionproperties.userinfo_titlecolor,
1000
+ fontWeight: sectionproperties.userinfo_titlefontweight,
1001
+ }}
1002
+ >
1003
+ {lang.loggedinas}
1004
+ </div>
1005
+
1006
+ <div className={`${checkoutstyles.userinfotextstyles}` + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 text-capitalize '}>
1007
+ <div className="m-0 p-0 d-flex align-items-center">
1008
+ <i
1009
+ className="h-100 d-flex align-items-center justify-content-center mb-auto mt-1"
1010
+ style={{
1011
+ fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
1012
+ color: sectionproperties.userinfotext_iconcolor,
1013
+ marginRight: langdetect == 'en' ? '5px' : 0,
1014
+ marginLeft: langdetect == 'en' ? 0 : '5px',
1015
+ }}
1016
+ >
1017
+ <HiUser />
1018
+ </i>
1019
+ <p className="m-0 p-0 wordbreak">{authdetailsContext.customerinfo.name}</p>
1020
+ </div>
1021
+ </div>
1022
+ <div className={`${checkoutstyles.userinfotextstyles}` + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '}>
1023
+ <div className="m-0 p-0 d-flex align-items-center">
1024
+ <i
1025
+ className="h-100 d-flex align-items-center justify-content-center mb-auto mt-1"
1026
+ style={{
1027
+ fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
1028
+ color: sectionproperties.userinfotext_iconcolor,
1029
+ marginRight: langdetect == 'en' ? '5px' : 0,
1030
+ marginLeft: langdetect == 'en' ? 0 : '5px',
1031
+ }}
1032
+ >
1033
+ <BiPhone />
1034
+ </i>
1035
+ <p className="m-0 p-0 wordbreak">{authdetailsContext.customerinfo.mobile}</p>
1036
+ </div>
1037
+ </div>
1038
+ <div className={`${checkoutstyles.userinfotextstyles}` + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '}>
1039
+ <div className="m-0 p-0 d-flex align-items-center">
1040
+ <i
1041
+ className="h-100 d-flex align-items-center justify-content-center mb-auto mt-1"
1042
+ style={{
1043
+ fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
1044
+ color: sectionproperties.userinfotext_iconcolor,
1045
+ marginRight: langdetect == 'en' ? '5px' : 0,
1046
+ marginLeft: langdetect == 'en' ? 0 : '5px',
1047
+ }}
1048
+ >
1049
+ <GrMail />
1050
+ </i>
1051
+ <p className="m-0 p-0 wordbreak">{authdetailsContext.customerinfo.email}</p>
1052
+ </div>
1053
+ </div>
1054
+ </div>
1055
+ </div>
1056
+ {langdetect == 'en' && (
1057
+ <div
1058
+ className="col-lg-12 justify-content-end float-right pl-2 pr-2"
1059
+ style={{
1060
+ fontSize: sectionproperties.userinfo_titlefontsize + 'px',
1061
+ color: sectionproperties.userinfo_titlecolor,
1062
+ fontWeight: sectionproperties.userinfo_titlefontweight,
1063
+ textAlign: 'right',
1064
+ textDecoration: 'underline',
1065
+ cursor: 'pointer',
1066
+ position: 'absolute',
1067
+ right: 10,
1068
+ top: 10,
1069
+ }}
1070
+ onClick={() => {
1071
+ routingcountext(StaticPagesLinksContext.accountinfo);
1072
+ }}
1073
+ >
1074
+ {lang.update}
1075
+ </div>
1076
+ )}
1077
+ {langdetect == 'ar' && (
1078
+ <div
1079
+ className="col-lg-12 justify-content-end float-left pl-2 pr-2"
1080
+ style={{
1081
+ fontSize: sectionproperties.userinfo_titlefontsize + 'px',
1082
+ color: sectionproperties.userinfo_titlecolor,
1083
+ fontWeight: sectionproperties.userinfo_titlefontweight,
1084
+ textAlign: 'left',
1085
+ textDecoration: 'underline',
1086
+ cursor: 'pointer',
1087
+ position: 'absolute',
1088
+ left: 10,
1089
+ top: 10,
1090
+ }}
1091
+ onClick={() => {
1092
+ routingcountext(StaticPagesLinksContext.accountinfo);
1093
+ }}
1094
+ >
1095
+ {lang.update}
1096
+ </div>
1097
+ )}
1098
+ </div>
1099
+ </div>
1100
+ </div>
1101
+ )}
1102
+ {/* Address Details */}
1103
+ {/* {sectionproperties.hideshipping == 'Show' && ( */}
1104
+ <div
1105
+ className="col-lg-12 p-0"
1106
+ style={{
1107
+ display:
1108
+ authdetailsContext.loggedin == true &&
1109
+ sectionproperties.hidecountrystatecity == 'Hide' &&
1110
+ sectionproperties.hideaddress == 'Hide' &&
1111
+ sectionproperties.shownotes == 'Hide' &&
1112
+ insthasaffiliate == 0
1113
+ ? 'none'
1114
+ : 'flex',
1115
+ }}
1116
+ >
1117
+ <div class={`${checkoutstyles.innersection}` + ' w-100 mb-3 '}>
1118
+ <div className="col-lg-12 pl-3 pr-3 pt-2">
1119
+ <p className={checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '}>
1120
+ {authdetailsContext.loggedin ? lang.addressdetails : lang.contactdetails}
1121
+ </p>
1122
+ </div>
1123
+ <div className="col-lg-12 p-0">
1124
+ <hr className="mt-2 mb-2" />
1125
+ </div>
1126
+ <div className="row m-0 w-100 mb-3 pl-3 pr-3 pb-3">
1127
+ {!authdetailsContext.loggedin && (
1128
+ <>
1129
+ <div className="col-lg-4 col-md-12 mb-3">
1130
+ <label className={`${checkoutstyles.input_label_name}` + ' d-flex align-items-start '}>{lang.name}</label>
1131
+ <input
1132
+ type={'text'}
1133
+ className={`${formstyles.form_control} ${checkoutstyles.form_control}`}
1134
+ value={fetchcustomercartQueryContext?.data?.data?.customercart.name}
1135
+ onChange={(event) => {
1136
+ cartinfoupdater('name', event.target.value);
1137
+ }}
1138
+ style={{
1139
+ resize: 'none',
1140
+ boxShadow: 'none',
1141
+ }}
1142
+ />
1143
+ </div>
1144
+ <div className="col-lg-4 col-md-12 mb-3">
1145
+ <label className={`${checkoutstyles.input_label_name}` + ' d-flex align-items-start '}>{langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'}</label>
1146
+ <input
1147
+ type={'text'}
1148
+ className={`${formstyles.form_control} ${checkoutstyles.form_control}`}
1149
+ value={fetchcustomercartQueryContext?.data?.data?.customercart.mobile}
1150
+ onChange={(event) => {
1151
+ cartinfoupdater('mobile', event.target.value);
1152
+ }}
1153
+ style={{
1154
+ resize: 'none',
1155
+ boxShadow: 'none',
1156
+ }}
1157
+ />
1158
+ </div>
1159
+ <div className="col-lg-4 col-md-12 mb-3">
1160
+ <label className={`${checkoutstyles.input_label_name}` + ' d-flex align-items-start '}>{lang.email}</label>
1161
+ <input
1162
+ type={'text'}
1163
+ className={`${formstyles.form_control} ${checkoutstyles.form_control}`}
1164
+ value={fetchcustomercartQueryContext?.data?.data?.customercart.email}
1165
+ onChange={(event) => {
1166
+ cartinfoupdater('email', event.target.value);
1167
+ }}
1168
+ style={{
1169
+ boxShadow: 'none',
1170
+ }}
1171
+ />
1172
+ </div>
1173
+ </>
1174
+ )}
1175
+ <div
1176
+ class="col-lg-12 p-0"
1177
+ style={{
1178
+ display: sectionproperties.hidecountrystatecity == 'Hide' && sectionproperties.hideaddress == 'Hide' ? 'none' : 'flex',
1179
+ }}
1180
+ >
1181
+ <div class="row m-0 w-100">
1182
+ {sectionproperties.hidecountrystatecity == 'Show' && (
1183
+ <div className="col-lg-4 col-md-12 mb-3">
1184
+ <label className={`${checkoutstyles.input_label_name}` + ' m-0 d-flex align-items-start '}> {lang.country}</label>
1185
+ {fetchTabexCountriesQueryContext.isFetching && (
1186
+ <div className="w-100 allcentered mt-1">
1187
+ <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1188
+ </div>
1189
+ )}
1190
+ {!fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && (
1191
+ <Select
1192
+ options={fetchTabexCountriesQueryContext.data.data.countries}
1193
+ getOptionLabel={(option) => {
1194
+ var crname = '';
1195
+ if (langdetect == 'en') {
1196
+ crname = option.name;
1197
+ } else if (langdetect == 'ar') {
1198
+ if (option.name_ar != null) {
1199
+ crname = option.name_ar;
1200
+ } else {
1201
+ crname = option.name;
1202
+ }
1203
+ }
1204
+ return crname;
1205
+ }}
1206
+ getOptionValue={(option) => option.id}
1207
+ value={fetchTabexCountriesQueryContext.data.data.countries.filter(
1208
+ (option) => option.id == fetchcustomercartQueryContext?.data?.data?.customercart.countryid,
1209
+ )}
1210
+ onChange={(option) => {
1211
+ var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
1212
+ tempFetchTabexStatesPayloadobjContext.functype = 'states';
1213
+ tempFetchTabexStatesPayloadobjContext.country_id = option.id;
1214
+ setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
1215
+ cartinfoupdater('countryid', option.id);
1216
+ }}
1217
+ styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1218
+ placeholder={lang.choosecountry}
1219
+ isSearchable={true}
1220
+ />
1221
+ )}
1222
+ </div>
1223
+ )}
1224
+ {sectionproperties.hidecountrystatecity == 'Show' && (
1225
+ <div className="col-lg-4 col-md-12 mb-3">
1226
+ <label className={`${checkoutstyles.input_label_name}` + ' m-0 d-flex align-items-start '}>{lang.stategov}</label>
1227
+ {fetchTabexStatesQueryContext.isFetching && (
1228
+ <div className="w-100 allcentered mt-1">
1229
+ <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1230
+ </div>
1231
+ )}
1232
+ {!fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && (
1233
+ <Select
1234
+ options={fetchTabexStatesQueryContext.data.data.states}
1235
+ // getOptionLabel={(option) => option.name}
1236
+ // getOptionValue={(option) => option.id}
1237
+ getOptionLabel={(option) => {
1238
+ var crname = '';
1239
+ if (langdetect == 'en') {
1240
+ crname = option.name;
1241
+ } else if (langdetect == 'ar') {
1242
+ if (option.name_ar != null) {
1243
+ crname = option.name_ar;
1244
+ } else {
1245
+ crname = option.name;
1246
+ }
1247
+ }
1248
+ return crname;
1249
+ }}
1250
+ getOptionValue={(option) => option.id}
1251
+ value={fetchTabexStatesQueryContext.data.data.states.filter(
1252
+ (option) => option.id == fetchcustomercartQueryContext?.data?.data?.customercart.stateid,
1253
+ )}
1254
+ onChange={(option) => {
1255
+ if (option.id.length != 0 && fetchcustomercartQueryContext?.data?.data?.customercart.countryid.length != 0) {
1256
+ var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
1257
+ tempFetchTabexStatesPayloadobjContext.functype = 'cities';
1258
+ tempFetchTabexStatesPayloadobjContext.state_id = option.id;
1259
+ setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
1260
+ cartinfoupdater('stateid', option.id);
1261
+ } else {
1262
+ NotificationManager.warning('', 'Please Choose Country Or State');
1263
+ }
1264
+ }}
1265
+ styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1266
+ placeholder={lang.choosestategov}
1267
+ isSearchable={true}
1268
+ />
1269
+ )}
1270
+ </div>
1271
+ )}
1272
+ {sectionproperties.hidecountrystatecity == 'Show' && (
1273
+ <div className="col-lg-4 col-md-12 mb-3">
1274
+ <label className={`${checkoutstyles.input_label_name}` + ' m-0 d-flex align-items-start '}>{lang.city}</label>
1275
+ {fetchTabexCitiesQueryContext.isFetching && (
1276
+ <div className="w-100 allcentered mt-1">
1277
+ <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1278
+ </div>
1279
+ )}
1280
+ {!fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && (
1281
+ <Select
1282
+ options={fetchTabexCitiesQueryContext.data.data.cities}
1283
+ getOptionLabel={(option) => {
1284
+ var crname = '';
1285
+ if (langdetect == 'en') {
1286
+ crname = option.name;
1287
+ } else if (langdetect == 'ar') {
1288
+ if (option.name_ar != null) {
1289
+ crname = option.name_ar;
1290
+ } else {
1291
+ crname = option.name;
1292
+ }
1293
+ }
1294
+ return crname;
1295
+ }}
1296
+ getOptionValue={(option) => option.id}
1297
+ value={fetchTabexCitiesQueryContext.data.data.cities.filter(
1298
+ (option) => option.id == fetchcustomercartQueryContext?.data?.data?.customercart.cityid,
1299
+ )}
1300
+ onChange={(option) => {
1301
+ cartinfoupdater('cityid', option.id);
1302
+ }}
1303
+ styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1304
+ placeholder={lang.choosecity}
1305
+ isSearchable={true}
1306
+ />
1307
+ )}
1308
+ </div>
1309
+ )}
1310
+ {sectionproperties.hideaddress == 'Show' && (
1311
+ <div className="col-lg-12 mb-3">
1312
+ <label className={`${checkoutstyles.input_label_name}` + ' d-flex align-items-start '}>
1313
+ {langdetect == 'en' ? sectionproperties.shippingaddressen : sectionproperties.shippingaddressar}
1314
+ {/* {lang.shippingaddress} */}
1315
+ </label>
1316
+ <TextareaAutosize
1317
+ type={'text'}
1318
+ className={`${formstyles.form_control} ${checkoutstyles.form_control}`}
1319
+ value={fetchcustomercartQueryContext?.data?.data?.customercart.address}
1320
+ onChange={(event) => {
1321
+ cartinfoupdater('address', event.target.value);
1322
+ }}
1323
+ style={{
1324
+ resize: 'none',
1325
+ boxShadow: 'none',
1326
+ }}
1327
+ />
1328
+ </div>
1329
+ )}
1330
+ </div>
1331
+ </div>
1332
+ {sectionproperties.shownotes == 'Show' && (
1333
+ <div className="col-lg-12 mb-3">
1334
+ <label className={`${checkoutstyles.input_label_name}` + ' mb-2 d-flex align-items-start '}>{langdetect == 'en' ? 'Notes' : 'الملاحظات'}</label>
1335
+ <TextareaAutosize
1336
+ type={'text'}
1337
+ className={`${formstyles.form_control} ${checkoutstyles.form_control}`}
1338
+ value={fetchcustomercartQueryContext?.data?.data?.customercart.notes}
1339
+ onChange={(event) => {
1340
+ cartinfoupdater('notes', event.target.value);
1341
+ }}
1342
+ style={{
1343
+ resize: 'none',
1344
+ boxShadow: 'none',
1345
+ }}
1346
+ />
1347
+ </div>
1348
+ )}
1349
+ {insthasaffiliate == 1 && (
1350
+ <div className="col-lg-12 mb-3">
1351
+ <label className={`${checkoutstyles.input_label_name}` + ' mb-2 d-flex align-items-start '}>{langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'}</label>
1352
+ <input
1353
+ type={'number'}
1354
+ className={`${formstyles.form_control} ${checkoutstyles.form_control}`}
1355
+ value={fetchcustomercartQueryContext?.data?.data?.customercart?.aff_code}
1356
+ onChange={(event) => {
1357
+ cartinfoupdater('aff_code', event.target.value);
1358
+ }}
1359
+ style={{
1360
+ resize: 'none',
1361
+ boxShadow: 'none',
1362
+ }}
1363
+ />
1364
+ </div>
1365
+ )}
1366
+ </div>
1367
+ </div>
1368
+ </div>
1369
+ {/* )} */}
1370
+ {/* Payment */}
1371
+ <div className="col-lg-12 p-0 w-100">
1372
+ <div class={`${checkoutstyles.innersection}` + ' w-100 mb-3 '}>
1373
+ <div className="col-lg-12 pl-3 pr-3 pt-2">
1374
+ <p className={checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '}>{lang.paymentmethod}</p>
1375
+ </div>
1376
+ <div className="col-lg-12 p-0">
1377
+ <hr className="mt-2 mb-2" />
1378
+ </div>
1379
+ <div className="row m-0 w-100 mb-3 pl-3 pr-3">
1380
+ {authdetailsContext.instinfo.acceptCOD == 1 && (
1381
+ <div className="col-xl-4 col-lg-4 col-md-12 mb-3">
1382
+ <label
1383
+ className={
1384
+ langdetect == 'en'
1385
+ ? `${formstyles.checkbox} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1386
+ : `${formstyles.checkbox} ${formstyles.checkboxtranslated}` + ' d-flex mb-0 '
1387
+ }
1388
+ for="codcheckbox"
1389
+ >
1390
+ <input
1391
+ id={'codcheckbox'}
1392
+ type="checkbox"
1393
+ className={checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto '}
1394
+ checked={fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'cod' ? true : false}
1395
+ onChange={() => {
1396
+ if (fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod != 'cod') {
1397
+ cartinfoupdater('paymentmethod', 'cod');
1398
+ }
1399
+ }}
1400
+ />
1401
+ <svg viewBox="0 0 21 21" className={checkoutstyles.svgstyles + ' h-100 '}>
1402
+ <path d="M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"></path>
1403
+ </svg>
1404
+ <p
1405
+ className={' ml-2 mb-0 cursor-pointer wordbreak mr-2'}
1406
+ style={{
1407
+ color: sectionproperties.checkbox_color,
1408
+ }}
1409
+ >
1410
+ {langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar}
1411
+ </p>
1412
+ </label>
1413
+ </div>
1414
+ )}
1415
+ {authdetailsContext.instinfo.acceptCardOnDelivery == 1 && (
1416
+ <div className="col-xl-4 col-lg-4 col-md-12 mb-3">
1417
+ <label
1418
+ className={
1419
+ langdetect == 'en'
1420
+ ? `${formstyles.checkbox} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1421
+ : `${formstyles.checkbox} ${formstyles.checkboxtranslated} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1422
+ }
1423
+ >
1424
+ <input
1425
+ type="checkbox"
1426
+ className={checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto '}
1427
+ checked={fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'cardondelivery' ? true : false}
1428
+ onChange={() => {
1429
+ if (fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod != 'cardondelivery') {
1430
+ cartinfoupdater('paymentmethod', 'cardondelivery');
1431
+ }
1432
+ }}
1433
+ />
1434
+ <svg viewBox="0 0 21 21" className={checkoutstyles.svgstyles + ' h-100 '}>
1435
+ <path d="M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"></path>
1436
+ </svg>
1437
+ <p className={`${formstyles.checkbox_label}` + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '}> {lang.cardondelivery}</p>
1438
+ </label>
1439
+ </div>
1440
+ )}
1441
+ {authdetailsContext.instinfo.acceptOnlineCardPayment == 0 && (
1442
+ <div className="col-xl-4 col-lg-4 col-md-12 mb-3">
1443
+ <label
1444
+ className={
1445
+ langdetect == 'en'
1446
+ ? `${formstyles.checkbox} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1447
+ : `${formstyles.checkbox} ${formstyles.checkboxtranslated} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1448
+ }
1449
+ >
1450
+ <input
1451
+ type="checkbox"
1452
+ className={checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto '}
1453
+ checked={fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'onlinepayment' ? true : false}
1454
+ onChange={() => {
1455
+ if (fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod != 'onlinepayment') {
1456
+ cartinfoupdater('paymentmethod', 'onlinepayment');
1457
+ }
1458
+ }}
1459
+ />
1460
+ <svg viewBox="0 0 21 21" className={checkoutstyles.svgstyles + ' h-100 '}>
1461
+ <path d="M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"></path>
1462
+ </svg>
1463
+ <p className={`${formstyles.checkbox_label}` + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '}> {lang.onlinepayment}</p>
1464
+ </label>
1465
+ </div>
1466
+ )}
1467
+ {authdetailsContext.instinfo.acceptValuCard == 1 && (
1468
+ <div className="col-xl-4 col-lg-4 col-md-12 mb-3">
1469
+ <label
1470
+ className={
1471
+ langdetect == 'en'
1472
+ ? `${formstyles.checkbox} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1473
+ : `${formstyles.checkbox} ${formstyles.checkboxtranslated} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1474
+ }
1475
+ >
1476
+ <input
1477
+ type="checkbox"
1478
+ className={checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto '}
1479
+ checked={fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'valU' ? true : false}
1480
+ onChange={() => {
1481
+ if (fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod != 'valU') {
1482
+ cartinfoupdater('paymentmethod', 'valU');
1483
+ }
1484
+ }}
1485
+ />
1486
+ <svg viewBox="0 0 21 21" className={checkoutstyles.svgstyles + ' h-100 '}>
1487
+ <path d="M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"></path>
1488
+ </svg>
1489
+ <p className={`${formstyles.checkbox_label}` + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '}> ValU</p>
1490
+ </label>
1491
+ </div>
1492
+ )}
1493
+ {authdetailsContext.instinfo.acceptmobilewalletpayment == 1 && (
1494
+ <div className="col-xl-4 col-lg-4 col-md-12 mb-3">
1495
+ <label
1496
+ className={
1497
+ langdetect == 'en'
1498
+ ? `${formstyles.checkbox} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1499
+ : `${formstyles.checkbox} ${formstyles.checkboxtranslated} ${checkoutstyles.checkbox} ` + ' d-flex mb-0 '
1500
+ }
1501
+ >
1502
+ <input
1503
+ type="checkbox"
1504
+ className={checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto '}
1505
+ checked={fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'mobilewallet' ? true : false}
1506
+ onChange={() => {
1507
+ if (fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod != 'mobilewallet') {
1508
+ cartinfoupdater('paymentmethod', 'mobilewallet');
1509
+ }
1510
+ }}
1511
+ />
1512
+ <svg viewBox="0 0 21 21" className={checkoutstyles.svgstyles + ' h-100 '}>
1513
+ <path d="M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"></path>
1514
+ </svg>
1515
+ <p className={`${formstyles.checkbox_label}` + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '}> Mobile Wallet</p>
1516
+ </label>
1517
+ </div>
1518
+ )}
1519
+ </div>
1520
+ </div>
1521
+ </div>
1522
+
1523
+ {fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'onlinepayment1' && (
1524
+ <div className="col-lg-12 p-0 w-100 mb-3">
1525
+ <div
1526
+ style={{
1527
+ background: sectionproperties.payment_sectionbgcolor,
1528
+ borderRadius: sectionproperties.payment_borderradius + 'px',
1529
+ borderColor: sectionproperties.payment_sectionbordercolor,
1530
+ }}
1531
+ >
1532
+ <div className="col-lg-12 pl-3 pr-3 pt-2">
1533
+ <p className={checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '}>{lang.paymentcardinformation}</p>
1534
+ </div>
1535
+ <div className="col-lg-12 p-0">
1536
+ <hr className="mt-2 mb-2" />
1537
+ </div>
1538
+ <div className="w-100 row m-0 pl-3 pr-3 pt-2 pb-2">
1539
+ <div className="col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0">
1540
+ <label className={`${checkoutstyles.input_label_name}` + ' mb-2 d-flex align-items-start '}>{lang.cardnumber}</label>
1541
+ <input
1542
+ className={formstyles.form_controlcheckout}
1543
+ type="text"
1544
+ textplaceholder=""
1545
+ onChange={(event) => {}}
1546
+ style={{
1547
+ fontWeight: sectionproperties.inputtextfontweight,
1548
+ background: sectionproperties.input_bgcolor,
1549
+ color: sectionproperties.inputfieldcolor,
1550
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
1551
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
1552
+ }}
1553
+ />
1554
+ </div>
1555
+ <div className="w-100 row m-0">
1556
+ <div className="col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3">
1557
+ <label className={`${checkoutstyles.input_label_name}` + ' mb-2 d-flex align-items-start '}>{lang.year}</label>
1558
+ <input
1559
+ className={formstyles.form_controlcheckout}
1560
+ type="text"
1561
+ textplaceholder=""
1562
+ onChange={(event) => {}}
1563
+ style={{
1564
+ fontWeight: sectionproperties.inputtextfontweight,
1565
+ background: sectionproperties.input_bgcolor,
1566
+ color: sectionproperties.inputfieldcolor,
1567
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
1568
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
1569
+ }}
1570
+ />
1571
+ </div>
1572
+ <div className="col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3">
1573
+ <label className={`${checkoutstyles.input_label_name}` + ' mb-2 d-flex align-items-start '}>{lang.month}</label>
1574
+ <input
1575
+ className={formstyles.form_controlcheckout}
1576
+ type="text"
1577
+ textplaceholder=""
1578
+ onChange={(event) => {}}
1579
+ style={{
1580
+ fontWeight: sectionproperties.inputtextfontweight,
1581
+ background: sectionproperties.input_bgcolor,
1582
+ color: sectionproperties.inputfieldcolor,
1583
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
1584
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
1585
+ }}
1586
+ />
1587
+ </div>
1588
+ <div className="col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3">
1589
+ <label className={`${checkoutstyles.input_label_name}` + ' mb-2 d-flex align-items-start '}>{lang.cvv}</label>
1590
+ <input
1591
+ className={formstyles.form_controlcheckout}
1592
+ type="text"
1593
+ textplaceholder=""
1594
+ onChange={(event) => {}}
1595
+ style={{
1596
+ fontWeight: sectionproperties.inputtextfontweight,
1597
+ background: sectionproperties.input_bgcolor,
1598
+ color: sectionproperties.inputfieldcolor,
1599
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
1600
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
1601
+ }}
1602
+ />
1603
+ </div>
1604
+ </div>
1605
+ <div className="col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0 mb-3">
1606
+ <label className={`${checkoutstyles.input_label_name}` + ' mb-2 d-flex align-items-start '}>{lang.nameoncard}</label>
1607
+ <input
1608
+ className={formstyles.form_controlcheckout}
1609
+ type="text"
1610
+ textplaceholder=""
1611
+ onChange={(event) => {}}
1612
+ style={{
1613
+ fontWeight: sectionproperties.inputtextfontweight,
1614
+ background: sectionproperties.input_bgcolor,
1615
+ color: sectionproperties.inputfieldcolor,
1616
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
1617
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
1618
+ }}
1619
+ />
1620
+ </div>
1621
+ </div>
1622
+ </div>
1623
+ </div>
1624
+ )}
1625
+ </div>
1626
+ <div className={langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'}>{Mycart()}</div>
1627
+ </div>
1628
+ </div>
1629
+ {/* )} */}
1630
+ </div>
1631
+ );
1632
+ };
1633
+ export default Checkout;