purpose: show all product list on main page
solution: in define_main_page.php add
require(DIR_WS_MODULES . zen_get_module_directory('pages/products_all/header_php.php'));
...
Type: Posts; User: su35
purpose: show all product list on main page
solution: in define_main_page.php add
require(DIR_WS_MODULES . zen_get_module_directory('pages/products_all/header_php.php'));
...
Thanks nc12345678. I find a few products haven't such problem. It looks like that there is some error in my data prepare code.
Thanks reply
The domain name is part of the content in the databasse (table:meta_tags_products_description, culumn:metatags_title). The same file, if I import on local host, the content of...
How to exclude the domain name from the metatags_title
Is it possible that just include the first page of categories in the sitemap?
You are right! It works now.:clap: Thank you very much.
Thanks, mc12345678. I still couldn't find the solution. I had checked the entries in the database, there is not any HTML tag.
The name is including a-z letters, number, and blank space only, there is no any other character. Let's suppose the product is "abc shirt small red". On products_info page, the main_template_vars.php...
Thanks. Those codes aren't in a loop. The execute results is as following:
queryFactoryResult Object ( [EOF] => 1 [cursor] => 0 [fields] => [is_cached] => [result] => Array ( ) [result_random] =>...
Sorry, I may make confuse. Those codes are localized in ZenCart, just visit the database created by WordPress.
$review_wp_sql = "SELECT ID, post_title, post_content, post_name, post_date, guid
FROM " . TABLE_WP_POSTS. " p," . TABLE_WP_TERM_RELATIONSHIPS . " tr," . TABLE_WP_TERMS ." t
WHERE t.name =...
My codeing error.:D:D
Is anybody has used this plugin with jquery moblie? I got 404 error with jquery mobile. But I don't know whether this plugin conflicts with jquery mobile, or there are codeing error when I modified?...
Thanks, guys. Following mc12345678's instruction, the problem was solved.
In backend, some input fields are <input ...>, like this
16672
some input fields are <textaera...>, like this
16673
How to define the format in the sql sentence?
I had tried the first, it works! Thanks
Do you mean that it depend on php and phpmyadmin version and the user can't change it?
I need compare the table structure of database between the local host and living site. However, the outputs of phpmyadmin are in different format.
the localhost format:
CREATE TABLE...
Thanks, everybody. Now, I enable the SSL by configure files defined
modify the two configure files couldn't enable the whole site SSL
I found the solution. put the added code on top
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL',...
original code
<a href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo TOP_MENU_ALL_PRODUCTS;?></a>
log content
Request sent to href_link('products_all', '', 'NONSSL', true,...
includes\configure.php
define('ENABLE_SSL', 'true');
admin\includes\configure.php
define('ENABLE_SSL_CATALOG', 'true');
includes\functions\html_output.php add on line in function...
Thanks, mc12345678. I get it.
Thanks, cralwhat. It is work! only thing is changing length to endpoint. But I still wonder what is wrong in the regular expression
Thanks, lat9. I get it.
Now, another question. I had set enable whole site SSL. if I turn the ultimate urls on, all on page links were set as http://. Is there any way to fix it?
linkhref="https://www.abc.com/x-t4-y818z-p-96.html";
purpose: get the product id(the number 96).
what I did:
var reg = new RegExp("(-p-)(\d+)(\.html)");
var r = linkhref.match(reg);
I thought...
Thanks! I'm just worried that other plugin may add the same files.
Hi, lat9. I find three files named plugin.php in new file folder:
1_new_files\admin\includes\languages\english\modules\plugin\plugin.php
1_new_files\admin\includes\extra_configures\plugin.php...
Thanks. I will leave the email part to deal on living site
Thanks, lat9. I will try it.
Thanks, carlwhat. I have the same setting, but it doesn't work. I think it maybe an SSL problem. I installed a self-signature certification file in my local host.
How to merge the admin\includes\class\plugin.php with that is from another plugin? I am installing "ultimate urls" which has the same file with different codes. Since it isn't original zen cart file,...
How to merge the admin\includes\class\plugin.php with that is from another plugin? I have installed "edit orders" which has the same file with different codes. Since it isn't original zen cart file,...
It looks like that it's not the mstp2go is denied by Gmail, it's mstp2go deny the zencart or my account.
carlwhat, how do you configure the mstp2go?
I had tried the port 465, and it doesn't work
The mstp2go was denied by gamil and yahoo (Relay denied for unauthenticated sender )
Gmail requirement. https://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems#Google_Mail_.2F_Gmail
Sorry, I forgot one thing. The data processing file is a page indepentent file in root folder. I want to know if there is way to introduce the definces into this file. Now, I'm creat a new page to...
I had tried it, PHP doesn't work as the description mentioned. (PHP is the default, and uses built-in PHP wrappers for processing.
Servers running on Windows and MacOS should change this setting to...
local test host (apache/windows 10)
ERROR: Failed sending email to: "xxx" with subject: "xxx" SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
E-Mail Transport...
I don't mean I need to redefine the constant. The constant was defined in "english/index.php" and I don't know how to introduce it into a page independent processing php file. I had tried to require...
I am trying to use an independent file to handle a products filter (by ajax). Instead of "There are no products to list in this category", the "TEXT_NO_PRODUCTS" was shown when there is no product...
Thanks. It works!
There are 6 mysql sentences as:
$result = mysql_query($dbc);
$row = mysql_fetch_array ($result, MYSQL_NUM);
$new_index = mysql_insert_id();
$this_comments =...
Thanks. I will try it. I want to load a table sort js to make it easy to find the configuration item.
In the frontend, the javascript with jscript_ will auto-load. How to do that in the backend?
I am test the code on local. For simplification, there is just one module be actived.
1. The purpose is to give the shipping estimation for this product show on the current page for everybody including unregistered visitors. It hasn't relation with the shopping cart.
2. Only the...
For adding a shipping estimate on product_info page, I create a new file as modules\shipping_estimator_Pinfo.php which modified from shipping_estimator.php
if (!defined('IS_ADMIN_FLAG')) {
...
the code as:
require(DIR_WS_CLASSES . 'shipping.php');
$shipping_modules = new shipping;
$quotes = $shipping_modules->quote();
If I put the code in a file that localizes in modules fold,...
Do you mean if the files which localize in the root can be call without 403? I'm not a programmer, it's difficult for me to understand the code at a short time.