Post by openshop » Sat May 16, 2015 10:04 am

Code: Select all

          <tr>
            <td><?php echo $text_total; ?></td>
            <td><?php echo $total; ?>
              <?php if ($credit && $customer) { ?>
              <?php if (!$credit_total) { ?>
              <span id="credit"><b>[</b> <a id="credit-add"><?php echo $text_credit_add; ?></a> <b>]</b></span>
              <?php } else { ?>
              <span id="credit"><b>[</b> <a id="credit-remove"><?php echo $text_credit_remove; ?></a> <b>]</b></span>
              <?php } ?>
              <?php } ?></td>
          </tr>
admin/view/template/sale/order_info.tpl
這個功能是做什麼用的?

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Mon May 18, 2015 12:15 pm

如果有一些客人帳戶內有CREDIT就會發生作用了

至於如何加CREDIT到客人的帳戶內,你可以看看這個教學:
http://www.inmotionhosting.com/support/ ... n-opencart

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


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Mon May 18, 2015 2:46 pm

我試過先加入CREDIT再購物
可是在訂單order_info中沒有顯示這些內容
這需要在什麼情況下才會出現?

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Tue May 19, 2015 5:22 pm

不會的,如果是使用store credit購物,訂單中會有一項Store Credit 說明了用了多少Store Credit

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


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Tue May 19, 2015 6:29 pm

我是指Admin中的order info
並沒有看到你說的credit

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm

Post by raymondization » Wed May 20, 2015 10:16 am

請看看這張圖片
credit.png

credit.png (45.82 KiB) Viewed 1623 times


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


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by openshop » Wed May 20, 2015 10:20 am

沒看到credit啊?

Code: Select all

          <tr>
            <td><?php echo $text_total; ?></td>
            <td><?php echo $total; ?>
              <?php if ($credit && $customer) { ?>
              <?php if (!$credit_total) { ?>
              <span id="credit"><b>[</b> <a id="credit-add"><?php echo $text_credit_add; ?></a> <b>]</b></span>
              <?php } else { ?>
              <span id="credit"><b>[</b> <a id="credit-remove"><?php echo $text_credit_remove; ?></a> <b>]</b></span>
              <?php } ?>
              <?php } ?></td>
          </tr>

New member

Posts

Joined
Sat Dec 14, 2013 4:16 pm
Who is online

Users browsing this forum: No registered users and 7 guests