- Posts: 26
- Thank you received: 1
Possible to use/include session variable within vendor email field??
9 years 7 months ago - 9 years 7 months ago #262952
by lyran
Last edit: 9 years 7 months ago by lyran.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #262953
by Jerome
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.
Replied by Jerome on topic Possible to use/include session variable within vendor email field??
Hi,
I am sorry but I don't understand what you want to do exactly.
The vendor data is stored directly in the database and a lot of actions are made without session or else.
Regards,
I am sorry but I don't understand what you want to do exactly.
The vendor data is stored directly in the database and a lot of actions are made without session or else.
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.
9 years 7 months ago - 9 years 7 months ago #263029
by lyran
Replied by lyran on topic Possible to use/include session variable within vendor email field??
Hi Jerome,
What we want to do is instead of having one static email address, we need to make the vendor email address dynamic, So it will change based on the visitor and session value. Does this make any sense???
For example: in RSform! under the Admin Emails, we have quick add option which allows us to add {Store Number:value} placeholder,
this placeholder value will change based on visitor and session value.
Please see the attachment
Thank you
What we want to do is instead of having one static email address, we need to make the vendor email address dynamic, So it will change based on the visitor and session value. Does this make any sense???
For example: in RSform! under the Admin Emails, we have quick add option which allows us to add {Store Number:value} placeholder,
this placeholder value will change based on visitor and session value.
Please see the attachment
Thank you
Last edit: 9 years 7 months ago by lyran.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263033
by Jerome
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.
Replied by Jerome on topic Possible to use/include session variable within vendor email field??
Hi,
I'm afraid that not possible :
If you want vendors with different emails, you need to create several vendors.
But because you can send an email to the vendor with any kind of context, what you want to do is not possible.
Thanks to custom development you should be able to do a lot of things ; probably what you want to achieve but the way that you want to achieve that (using the session) is not the right one and will not work at all.
Regards,
I'm afraid that not possible :
The vendor data is stored directly in the database and a lot of actions are made without session or else.
If you want vendors with different emails, you need to create several vendors.
But because you can send an email to the vendor with any kind of context, what you want to do is not possible.
Thanks to custom development you should be able to do a lot of things ; probably what you want to achieve but the way that you want to achieve that (using the session) is not the right one and will not work at all.
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.
9 years 7 months ago - 9 years 7 months ago #263163
by lyran
Replied by lyran on topic Possible to use/include session variable within vendor email field??
Thank you Jerome,
What kind of custom development do we need to do inorder to achieve something similare?
Plugin development ? or modifay exisitng files, views?
Regards
Jerome wrote: Thanks to custom development you should be able to do a lot of things ;
What kind of custom development do we need to do inorder to achieve something similare?
Plugin development ? or modifay exisitng files, views?
Regards
Last edit: 9 years 7 months ago by lyran.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263203
by lyran
Replied by lyran on topic Possible to use/include session variable within vendor email field??
Jerome,
onBeforeMailSend() how can I list all the vendors which will receive notification after the order is created?
Regards
onBeforeMailSend() how can I list all the vendors which will receive notification after the order is created?
Regards
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263212
by Jerome
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.
Replied by Jerome on topic Possible to use/include session variable within vendor email field??
Hello,
I'll try to resume what I told you in my previous messages :
What you're asking is not logical and I already told you that several times.
I have currently no idea of how it could be possible because it is totally illogical and not possible.
So I don't know how you would achieve such thing.
For sure you can use the trigger "onBeforeMailSend" to change dynamically the vendor email address.
But you might not have the user session (because an email can be send from a lot of different kind of events) so for my point of view ; it is not possible.
www.hikashop.com/support/documentation/6...r-documentation.html
I'm afraid that it would require a pretty important development.
Regards,
I'll try to resume what I told you in my previous messages :
What you're asking is not logical and I already told you that several times.
I have currently no idea of how it could be possible because it is totally illogical and not possible.
So I don't know how you would achieve such thing.
For sure you can use the trigger "onBeforeMailSend" to change dynamically the vendor email address.
But you might not have the user session (because an email can be send from a lot of different kind of events) so for my point of view ; it is not possible.
www.hikashop.com/support/documentation/6...r-documentation.html
I'm afraid that it would require a pretty important 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.
Moderators: Obsidev
Time to create page: 0.173 seconds