If it is only a small amount of online shopping (below 200 yuan), you don't need to go to the bank to open online banking. Just log on to the website of Agricultural Bank of China, click to open the electronic payment card, and then follow the prompts to get an electronic card number. The maximum daily payment limit does not exceed 200 yuan, and the number of use periods is set by itself, and no handling fee is charged. The website is in www.abchina.com.
If 200 yuan is not enough, you need to handle formal personal online banking business. Bring your ID card and bank card, sign an application form and agreement at the bank, and the bank staff will help you open it. You will be given a u-key when you open it. After you come back, you can download the certificate online or on CD-ROM (computer) to use online banking. But around 90 yuan.