zencart问题-zen-cart模版修改常用基础操作ZenCart problem
-zen-cart template modification commonly used basicoperations
Method of removing the total number of products beside theproduct catalog
In the admin background, enter the "Configuration" - > "MyStore" > "Show Category Counts" option, set it to "turn off".The small arrow - > directory back there will be a boringIn the default configuration Zen-cart, directory back - >
(12356) statistics show that style. How can I get rid of it?In the management background, enter"Conf igurat ion"->"LayoutSettings" - > "Categories Separator between the Category Nameand Count" option, according to your needs can be set.How to modify the content of"Powered by Zen Cart" in Zen-cart?This can be modified in the background My Store->footer textbody, you can also go to the FTP in /include/template/, yourtemplate /common/tpl_footer.php to modify.
There are a lot of annoying Categories Tags below the header.How do you get rid of it?
Background management - > Configurat ion > Layout Settings >Categories-Tabs Menu ON/OFF
Set this property to close!
How to modify the page content and style of Contact Us?If it is content, modify the page content in the backgroundmanagement Tools - > Define Pages Editor.
Method of removing the total number of products beside theproduct catalog
In the admin background, enter the "Configuration" - > "MyStore" > "Show Category Counts" option, set it to "turn off".The small arrow - > directory back there will be a boringIn the default configuration Zen-cart, directory back - >
(12356) statistics show that style. How can I get rid of it?In the management background, enter"Conf igurat ion"->"LayoutSettings" - > "Categories Separator between the Category Nameand Count" option, according to your needs can be set.How to modify the content of"Powered by Zen Cart" in Zen-cart?This can be modified in the background My Store->footer textbody, you can also go to the FTP in /include/template/, yourtemplate /common/tpl_footer.php to modify.
There are a lot of annoying Categories Tags below the header.How do you get rid of it?
Background management - > Configurat ion > Layout Settings >Categories-Tabs Menu ON/OFF
Set this property to close!
How to modify the page content and style of Contact Us?If it is content, modify the page content in the backgroundmanagement Tools - > Define Pages Editor.
If it is a style, find the corresponding ID or class name inthe CSS file to modify it.
If it is to change the display content, modify your templatein the templates/tpl_contact_us_default.php directory, if youoverride the page content, please find the file in the commonfolder to modify.
After opening the product root directory, it will display theicon of the subdirectory, how to modify this item?
In the template directory of thecommon/tpl_columnar_display.php file, modify the displaycontent.
The browser looked up with "Zen Cart!", The Art of. . . " How doyou change it?
Open the file includes/languages/english/meta_tags.php, andfind the next section in it
Title / / page define ('TITLE' , 'Zen Cart! ' ) ;
Tagline//Site define ('SITE_TAGLINE' , 'The Art of E-commerce") ;
Just replace these words. Of course, if you are a Chinese page,you should go to the appropriate folder to find.
I want to leave a gap between the three columns of the left,middle and right. What shall I do?
Zen-cart defaults to the left column, the middle product column,and the right column,
I want to narrow the two spaces between the three. What do Ido?
As long as you press this method, you can adjust the size ofthe gap between the three.
In the background Conf iguration > Layout Setting, carefullyadjust
Column Width - Left Boxes
Column Width - Right Boxesand
Column Width -Left
Column Width - Right
The value of the Boxes above is the size of the box that setsthe size of the Boxes for us to display, and the value of thebackground is displayed without such values.
As long as you set the value below the size of the above, thereis a gap out.
Just installed Zen-cart, how to modify the home page
Congratulations! You have successfully installed. . .
If you want to change Congratulations You have successfullyinstalled your! Zen Cart E-Commerce with your; Solution owntext open the includes/languages/ENGLISH/index.php file andfind the following code:
Section deals with / / This the page "home" at the top levelwith no options/products selected
/*Replace this text with the headline you would like for yourshop. For example: "Welcome to My SHOP!".
Def ine ('HEADING_TITLE' , 'Congratulations! You havesuccessfully installed your Cart&trade Zen; E-CommerceSolution. ' ) ;
} elseif ($category_depth = = "nested") {
This section deals with displaying a / / subcategory
/*Replace this line with the headline you would like for yourshop. example: For "Welcome to My SHOP!"
Def ine ('HEADING_TITLE' , 'Congratulations! You havesuccessfully installed your Cart&trade Zen; E-CommerceSolution. ' ) ;
}
Replace the text starting"Congratulations"with your own text.Make sure that the single quote marks are out. not leftHow to modify the display style of the left and right borders?Modify the file common/tpl_box_default_left.php orcommon/tpl_box_default_left.php can be.
I got a blank page. How do I debug it?
The easiest way to add the following code to your index.php:"PHP?
D ef i ne ('STRI CT_ERROR_REPORT ING' , true) ;
>?
In this way, the error message that you access to the page willbe exported to the page. Of course, remember to turn this off,if you drop the wrong fix, so as not to see to the user.
I'm going to modify the contents of Categories individually.What do I do?
Not just Categories, all of the sidebox content can be modifiedin the /includes/templates/YourTemplate/sideboxes folder.Tpl_categories file, that is to modify the display contentinside Categories, of course, you modify the inside of the CSStag, modify the Categories style.
You can adjust the contents of the left and right columns byusing the two files, common/tpl_box_default_left.php andcommon/tpl_box_default_right.php.
Generally speaking, you can fixwhat you need if you just modifythe corresponding file in sideboxes.
Hostio是一家成立于2006年的国外主机商,提供基于KVM架构的VPS主机,AMD EPYC CPU,NVMe硬盘,1-10Gbps带宽,最低月付5欧元起。商家采用自己的网络AS208258,宿主机采用2 x AMD Epyc 7452 32C/64T 2.3Ghz CPU,16*32GB内存,4个Samsung PM983 NVMe SSD,提供IPv4+IPv6。下面列出几款主机配置信息。...
昨天有分享到"2021年Vultr新用户福利注册账户赠送50美元"文章,居然还有网友曾经没有注册过他家的账户,薅过他们家的羊毛。通过一阵折腾居然能注册到账户,但是对于如何开通云服务器稍微有点不对劲,对于新人来说确实有点疑惑。因为Vultr采用的是预付费充值方式,会在每月的一号扣费,当然我们账户需要存留余额或者我们采用自动扣费支付模式。把笔记中以前的文章推送给网友查看,他居然告诉我界面不同,看的不对...
ZJI又上新了!商家是原Wordpress圈知名主机商:维翔主机,成立于2011年,2018年9月启用新域名ZJI,提供中国香港、台湾、日本、美国独立服务器(自营/数据中心直营)租用及VDS、虚拟主机空间、域名注册等业务。本次商家新上韩国BGP+CN2线路服务器,国内三网访问速度优秀,适用8折优惠码,优惠后韩国服务器最低每月440元起。韩国一型CPU:Intel 2×E5-2620 十二核二十四线...