
內容簡介
簡單的 PayPal 立即購買按鈕外掛可以透過簡碼 (shortcode) 在網站上添加 PayPal 立即購買按鈕。
插件功能:
建立 PayPal 按鈕
在任何帖子和頁面中使用簡碼 (shortcode) 添加 PayPal 立即購買按鈕
在小工具中使用簡碼 (shortcode) 添加 PayPal 立即購買按鈕
在模板文件中使用簡碼 (shortcode) 添加 PayPal 立即購買按鈕
簡碼 (Shortcode)
[wpcsimple_button email='[email protected]' size='large' amount ='15.00' name='T-shirt' currency_code= 'USD']
<?php echo do_shortcode('[wpcsimple_button]'); ?>
貨幣代碼
‘AUD’ => ‘澳幣 (A $)’
‘BRL’ => ‘巴西實時
‘CAD’ => ‘加幣 (C $)’
‘CZK’ => ‘捷克克朗
‘DKK’ => ‘丹麥克朗
‘EUR’ => ‘歐元 (€)’
‘HKD’ => ‘港幣 ($)’
‘HUF’ => ‘匈牙利福林
‘ILS’ => ‘以色列新謝克爾
‘JPY’ => ‘日元 (¥)’
‘MYR’ => ‘林吉特
‘MXN’ => ‘墨西哥披索
‘NOK’ => ‘挪威克朗
‘NZD’ => ‘新西蘭幣 ($)’
‘PHP’ => ‘菲律賓比索
‘PLN’ => ‘波蘭茲羅提
‘GBP’ => ‘英鎊 (£)’
‘RUB’ => ‘俄羅斯盧布
‘SGD’ => ‘新加坡幣 ($)’
‘SEK’ => ‘瑞典克朗
‘CHF’ => ‘瑞士法郎
‘TWD’ => ‘新台幣
‘THB’ => ‘泰銖
‘TRY’ => ‘土耳其里拉
‘USD’ => ‘美元
簡碼 (Shortcode) 參數
email => 與您的 PayPal 帳戶相關聯的電子郵件地址。
name => 正在出售的商品描述。
amount => 與商品相關聯的金額
currency_code => 付款所需的貨幣。預設為 USD。
lc = > 結帳登錄或註冊頁面的區域設置,例如 en_GB
paymentaction => 銷售或授權。
return => PayPal 在買家完成付款後將買家的瀏覽器重定向到的 URL。
cancel_return => 如果買家在完成付款之前取消結帳,PayPal 會將買家的瀏覽器重定向到的網址。
試用我們的其他高級插件:
Woocommerce 自訂相關產品專業版
Woocommerce 產品預估送達日期
WooCommerce 進階折扣和費用
WooCommerce 現金回饋優惠券
外掛標籤
開發者團隊
② 後台搜尋「Simple Buy Now Button for PayPal」→ 直接安裝(推薦)
原文外掛簡介
Simple PayPal Buy Now button plugin allows you to add PayPal Buy Now button to your site using shortcode.
Plugin Functionality:
Create PayPal button
Place PayPal Buy Now button shortcode on any post and page.
Place PayPal Buy Now button shortcode on widget.
Place PayPal Buy Now button shortcode in template file.
Shortcode
[wpcsimple_button email='[email protected]' size='large' amount ='15.00' name='T-shirt' currency_code= 'USD']
Currency Codes
‘AUD’ => ‘Australian Dollars (A $)’
‘BRL’ => ‘Brazilian Real’
‘CAD’ => ‘Canadian Dollars (C $)’
‘CZK’ => ‘Czech Koruna’
‘DKK’ => ‘Danish Krone’
‘EUR’ => ‘Euros (€)’,
‘HKD’ => ‘Hong Kong Dollar ($)’
‘HUF’ => ‘Hungarian Forint’
‘ILS’ => ‘Israeli New Shekel’
‘JPY’ => ‘Yen (¥)’
‘MYR’ => ‘Malaysian Ringgit’
‘MXN’ => ‘Mexican Peso’
‘NOK’ => ‘Norwegian Krone’
‘NZD’ => ‘New Zealand Dollar ($)’
‘PHP’ => ‘Philippine Peso’
‘PLN’ => ‘Polish Zloty’
‘GBP’ => ‘Pounds Sterling (£)’
‘RUB’ => ‘Russian Ruble’
‘SGD’ => ‘Singapore Dollar ($)’
‘SEK’ => ‘Swedish Krona’
‘CHF’ => ‘Swiss Franc’
‘TWD’ => ‘Taiwan New Dollar’
‘THB’ => ‘Thai Baht’
‘TRY’ => ‘Turkish Lira’
‘USD’ => ‘US Dollars’
Shortcode parameter
email => Your email address associated with your PayPal account.
name => Description of item being sold.
amount => The amount associated with item
currency_code => The currency of the payment. Default is USD.
lc = > The locale of the checkout login or sign-up page. for example en_GB
paymentaction => sale or authorization.
return => The URL to which PayPal redirects buyers’ browser after they complete their payments.
cancel_return => URL to which PayPal redirects the buyers’ browsers if they cancel checkout before completing their payments.
Try our other premium plugins :
Woocommerce Custom Related Products Pro
Woocommerce Estimated Delivery Date Per Product
WooCommerce Advanced Discounts and Fees
Cashback Coupon for WooCommerce
Dynamic Pricing Per Product for WooCommerce
