close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PS3 - How to get categories to display on Order Details page

Thread began 7/25/2010 5:29 pm by kenstites342105 | Last modified 8/10/2010 12:25 pm by Eric Mittman | 988 views | 7 replies |

kenstites342105

PS3 - How to get categories to display on Order Details page

I have three advanced options setup for each product in PowerStore 3 - Date, Time and Ticket. The Order Receipt page - pp_checkout_success.php dispalys the three options ok for the buyer, but when I log in to Admin and look up the Order_Details.php page, the options are not listed.

The client needs to know what options were selected. How can I get the options to display on the order details page?

Thanks,
Ken Stites

Sign in to reply to this post

Eric Mittman

In order for the options to be displayed in the admin area you need to update the confirm and pp_confirm pages so that they store these values in the order details table. Once the values are stored in the order details table you will be able to see them in the admin area. I'm including the updated copies of the confirm and pp_confirm pages for you as well as an updated order details page for the front end. This is the order details page that the user visits when viewing their order history.

Attached Files
confirm pages.zip
orders_Detail.php.zip
Sign in to reply to this post

kenstites342105

PS3 - How to get categories to display on Order Details page

Hi Eric,

Thanks for the updated files, that fixed the issue. I now see all advanced options displaying on the order detail page.

Thanks so much,
Ken

Sign in to reply to this post

Eric Mittman

Glad to hear that, let us know if you have any further questions.

Sign in to reply to this post

kenstites342105

Order Options To Display in email order confirmation.

Now, that I have the order option displaying in the order confirmation page is there a way to get them to display in the email order confirmation as well. I thought editing the email template receipt.php with the following code would get them to print, but no luck.

while (!$WA_Store_Cart->EOF()) {
?>
<tr >
<td><strong style="font-size:16px"><?php echo $WA_Store_Cart->DisplayInfo("Name"); ?></strong><br />
<?php echo $WA_Store_Cart->DisplayInfo("Description"); ?><br />
<?php if($WA_Store_Cart->DisplayInfo("Options") != "") { ?>

<?php $options = $WA_Store_Cart->DisplayInfo("Options");
$optoinsArray = explode(",",$options);
foreach ($optoinsArray as $value) {
?>
<span title="<?php echo substr($value,0,strpos($value, ":")); ?>">
<?php echo substr($value,0,strpos($value, ":")); ?>:</span>&nbsp;<?php echo trim(substr($value,strpos($value, ":")+1)); ?><br />
<?php } ?>

<?php } ?></td>
<td ><?php echo WA_eCart_DisplayMoney($WA_Store_Cart, $WA_Store_Cart->DisplayInfo("TotalPrice")); ?></td>
</tr><tr >
<td colspan="2"><hr /></td>
</tr>
<?php
$WA_Store_Cart->MoveNext();
}
$WA_Store_Cart->MoveFirst();
?>

Thanks,
Ken

Sign in to reply to this post

Eric Mittman

You are making the correct edit but probably to the wrong page. The email receipt actually makes use of the WA_Universal_Email > Email_Templates > receipt.php and pp_receipt.php files. So you will need to make the update to these files to add in the details for the options.

I'm including updated versions of these pages with the options added in like your example for you. Just make sure to backup the originals and put these in the proper Email_Templates directory and it should work for you. Let me know if there are any issues.

Attached Files
email receipts.zip
Sign in to reply to this post

kenstites342105

Order Options To Display in email order confirmation

Hi Eric,

You were right, I had edited the templates found under WA_Universal_Email > Templates instead of the files in the WA_Universal_Email > Email_Templates folder.

Everything is working great now.

Thanks,

Ken

Sign in to reply to this post

Eric Mittman

Nice, let us know if there is anything else. I'm pretty sure this should cover all of the places that the options should appear.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...