Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Access to details on shipping costs
Tagged: shipping costs display
- This topic has 14 replies, 4 voices, and was last updated 3 years, 3 months ago by admin.
-
AuthorPosts
-
June 5, 2021 at 2:59 pm #83101Carl FrenchSpectator
In the receipt add-on free plugin (which is very useful) it shows the shipping cost and a total.
Is there any way to access this data for use elsewhere? I can’t see a short code or PHP function listed anywhere that does it but maybe I missed something?
In the database table for customer or order I only see the product cost so presumably the shipping cost is calculated when needed?
Do you have any ideas or suggestions how to do this?June 5, 2021 at 7:00 pm #83102wzpModeratorWhat kind of shipping data you wanting?
June 7, 2021 at 9:09 am #83103Carl FrenchSpectatorThanks.
I’m not after anything complicated. Basically, I’d like the the same data as on a receipt but if I can access the total for a given purchase as shown in the cart when the payment was made for a given purchase I’d be very happy.June 7, 2021 at 3:19 pm #83105wzpModeratorBasically, I’d like the the same data as on a receipt
Have you looked at the WP eStore Receipt Creator AddOn? Not only is it a free addon, but you can probably find what you are looking for in its code.
June 9, 2021 at 7:10 am #83118Carl FrenchSpectatorOK, I’ll do that.
Thank You.June 15, 2021 at 2:22 pm #83165Carl FrenchSpectatorI’ve taken a good look at the Receipt Creator add on and can see where the shipping information is sometimes held but I’ve come across something in the output that seems odd as follows.
In some cases the Receipt Creator output (in the pdf) includes the shipping amount in the total for an item (on a single line) and in other cases it shows the shipping separately along with an overall total.
This even happens with different orders of the same product being shipped in the same way!
The receipt really ought to show the shipping separately in all cases in my view. The receipt total appears to be correct in both cases. I’d like to force it to always show the shipping separately. How can this be done?
Maybe it is supposed to show the shipping separately and there is some kind of glitch?I can provide examples if that helps – subject to confidentiality. I can give you access to an admin account if need be.
June 20, 2021 at 1:26 pm #83203Carl FrenchSpectatorCan I have a response please.
June 20, 2021 at 3:24 pm #83204wzpModeratorI’ve taken a good look at the Receipt Creator add on and can see where the shipping information is sometimes held but I’ve come across something in the output that seems odd as follows.
Are you saying that; the information you are wanting is present, but for reasons not understood, the PDF output differs, even if the inputs to the PDF library of the addon are the same?
I can provide examples if that helps – subject to confidentiality. I can give you access to an admin account if need be.
Please.
August 11, 2021 at 10:13 am #83503carlfrenchSpectatorThere is a delay in my response because I didn’t receive the notification of an update. I’m sure you sent it but who knows why it didn’t arrive.
I have gone through some examples and pasted screen shots into a file.
PDF of screen shotsBasically, I can see the shipping data being handled differently from one case to another but can’t determine what determines how or why.
I want to achieve a result where the shipping is always listed separately in a receipt and not bundled into the price of an item.
- This reply was modified 3 years, 3 months ago by carlfrench. Reason: Forgot to tick on Notify me
August 11, 2021 at 7:38 pm #83507wzpModeratorThere is a delay in my response because I didn’t receive the notification of an update. I’m sure you sent it but who knows why it didn’t arrive.
Did you check the “Notify me of follow-up replies via email” option at the bottom of this page, just before the SUBMIT button?
August 11, 2021 at 9:55 pm #83508adminKeymasterIt is likely that you have a different product where the shipping is configured differently so it behaves differently. Can you give an example of when the shipping is not there so I can see how you have configured that product.
Which shipping setup you are going for (from the following available options)?
Also, are you using ONE payment gateway on your site (or multiple different ones)?
August 12, 2021 at 4:17 am #83509Carl FrenchSpectatorThank you for your guidance so far.
I had read “how the cost calculator works” – several times!
It seems clear so I believe I’ve not missed something.
I’ll attempt a detailed description which I hope helps.I am using “1. the Simple Shipping Option” for all products.
In WP eStore Settings the Base Shipping Cost is set to 3.00.
Where that is enough we put 0.001 into Item Shipping Cost for the individual product.
When it needs to be more we put the additional charge into the Item Shipping cost.Referring back to my previous pdf example but with more detail.
I have two product each set up with Item Shipping Cost as 0.75
The overall shipping cost is calculated correctly (£3.75) and displayed separately when I add either to the cart.
If I add both products to the cart it also calculates and displays the shipping correctly in the cart (£4.50)
So far so good.BUT for one book the receipt includes the shipping cost for the book in the book’s price and for the other book the receipt shows the shipping as a separate amount.
Perhaps there is some other setting that is affecting this?
And regarding your other question yes we have the payment gateway bundle installed in addition to the basic cart (which uses standard PayPal) and the bundle is set up to take Stripe payments. Both seem to be working OK.
BUT the problem seems to happen when both payments use the same gateway (PayPal).I trust that’s clear and sufficiently detailed.
August 16, 2021 at 8:44 am #83531Carl FrenchSpectatorDo you need any more information from me?
I am keen to find out the answer.August 16, 2021 at 6:56 pm #83534wzpModeratorBUT the problem seems to happen when both payments use the same gateway (PayPal).
What you are saying is; that when both payments are made using the PayPal Standard gateway, that is built into eStore, the problem occurs?
BUT for one book the receipt includes the shipping cost for the book in the book’s price and for the other book the receipt shows the shipping as a separate amount.
And the above issue only occurs when using the PayPal Standard gateway built into eStore, but not the Stripe gateway; which you are using through the Payment Gateway Bundle?
- This reply was modified 3 years, 3 months ago by wzp.
August 16, 2021 at 10:11 pm #83536adminKeymasterIt will be good for me to take a look inside and check your settings. I will send you an email for it.
-
AuthorPosts
- You must be logged in to reply to this topic.