Payment details page ("Finish" Page) after purchase
Permalink Browser Info Environment
Hello!
Well I just completed the first test purchase and I could not be happier right now after my struggles with PayPal.
I do have one question though.
On the bottom of the "Finish" Page, it shows:
ID Name Price Quantity Options
Now...after "Name" I was able to insert the "Product Type" (i.e., Original, 5"x7" Print, etc) in the shopping cart, and I would also like it to show on this Finish page. Do you know how I can make this happen, or do I need to post this in the eCommerce section?
Thank you so much!
-concreteart
Well I just completed the first test purchase and I could not be happier right now after my struggles with PayPal.
I do have one question though.
On the bottom of the "Finish" Page, it shows:
ID Name Price Quantity Options
Now...after "Name" I was able to insert the "Product Type" (i.e., Original, 5"x7" Print, etc) in the shopping cart, and I would also like it to show on this Finish page. Do you know how I can make this happen, or do I need to post this in the eCommerce section?
Thank you so much!
-concreteart
Type: | Discussion |
---|---|
Status: | New |
Hi Ryan,
That is exactly what I want to do so thank you! I will give it a shot!
Sorry for posting this in the wrong place...
That is exactly what I want to do so thank you! I will give it a shot!
Sorry for posting this in the wrong place...
No worries at all - if you had posted it on the main forums I probably would have had a crack at answering it anyway!
If you have the chance, it would be great if you could post a very quick review against the add-on, just to give it a bit more cred. :-)
If you have the chance, it would be great if you could post a very quick review against the add-on, just to give it a bit more cred. :-)
glad to here you are happy with the purchase, thanks for the buy!
Your question is really just to do with eCommerce itself, but I'm happy to give it some thought.
The details on the finish page are pulled in from an element file in the package.
It's:
/packages/core_commerce/elements/orders/detail.php
This is currently set up to show:
- The product name
- All _configurable_ attributes for the product selected. So this is going to show things where the customer has picked something (like a checkbox or a select dropdown that changes the price), but not simple product attributes. I'm assuming here that you've just used a text custom attribute to store the 'product type' info.
So to make any changes to this, you'd need to first override this element file, so copy it to /elements/orders/detail.php
Then in that file you could add in somewhere between lines 107 and 125 (the loop that outputs the products):
(change handleofattribute to whatever you have called your custom attribute)
You could for example change line 110 to:
to simply add in that attribute under the product name, I'm imagining that's what you are wanting to do.
Is that what you are after or have I misunderstood what you are wanting to do?
Cheers
-Ryan