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.
CloudCone发布了2021年的闪售活动,提供了几款年付VPS套餐,基于KVM架构,采用Intel® Xeon® Silver 4214 or Xeon® E5s CPU及SSD硬盘组RAID10,最低每年14.02美元起,支持PayPal或者支付宝付款。这是一家成立于2017年的国外VPS主机商,提供VPS和独立服务器租用,数据中心为美国洛杉矶MC机房。下面列出几款年付套餐配置信息。CPU:...
Digital-VM商家的暑期活动促销,这个商家提供有多个数据中心独立服务器、VPS主机产品。最低配置月付80美元,支持带宽、流量和IP的自定义配置。Digital-VM,是2019年新成立的商家,主要从事日本东京、新加坡、美国洛杉矶、荷兰阿姆斯特丹、西班牙马德里、挪威奥斯陆、丹麦哥本哈根数据中心的KVM架构VPS产品销售,分为大硬盘型(1Gbps带宽端口、分配较大的硬盘)和大带宽型(10Gbps...
greencloudvps怎么样?greencloudvps是一家国外主机商,VPS数据中心多,之前已经介绍过多次了。现在有几款10Gbps带宽的特价KVM VPS,Ryzen 3950x处理器,NVMe硬盘,性价比高。支持Paypal、支付宝、微信付款。GreenCloudVPS:新加坡/美国/荷兰vps,1核@Ryzen 3950x/1GB内存/30GB NVMe空间/1TB流量/10Gbps...