Post by openshop » Thu Apr 23, 2015 11:40 am

為什麼Option的Reward Points設定了沒有作用?
結帳後沒有出現?

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Thu Apr 23, 2015 2:08 pm

hi,你好,
請善用forum的search function

這個post應該可以幫到你:
http://forum.opencart.com/viewtopic.php?f=138&t=51161

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Thu Apr 23, 2015 6:57 pm

我知道怎麼用Reward Points,但是我的意思是說Option裡面的Reward Points為什麼無法作用?
http://demo.opencart.com/admin/index.ph ... duct_id=42

Attachments

螢幕快照 2015-04-23 下午6.56.07.png

螢幕快照 2015-04-23 下午6.56.07.png (92.45 KiB) Viewed 2809 times


New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Fri Apr 24, 2015 10:08 am

明白,如果你設定了option的rewards point,那麼你的客人買這件貨物時所需要的rewards point就會增加或減少

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Fri Apr 24, 2015 10:10 am

我知道他的功能,但是我試了沒效果,查看程式碼也沒有把Option的Reward Points寫進訂單中

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Fri Apr 24, 2015 2:33 pm

我剛剛試了,應該沒有問題

你要注意你的option是有價錢的,例如+$5,rewards point,例如+50

如果這件貨物本身設定了$50 or 500 rewards points,那麼你的客人買這件貨物就需要$55 or 550 rewards points

如果還是有問題,請到 http://www.opencart.com/,連同你的admin login details提交一張support ticket給我們 我們可以幫你檢查一下

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Fri Apr 24, 2015 2:43 pm

原來那個不是要贈送給客戶的點數?是購買折抵用的嗎?

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Fri Apr 24, 2015 3:30 pm

不是,這是購買貨物時所需的點數

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Fri Apr 24, 2015 7:18 pm

謝謝你的答覆,原來是翻譯錯了,我一直以為那是Reward Points,結果原來是使用的Points
不過當商品如果沒有設定Points,在結帳時就無法使用Points
請問應該怎麼辦呢?我最少要設1個Points才能在結帳時出現Points的輸入欄位

Attachments

螢幕快照 2015-04-24 下午7.14.28.png

螢幕快照 2015-04-24 下午7.14.28.png (83.58 KiB) Viewed 2803 times


New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by openshop » Fri Apr 24, 2015 7:30 pm

Code: Select all

	<file name="system/library/cart.php">		
		<operation>
			<search position="replace"><![CDATA[	
			($product_query->row['points'] ? ($product_query->row['points'] + $option_points) * $quantity : 0),
			]]></search>
			<add><![CDATA[
			($product_query->row['points'] + $option_points) * $quantity ,
			]]></add>
		</operation>
	</file>		
我不確定是不是這樣修改?可以幫我看看嗎?

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Mon Apr 27, 2015 11:04 am

我不太明白你的意思

商品如果沒有設定Points,在結帳時當然無法使用Points!

你要使用Points就必須在商品設定Points

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Mon Apr 27, 2015 11:08 am

我的商品沒有設定Points
但是Option有設定
按照原本的功能商品如果沒有設定Points並不會檢查Option有沒有設定
我把那段改了,現在會檢查Option並且顯示輸入Points的欄位
只是我不確定那樣改對不對?

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Mon Apr 27, 2015 11:10 am

我沒有這樣嘗試過,你自己可以試試

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am
Who is online

Users browsing this forum: No registered users and 4 guests