Order Number instead of Transaction Details
11 posts
• Page 1 of 1
Order Number instead of Transaction Details
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
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
So on the confirmation email you want just order number?
-

avvici -arvixe- - Posts: 4316
- Joined: Tue Apr 05, 2011 4:09 am
- Location: Charlotte, NC
Re: Order Number instead of Transaction Details
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
Thank you in advance
FA
- fallen angel
- Posts: 27
- Joined: Fri Aug 24, 2012 11:50 pm
Re: Order Number instead of Transaction Details
Simple. Just delete everything but the call for the Order_Id number
-

avvici -arvixe- - Posts: 4316
- Joined: Tue Apr 05, 2011 4:09 am
- Location: Charlotte, NC
Re: Order Number instead of Transaction Details
Thank you very much...Where would I find the template to edit to get this done?
Thank you again
FA
Thank you again
FA
- fallen angel
- Posts: 27
- Joined: Fri Aug 24, 2012 11:50 pm
Re: Order Number instead of Transaction Details
catalog/view/theme/your_theme/template/mail/order.tpl 

-

avvici -arvixe- - Posts: 4316
- Joined: Tue Apr 05, 2011 4:09 am
- Location: Charlotte, NC
Re: Order Number instead of Transaction Details
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
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
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
Thanks
FA
- Attachments
-
- 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
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
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.
-

avvici -arvixe- - Posts: 4316
- Joined: Tue Apr 05, 2011 4:09 am
- Location: Charlotte, NC
Re: Order Number instead of Transaction Details
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']; ?>" />
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
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests















