{"id":1664,"date":"2023-03-25T22:12:52","date_gmt":"2023-03-25T14:12:52","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1664"},"modified":"2023-04-23T21:54:06","modified_gmt":"2023-04-23T13:54:06","slug":"zencart-installation-configuration-and-secondary-development-records","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/zencart-installation-configuration-and-secondary-development-records\/","title":{"rendered":"ZenCart\u5b89\u88c5\u914d\u7f6e\u53ca\u4e8c\u6b21\u5f00\u53d1\u8bb0\u5f55"},"content":{"rendered":"<p>\u5b98\u7f51\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/www.zen-cart.com\/index.php\">https:\/\/www.zen-cart.com\/index.php<\/a><\/p>\n<h3>\u6837\u4f8b\u6570\u636e<\/h3>\n<p>When you installed, there was a checkbox that asked if you wanted to install the demo products. You can install those products after-the-fact by using your admin&#8217;s <code>Tools<\/code>-&gt;<code>Install SQL Patches<\/code> and choosing the file from the Zen Cart distribution: <code>\/zc_install\/sql\/demo\/mysql_demo.sql<\/code><\/p>\n<p><!-- more --><\/p>\n<h3>\u9875\u9762\u4e0e\u6a21\u677f\u5339\u914d<\/h3>\n<p>\u9875\u9762\uff1aincludes\/modules\/pages\/test\/header_php.php<\/p>\n<pre><code class=\"language-php\">&lt;?php\nrequire(DIR_WS_MODULES . zen_get_module_directory(&#039;require_languages.php&#039;));\n$breadcrumb-&gt;add(NAVBAR_TITLE);\n?&gt;<\/code><\/pre>\n<p>\u6a21\u677f\uff1aincludes\/templates\/template_default\/templates\/tpl_test_default.php<\/p>\n<pre><code class=\"language-php\">&lt;?php\necho $_GET[&#039;name&#039;] . &#039;&lt;br&gt;&#039;;\necho $_GET[&#039;city&#039;];<\/code><\/pre>\n<p>\u8bbf\u95ee\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/zencart.appblog.cn\/index.php?main_page=test&amp;name=Joe&amp;city=HangZhou\">http:\/\/zencart.appblog.cn\/index.php?main_page=test&#038;name=Joe&#038;city=HangZhou<\/a><\/p>\n<p>\u5219\u5728\u5185\u5bb9\u533a\u8f93\u51fa\uff1a<\/p>\n<pre><code>Joe\nHangZhou<\/code><\/pre>\n<h3>\u652f\u4ed8\u8df3\u8f6c\u6d41\u7a0b<\/h3>\n<p>\uff081\uff09<a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/zencart.appblog.cn\/index.php?main_page=shopping_cart\">http:\/\/zencart.appblog.cn\/index.php?main_page=shopping_cart<\/a><br \/>\n\uff082\uff09<a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/zencart.appblog.cn\/index.php?main_page=checkout_shipping\">http:\/\/zencart.appblog.cn\/index.php?main_page=checkout_shipping<\/a><br \/>\n\uff083\uff09<a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/zencart.appblog.cn\/index.php?main_page=checkout_payment\">http:\/\/zencart.appblog.cn\/index.php?main_page=checkout_payment<\/a><br \/>\n\uff084\uff09<a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/zencart.appblog.cn\/index.php?main_page=checkout_confirmation\">http:\/\/zencart.appblog.cn\/index.php?main_page=checkout_confirmation<\/a><\/p>\n<h3>\u652f\u4ed8\u5f02\u6b65\u901a\u77e5\u53ca\u540c\u6b65\u91cd\u5b9a\u5411\u5730\u5740<\/h3>\n<pre><code class=\"language-php\">$notifyUrl = zen_href_link(&#039;ipn_main_handler.php&#039;, &#039;&#039;, &#039;SSL&#039;, false, false, true);\n$redirectUrl = zen_href_link(FILENAME_CHECKOUT_PROCESS, &#039;&#039;, &#039;SSL&#039;);<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5b98\u7f51\uff1ahttps:\/\/www.zen-cart.com\/index.php \u6837\u4f8b\u6570\u636e When you ins [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[416],"class_list":["post-1664","post","type-post","status-publish","format-standard","hentry","category-php","tag-zencart"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1664"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1664\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}