Community Forums

Order Number instead of Transaction Details

Support for mods, payments, shipping, totals, modules, and languages in OpenCart v1.x

Order Number instead of Transaction Details

Postby cleartechsolutions » Thu Jun 28, 2012 5:09 pm

Hi,

I was wondering whether someone could help me with a quick query with Open Cart.

My client has asked if payment transactions can have an Order Number rather than posting Transaction Details i.e.

2 x 500kg bags of Potatoes.

Where as the client would just prefer to have Order Number 1000034 instead of product description.

Is there a VQ Mod that does this? Thanks
cleartechsolutions
 
Posts: 2
Joined: Thu Jun 28, 2012 5:02 pm

Re: Order Number instead of Transaction Details

Postby avvici -arvixe- » Mon Jul 09, 2012 10:11 am

So on the confirmation email you want just order number?
Image Image
User avatar
avvici -arvixe-
 
Posts: 4316
Joined: Tue Apr 05, 2011 4:09 am
Location: Charlotte, NC

Re: Order Number instead of Transaction Details

Postby fallen angel » Sat Aug 25, 2012 2:03 am

That would be great...I am looking for the same thing...Just an order number...no details...Can someone do this?

Thank you in advance

FA
fallen angel
 
Posts: 27
Joined: Fri Aug 24, 2012 11:50 pm

Re: Order Number instead of Transaction Details

Postby avvici -arvixe- » Sun Aug 26, 2012 6:49 pm

Simple. Just delete everything but the call for the Order_Id number
Image Image
User avatar
avvici -arvixe-
 
Posts: 4316
Joined: Tue Apr 05, 2011 4:09 am
Location: Charlotte, NC

Re: Order Number instead of Transaction Details

Postby fallen angel » Sun Aug 26, 2012 7:12 pm

Thank you very much...Where would I find the template to edit to get this done?

Thank you again

FA
fallen angel
 
Posts: 27
Joined: Fri Aug 24, 2012 11:50 pm

Re: Order Number instead of Transaction Details

Postby avvici -arvixe- » Sun Aug 26, 2012 8:32 pm

catalog/view/theme/your_theme/template/mail/order.tpl :)
Image Image
User avatar
avvici -arvixe-
 
Posts: 4316
Joined: Tue Apr 05, 2011 4:09 am
Location: Charlotte, NC

Re: Order Number instead of Transaction Details

Postby fallen angel » Sun Aug 26, 2012 9:01 pm

I followed the path, but the last folder after template , is common...and there are only header and footer templates in there...I do not have a mail/order.tpl...
This is under the main path.../public_html/vaporsupplies/catalog/view/theme/default-black/template/common

That's all I have...unless there is another path I was supposed to follow...Unless I use the default skin...in that case, there is a mail/order.tpl...I believe the skin I am using requires me to have the default skin there, so It may be the correct template.


FA
fallen angel
 
Posts: 27
Joined: Fri Aug 24, 2012 11:50 pm

Re: Order Number instead of Transaction Details

Postby fallen angel » Thu Aug 30, 2012 1:30 pm

This is what I was talking about...If you look at the left side of the screenshot, you will see where it lists the items that were purchased. I don't want it to show any items...Just a sale order number...If anyone can help with that, it would be very appreciated...

Thanks

FA
Attachments
order.PNG
order.PNG (24.48 KiB) Viewed 1207 times
fallen angel
 
Posts: 27
Joined: Fri Aug 24, 2012 11:50 pm

Re: Order Number instead of Transaction Details

Postby stephysanrio » Sat Oct 06, 2012 8:08 pm

did you ever figure thhis out? I need help with the same..
stephysanrio
 
Posts: 9
Joined: Sat Jul 31, 2010 1:10 am

Re: Order Number instead of Transaction Details

Postby avvici -arvixe- » Sat Oct 06, 2012 10:20 pm

fallen angel wrote:This is what I was talking about...If you look at the left side of the screenshot, you will see where it lists the items that were purchased. I don't want it to show any items...Just a sale order number...If anyone can help with that, it would be very appreciated...

Thanks

FA

You didn't mention you wanted it in Pay Pal. This is why details are important.
You won't be able to list the order number because there is no such API variable for that. You can look here https://cms.paypal.com/us/cgi-bin/?cmd= ... 8A6HH0D0TA but I did not see one you could substitute to DISPLAY the order number. You can use the <input type="hidden" name="invoice" value="<?php echo $invoice; ?>" /> for the order number but is not displayed to the user.

If you want to remove that from the Pay Pal string then open /catalog/view/theme/your_theme/template/payment/pp_standard.tpl and find this code:
Code: Select all
 <input type="hidden" name="item_name_<?php echo $i?>" value="<?php echo $product['name']; ?>" />
  <input type="hidden" name="item_number_<?php echo $i?>" value="<?php echo $product['model']; ?>" />
  <input type="hidden" name="amount_<?php echo $i?>" value="<?php echo $product['price']; ?>" />
  <input type="hidden" name="quantity_<?php echo $i?>" value="<?php echo $product['quantity']; ?>" />
  <input type="hidden" name="weight_<?php echo $i?>" value="<?php echo $product['weight']; ?>" />

Delete it.
Image Image
User avatar
avvici -arvixe-
 
Posts: 4316
Joined: Tue Apr 05, 2011 4:09 am
Location: Charlotte, NC

Re: Order Number instead of Transaction Details

Postby stephysanrio » Sun Oct 07, 2012 4:28 pm

when you delete that code this shows up on paypal when trying to pay:

Error Detected

Your shopping cart is empty.


i deleted everything you said :
<input type="hidden" name="item_name_<?php echo $i; ?>" value="<?php echo $product['name']; ?>" />
<input type="hidden" name="item_number_<?php echo $i; ?>" value="<?php echo $product['model']; ?>" />
<input type="hidden" name="amount_<?php echo $i; ?>" value="<?php echo $product['price']; ?>" />
<input type="hidden" name="quantity_<?php echo $i; ?>" value="<?php echo $product['quantity']; ?>" />
<input type="hidden" name="weight_<?php echo $i; ?>" value="<?php echo $product['weight']; ?>" />
stephysanrio
 
Posts: 9
Joined: Sat Jul 31, 2010 1:10 am


Return to Extension Support

Who is online

Users browsing this forum: No registered users and 6 guests

Hosted by Arvixe Web Hosting