shopware

Shopware zip code validation in confirm order page

♀尐吖头ヾ 提交于 2019-12-24 22:05:24
问题 I need to validation zip code in order confirm page. Once customer entered shipping address zip code is matched our allowed shipping zone zip code list process the order else return the error message. Note: I have create custom plugin. So need to do this process via this plugin. 回答1: The SwagVatIDValidation of shopware does something similar - it validates the vatid on several pages (registration, changing of adress in account, by login, ...). You can get it for free in the community store,

UPDATE row ON UPDATE trigger, multi table condition

自闭症网瘾萝莉.ら 提交于 2019-12-24 12:30:39
问题 I'm working with Shopware and one odd thing is driving me nuts :( So I will first explain what the Problem is. Aside from normal articles, there are those with multiple variants, like a shirt in different sizes. It's the same article in XS, S, M, L and/or different colors... but has different ordernumbers and probably different prices. So in Shopware you have a table with the core article data, one with the details data and one with the possible prices data. The articles with multiple

Importing bootstrap in LESS not working (element is resolved only by name)

对着背影说爱祢 提交于 2019-12-12 05:52:18
问题 In Short, i got following structure: - less -- node_modules --- bootstrap ----less ----- ALL BOOTSTRAP DATA -- _components --- _forms.less -- all.less Everything (there are some more) is imported in all.less, it looks like this: @import "node_modules/bootstrap/less/bootstrap"; // Font Awesome @fa-font-path: '../fonts'; @import "_base/_variables"; @import "_base/_base"; @import "_base/_mobile"; @import "_base/_sections"; @import "_base/_typography"; @import "_components/_buttons"; @import "