getTierPriceHtml() ?>
* Add the following code right after that line: getSbLinkid()) echo $this->helper('subscriptionbridge')->getSbApiWidget($_product->getSbLinkid());
// end code to add
?>
* Save the file and upload it back to the Web server.
==== Edit "cart\item\default.phtml" ====
* Download the file "\app\design\frontend\default\default\template\checkout\cart\item\default.phtml" via FTP
* Open it in Notepad or your favorite HTML editor
* Locate the following code around line 52
* Add the following code right after that line: getSbLinkid()) echo $this->helper('subscriptionbridge')->getSbApiWidget($_item->getSbLinkid());
// end code to add
?>
* Save the file and upload it back to the Web server.
==== Edit "onepage\review\item.phtml" ====
* Download the file "\app\design\frontend\default\default\template\checkout\onepage\review\item.phtml" via FTP
* Open it in Notepad or your favorite HTML editor
* Locate the following code around line 49
* Add the following code right after that line: getSbLinkid()) echo $this->helper('subscriptionbridge')->getSbApiWidget($_item->getSbLinkid());
// end code to add
?>
* Save the file and upload it back to the Web server.
==== Edit "renderer\default.phtml" ====
* Download the file "\app\design\frontend\default\default\template\sales\order\items\renderer\default.phtml" via FTP
* Open it in Notepad or your favorite HTML editor
* Locate the following code around line 29 htmlEscape($_item->getName()) ?>
* Add the following code right after that line: getOrder();
$_sbPayment = $_sbOrder->getPayment();
if($_sbPayment->getMethod() == 'subscriptionbridge') :
echo $this->helper('subscriptionbridge')->getSbCustomerCenterLinkDeatils($_sbPayment->getCcTransId(),$_sbOrder->getCustomerEmail());
endif;
// end code to add
?>
* Save the file and upload it back to the Web server.
===== Other notes =====
==== Product Type ====
If you are selling a subscription-based service (i.e. non-shipping, typically non-taxable), make sure to setup the product in Magento as a //Virtual// product. Otherwise Magento will consider it a shipping product. You can't change the product type after creating a product.
==== Current Limitations ====
* One subscription \\ You can only purchase one subscription product/service at a time. The message that informs customers of this scenario can be edited in the Magento administration area.
* Either a subscription or regular products \\ You cannot put in the shopping cart, at the same time, a subscription product with one or more regular products. Subscriptions must be purchased separately. The message that informs customers of this scenario can be edited in the Magento administration area.
* PayPal Express Checkout \\ PayPal Express Checkout is not supported at this time.