On the website to increase QQ customer service development, Iwebshop framework Example

Source: Internet
Author: User

Make Shop street, show customer service QQ number in Shop Street!

Development ideas: Database design needs to set up a data table to store QQ number, which contains the store ID, table structure ID since the growth


Background development ideas: need to query the current merchant shop customer service QQ from the relative database table read, (can be in JSON format)

If it is a JSON format, you need to convert the extracted string to a PHP variable! This way you can assign a value!


Front-end development ideas: mainly to get QQ dialogue page through the href to get!



The following code is based on Iwebshop development: All programs are executed on the front page

Locate the QQ number in the corresponding database and convert it to PHP variable {query:name=online_service where=seller_id eq $item [id] item= $onlineServiceData}{set:$ ServerInfo = JSON::d ecode ($onlineServiceData [' QQ '])}{/query}{if:!empty ($serverInfo)}{foreach:items= $serverInfo item= $serverInfoData}<p> Sell & #x3000;& #x3000, Home://Note the href path gives {$serverInfoData [' QQ ']} variable <a class= " Stores_qq "href=" http://wpa.qq.com/msgrd?v=3&uin={$serverInfoData [' QQ ']}&site=qq&menu=yes ' target= ' _ Blank "> </a> & #x3000;& #x3000; {Echo:join (', Area::name ($item [' Province '), $item [' City '], $item [' area '])}</p>{/foreach}{/if}


This article from "Kangjunfei" blog, declined reprint!

On the website to increase QQ customer service development, Iwebshop framework Example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.