Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Add adtional output in shopping cart
- This topic has 14 replies, 5 voices, and was last updated 13 years, 11 months ago by amin007.
-
AuthorPosts
-
June 17, 2010 at 8:19 am #1382ianwyyMember
Hi admin,
I would like to display one more line “Service Charge:$xxx” below the “Subtotal:$xxx” at the shopping cart.
The Service Charge amount is 10% of the Subtotal amount. and the final out put as below (example)
Subtotal: $50.00
Services Charge: $5.00
Shipping: $10.00 (Base Shipping Cost)
Total: $65.00
Please guide how to achieve that. Thanks
Regards,
Ian
June 18, 2010 at 12:25 am #21832amin007ParticipantOpen the “eStore_cart.php” file and find the following line:
<tr><td colspan='2' style='font-weight: bold; text-align: right;'>".ESTORE_SUB_TOTAL.": </td><td style='text-align: left'>".print_digi_cart_payment_currency($total, $currency_symbol, $decimal)."</td><td></td></tr>
Once you find it please add the following line immediately below it:
<tr><td colspan='2' style='font-weight: bold; text-align: right;'>Service Charge: </td><td style='text-align: left'>".print_digi_cart_payment_currency($total*.1, $currency_symbol, $decimal)."</td><td></td></tr>
That should do it.
June 18, 2010 at 3:35 am #21833ianwyyMemberThanks for your guide and appreciate your prompt reply.
five star support!!!
Regards,
Ian
June 18, 2010 at 6:49 am #21834ianwyyMemberHi admin,
Insert the code above and it appear at the shopping cart ok. but the total amount is not included the 10% when receive notify email and there is no indication of the “Service Charge:” wording?
I use other email to order and not receive email after click confirm order as a customer, anything I have miss out?
Just to brief on my working cycle,I am using the manual submission, so my customer should receive a email with the details of the order he made after they click confirm order button and I will also receive a notify email with the same details. is that right? So I would like to have the “Service Charge:” appear at the email body and included in the Total amount. (The payment will be make to us via cash or credit card when we deliver the goods to their door step)– we are offering just local services.
The second thing need your guide is to have a order number included at the email (example. 0001, 0002, 0003) after a submission form successfully send, so that I can have that as reference/tracking code.
Thanks and Good day.
Regards,
Ian
June 19, 2010 at 2:01 am #21835amin007ParticipantDidn’t realize you wanted to include this service charge in the email too. Open the “eStore_manual_gateway.php” file and search for the following line:
$body .= "n".ESTORE_SUB_TOTAL.": ".round($_SESSION['eStore_cart_sub_total'],2);
Once you find it add the following line immediately below it:
$body .= "nService Charge: ".round($_SESSION['eStore_cart_sub_total']*.1,2);
Every order will automatically get a unique order/transaction ID. Check your “Manage Customers” menu and you will see it under the “Transaction ID” field.
June 19, 2010 at 8:41 am #21836ianwyyMemberHi Admin,
I can’t find the “eStore_manual_gateway.php” file from the plugin folder?
Please advise.
Can you please email me the updated version if mine is not.
Thank you
Ian
June 19, 2010 at 9:35 am #21837IvyMemberHi, I believe you just need an update. I will send you an email about updating the plugin.
July 25, 2010 at 4:23 am #21838ianwyyMemberHi Admin, I have almost complete my site. some pending issue need your guide.
Is that possible to achieve the below.
1) Customer use menu checkout after purchase.
2) Fill in the form and click confirm order button — (how to add back button to navigate previous page if buyer need to double check their purchase item. click on the back button is not working??)
3) A email sent to notify me.– (I will need to print out the email and fax as a purchase order to my supplier)
– a) Can I hide some info for the copy that I fax to supplier eg. customer hand phone, email…BUT I need to them for own record. Do I need to generate 2 forms
– b) I need to have a purchase number (running number)1001..1002.. included at the form. (so that it is unique for each fax copy)
I saw some request at the forum on using cform… how do include the shopping cart order details to 3 party form like cfrom, gravity from.. I just thinking it might be a way to achieve that what i try to do….
Thanks admin.
Regards,
Ian
July 26, 2010 at 1:35 am #21839amin007Participant“A email sent to notify me” – If you are using then this is happen automatically after every sale.
eStore uses one click checkout philosophy meaning the customer only have to click to checkout and land on the payment page. This page will explain more on the express checkout:
If you need to have a system whereby you would like your customers to enter various details before they can checkout then you will need to use a different shopping cart otherwise you will have to do a lot of tweaking and it may not be time efficient.
This may not be what you are after but this is an alternative. You can place a form created with cForm or gravity form on your “Thank You” page so the customer can fill out the necessary details after they have made the payment and have landed on the “Thank You” page.
July 29, 2010 at 12:16 pm #21840anotherbreedMemberAmin,
would it be technically possible to add the form (using cForm as you said) in a page just before the payment? And to add taxation or not based on how the customer fill that form (eg. if the Country selected is A instead of B, charge % tax)?
I mean, would it be a big architectural alteration?
July 30, 2010 at 3:48 am #21841amin007ParticipantIt will be a lot of coding. If you are a developer yourself then you shouldn’t have an issue but if you are not then I wouldn’t recommend trying to make this change yourself.
Why don’t you use the “Regional and International” Sales tax feature of PayPal?
July 30, 2010 at 7:19 am #21842anotherbreedMemberYeah, but if you had a chance to read the other topic (link https://support.tipsandtricks-hq.com/forums/topic/request-for-custom-taxation-and-invoice-features) I have a big little problem: according to my country law, I have to charge the tax not only by region/country but have to distinguish private customers and companies. PayPal confirmed me they can’t.
I should add the tax calculation before PayPal asking the user some more details. I just would this to be as quicker as possible (following eStore philosophy that I agree).
Any ideas would be appreciated, I would require a customization from you rather than pay an external developer that doesn’t know eStore.
July 31, 2010 at 2:28 am #21843amin007ParticipantI see… I forgot that you needed “private” and “companies” too. I don’t think eStore is going to be suitable for that purpose. I will send you an email.
October 12, 2010 at 9:23 pm #21844David KakonMemberHow can i add a thumbnail of the product in the checkout cart (im using fancy1)
October 13, 2010 at 3:35 am #21845amin007ParticipantThis will need some code tweaking. Please post this on a new thread and I will add my suggestion there. This way it will be a good tweak contained in it’s own thread (this will help others who are after this).
-
AuthorPosts
- You must be logged in to reply to this topic.