I've created a PHP based shopping website using a Freeware script called Ashop. I want to add a chat box to it to provide customer support but I've almost no knowledge of PHP. I've installed a chat script from Zopin but it functional on the main page only i.e. written in HTML. This chat box doesn't appear on the other pages. My shop is in PHP coding but the homepage is in HTML. So i'm unable to add the chat box to rest of the pages of my shop. Please help me to install this or other chat script on my rest of the website. I don't know PHP script. I simply want that the customer support chat box should appear on each and every page of my website so that i can access and track my every customer online present anywhere. This is the homepage of my website www.xcelerator.in and this is the address of the shop- www.xcelerator.in/Softcart You wont find the chat box on the shop. Please help me. I really need it. My website is lacking customer support panel. Thanks in advance.
Try to find the footer file of your php script. I found this code on your main page's source <!--Start of Zopim Live Chat Script--><script type="text/javascript">window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set._.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');$.src='//cdn.zopim.com/?8KsZijjUVstjgqtQGnGXdsAOJTDJXSuK';z.t=+new Date;$.type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');</script><!--End of Zopim Live Chat Script--> HTML: Just paste it in the footer.php file before </body> tag and it will start showing on all pages. Hope it works, if not, send me a pm, I'll try to help if I get time.
I cannot find any file call footer.php in my website's main directory. please help me to access the same. feel free to ask for the FTP details if you need. Please help me. I need to provide the customer support soon.
i just saw the trial version of the script... I guess you should try editing the catalog.html file located in your templates folder! and add the code before </body> <!--Start of Zopim Live Chat Script--><script type="text/javascript"> window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s= d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set. _.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8'); $.src='//cdn.zopim.com/?8KsZijjUVstjgqtQGnGXdsAOJTDJXSuK';z.t=+new Date;$. type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script'); </script> <!--End of Zopim Live Chat Script--> Code (markup):
Thank you..Thanks a lot bro. Your suggestion worked. Now i can provide the customer support. I owe you. If you don't mind, i need another help. As you can see my website has a different pricing for India. So multiple payment system scripting is unknown to me. So i want to redirect the Indian customers to the Indian payment gateway on the basis of Indian I.P. Can you help me regarding Indian I.P. based redirection system?