Home › Forums › WP Shop Styling › Products table › Shipping cost not added in the email content
This topic contains 4 replies, has 2 voices, and was last updated by Hannes 6 months, 1 week ago.
-
AuthorPosts
-
August 20, 2013 at 9:54 pm #607
RazvanHi Hannes,
I recently discovered your plugin and seems to be a solution for me to customize my emails sent to the customers (through wp-ecommerce).
However, I encounter a problem with the shipping costs. Even the shipping cost column is enabled in the products table (and a shipping cost exists and selected for the order) the shipping cost is displayed as 0 in the email sent to the customer.
Can you please fix this? Also the shipping cost should be applied per total order and not per each ordered item.
I would need a fix to display the proper shipping cost. If this will be fixed I would think to buy the plugin in order to customize also the transaction results page.
Thank you,
RazvanP.S. I use the shipping module from WP-ecommerce Admin together with the wpsc-simple-shipping plugin which enables free input for fixed rate shipping options.
August 22, 2013 at 5:44 am #614Hi Razvan,
I think you mixed up two different things:- in WP E-Commerce you can add shipping costs to individual products.
These costs show up in the products table. -
Additionally you can add shipping costs for the whole purchase based on weight, size, price or whatever.
These costs aren’t product related, so they wont show up in the products table.
Just use the placeholders outside the table instead and you’ll see the expected result.
best regards, Hannes
March 2, 2014 at 4:59 pm #14405
Lars LundeI have the same exact issue.
Email Content:
Shipping
{total_shipping}wp_wpsc_purchase_logs.base_shipping = 12
Mail in clients inbox says shipping: 0.
I do the same thing as Razvan, client completes order -i edit it to add correct Shipping cost and sends the invoice to client.
March 7, 2014 at 10:36 am #14416
Lars LundeSolved: The problem was that billingData is CACHED. Look for set_transient and get_transient in getBillingData method.
Since we edit the purchase we want the latest data, not the cached data.
March 7, 2014 at 11:22 am #14418Hi Lars,
This could be a general problem in the plugin architecture:
I have to cache the data because some calculations of WPSC’s checkout process are dropped after the checkout process, so the plugin isn’t suitable for modifying orders afterwards (yet).
best regards,
Hannes - in WP E-Commerce you can add shipping costs to individual products.
-
AuthorPosts