圖標(biāo)庫(kù)找不見了,插入,形狀,也沒有(圖標(biāo)不見了在哪里找)">圖標(biāo)庫(kù)找不見了,插入,形狀,也沒有(圖標(biāo)不見了在哪里找)
841
2022-05-29
在項(xiàng)目local.properties里做出如下定義:
keygen.order.code.digits=8
keygen.order.code.start=00000000
keygen.order.code.numeric=true
keygen.order.code.template=$
core-spring.xml:
效果如下:
修改定義后,如果不想重啟Hybris server也能讓他們立即生效,使用如下Java代碼:
import de.hybris.platform.jalo.numberseries.* NumberSeriesManager nm = NumberSeriesManager.getInstance() def s = nm.getNumberSeries("order_code") println "Before: current: ${s.currentNumber} type: ${s.type} template: ${s.template}" nm.resetNumberSeries(s.key, "777", s.type, s.template ) def s2 = nm.getNumberSeries("order_code") println "After: current: ${s2.currentNumber} type: ${s2.type} template: ${s2.template}"
backoffice里創(chuàng)建一個(gè)新訂單,維護(hù)一個(gè)行項(xiàng)目,添加一個(gè)產(chǎn)品:
在行項(xiàng)目的SubTotal界面,維護(hù)Base Price,在Discount values字段里,輸入折扣信息:discount: 10.00%:
回到order界面,點(diǎn)擊重新計(jì)算價(jià)格的按鈕,就能看到1 * 10 = 9 美元的信息了,說明折扣已經(jīng)生效。
參考了這個(gè)SAP幫助文檔:
幫助文檔路徑:Commerce Platform Module->Commerce Platform Module Implementation->Ordering, Payment and Pricing Standards->Price, Tax and Discount Calculation->europe1 Extension->Editing Tax and Discount Values of an Order in Backoffice
Java 云計(jì)算 日志分析服務(wù) LOG
版權(quán)聲明:本文內(nèi)容由網(wǎng)絡(luò)用戶投稿,版權(quán)歸原作者所有,本站不擁有其著作權(quán),亦不承擔(dān)相應(yīng)法律責(zé)任。如果您發(fā)現(xiàn)本站中有涉嫌抄襲或描述失實(shí)的內(nèi)容,請(qǐng)聯(lián)系我們jiasou666@gmail.com 處理,核實(shí)后本網(wǎng)站將在24小時(shí)內(nèi)刪除侵權(quán)內(nèi)容。