Custom text not on the confirmation email

  • Posts: 16
  • Thank you received: 0
  • Hikashop Business
11 years 8 months ago #121362

- url of the page with the problem -- : store.basement-supercomputing.com
-- HikaShop version -- : You have the latest stable version of HikaShop Business: 2.2.1
-- Joomla version -- : 2.5
-- PHP version -- : php-5.3.3-23.el6_4.x86_64
-- Browser(s) name and version -- : firefox 10.0.2

I am trying to add a custom display to my order page and the confirmation email. If I go to Display/Custom Views and create a new
field in table "order" , with "Custom Text", the text shows up on the order page, but does not show up on the emailed order confirmation.

It works if I add text using the "Text Area" field type and set it to read only, but there is huge text input box on the order page.
This method works, but is feels clumsy and looks a bit funny on the order page. (you can see it by going to
store.basement-supercomputing.com/index....for-products-listing
and putting something in the cart and hitting proceed to check out.

What I am trying to do is create a "pro-forma" invoice payment method that allows a customer to print out
a pro-forma invoice to help create a purchase order. I want to add other instructions to the confirmation email.

Please Log in or Create an account to join the conversation.

  • Posts: 83824
  • Thank you received: 13571
  • MODERATOR
11 years 8 months ago #121384

Hi,

I'm not sure what you want to add where ? Do you want to add an input field on the product page ? On the checkout ? Somewhere else ?
Do you want to add text on the product page? on the checkout ? Somewhere else ?

If you want to just add text which appear on the order creation email only when a specify payment method is selected, you can use the bank transfer plugin for example. The information that you can enter in it will display automatically in the email.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
11 years 7 months ago #126112

Where do I add "custom text" to the "order confirmation" and "order created" customer email?

Last edit: 11 years 7 months ago by BWhikashop. Reason: spelling error

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #126151

Hi,

You'll be able to do that by editing the code of the Order status notification emails which will be sent whenever your order status changed, you'll be able do that through "Hikashop->System->Emails" and by addind some PHP code like :

<?php
echo JText::_('YOUR_TRANSLATION_WORD');
?>

Note that you'll have to translate the word "YOUR_TRANSLATION_WORD" through your translation file .

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
11 years 7 months ago #126267

Thank you that helped.

It also triggered another question. What if I'm selling different product types...for example t-shirts and event tickets. Can I somehow designate one message to send for "real" products and another for "digital" products. Or in my case, one to pick-up your t-shirt at the school office and another to pick-up your tickets at the school theater.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #126306

Hi,

Yes you can do that, it will require some custom code.
You will have to check the product, and depending on the product display one or another message.
It require php knowledges.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
11 years 7 months ago #126464

Is that something the Hikashop peeps would do? And, to you have a rough idea of cost?

Please Log in or Create an account to join the conversation.

  • Posts: 26234
  • Thank you received: 4036
  • MODERATOR
11 years 7 months ago #126472

Hi,

It is something we are working on for the next big HikaShop release: warehouses.
Warehouses will allow you to separate products in different shipping groups and you can create shipping rules for specific warehouses.

The system for the shipping is already implemented but the code to manage the warehouse and edit the product warehouse is not there.
By accessing the database, you can already make some "things" and the shipping methods already have a warehouse option for the creation of the rules.
So, with some few code I guess you can have something like you want.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
11 years 7 months ago #126477

Just to be certain here. I'm looking to send different creation and/or confirmation emails for different products. I'm looking into this for a school parent booster club. They raise money from three different sources.
1) t-shirts, etc. (physical product),
2) membership (no product, no download, just a thank you) and
3) an auction (ticket registration).
They are asking if it is possible to send a different confirmation email with each type of order. If that is something that is in the works, I think their position would be to wait. (I was confused by your use of the word shipping, but I can see how the email responses are related.

Last edit: 11 years 7 months ago by Jerome.

Please Log in or Create an account to join the conversation.

  • Posts: 26234
  • Thank you received: 4036
  • MODERATOR
11 years 7 months ago #126569

Hi,

The main problem is that, several products could be in the same time in an order. Warehouse system could be useful to separate the products in order to have one shipping method per group.
Like I said, you can already use it but you won't have a cool graphic interface.

The main problem will stay : there could have several products of different type in one single order.
For this single order one email will be sent. So.. Which email would you want to send ?

You can customize the email, it is possible in HikaShop 2.2.1 like in HikaShop 2.2.2 (with the new templating system) but there are many question to solve before thinking about a development and I don't think we can provide you this kind of support in the forum. It is something more like a custom development.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
11 years 7 months ago #126587

Understood. You make an excellent point re: the variety of potential products on one invoice. I'm fine for now.

Thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum