Post by SideShowBob » Fri Mar 19, 2010 8:21 pm

I am hoping to use OpenCart for an MP3 download site.

This would only offer PayPal as a payment method and obviousley requires no shipping.

Once a customer has paid I would like to offer them the option of downloading the MP3 straight away via a button or link on the checkout success page.

Currently they have to go into their account to view their downloads.

I could add a button or link to the downloads section of their account but would much prefer to present them with a direct download button.

Newbie

Posts

Joined
Sun Mar 14, 2010 7:37 pm

Post by Qphoria » Fri Mar 19, 2010 10:33 pm

You could add a direct link to the downloads area by adding this line to your success message

EDIT: catalog/language/english/checkout/success.php

FIND:

Code: Select all

$_['text_message']  = '<p>Your order has been successfully processed! Your products will arrive at their destination within 2-5 working days.</p><p>You can view your order history by going to the <a href="%s">My Account</a> page and by clicking on <a href="%s">History</a>.</p><p>Please direct any questions you have to the <a href="%s">store owner</a>.</p><p>Thanks for shopping with us online!</p>';
REPLACE WITH:

Code: Select all

$_['text_message']  = '<p>Your order has been successfully processed!</p><p>You can view your order history by going to the <a href="%s">My Account</a> page and by clicking on <a href="%s">History</a>.</p><p>Please direct any questions you have to the <a href="%s">store owner</a>.</p><p>Thanks for shopping with us online!</p><h3>Downloads are available in your account <a href="index.php?route=account/download">download page</a></h3>';

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Saudi Bee » Mon Dec 31, 2012 5:00 pm

Thanks, it helped me :)

New member

Posts

Joined
Sat May 19, 2012 5:09 pm
Who is online

Users browsing this forum: No registered users and 6 guests