I installed the plugin in my website. It seems quite good and reduce much sql query.
without Query Cache: 2000+ queries;
with Query Cache v1.6: about 500 queries;
But now a problem is happening....
Type: Posts; User: Eric Chen
I installed the plugin in my website. It seems quite good and reduce much sql query.
without Query Cache: 2000+ queries;
with Query Cache v1.6: about 500 queries;
But now a problem is happening....
Thank you again for your kind advise. I will follow it, although now the new code fulfilled the function of products viewed report on products listing page. Anyway, appreciated for all of yours.
Wonderful!!! It is working now by inserting the new code programmed in another way. Appreciated...
I got the same problem after I used "TRUNCATE TABLE `orders`" on my database.
Afterwards, I recovered these tables with "Order_..." in my database, and then it works right.
Thank you for your kind advise. It might be... Here I just would like to achieve the function, so as to make sure the code doesn't have any bug to work in Zencart.
I just tested in my store by the...
Thank you for your kind advise. It might be... Here I just would like to achieve the function, so as to make sure the code doesn't have a bug to work in Zencart.
I just tested in my store by the...
I just tested again, and ensure that the code is running. Please refer to following screen shot (the first flow under a category):
15198
It is an example. In fact, all items in my store show...
Nice day! I'm sured that the old file on the server was replaced by the customized file, but it still got same viewed report on product listing page.
I also took the code and tested on initial...
OK, thank you! I will wait for some updated solution. Have a nice weekend!
Sure! Please refer to following code of products_listing.php in my store:
<?php
/**
* product_listing module
*
* @package modules
* @copyright Copyright 2003-2006 Zen Cart Development...
Sorry for the misunderstanding. ~~ I don't mean only the four products with ID 187,162,10,158, but also whole products on product listing of each category, showing same viewed report. It is just an...
Never mind! So up to now, is there any possibility to look up correct products viewed report by suitable code on products listing page?
I see some of numbers on the field of products_viewed:
.... (`products_viewed`) VALUES
(71, 0),
(64, 1),
(27, 2),
(19, 3),
(3, 4),
(3, 5),
(1, 6),
The following are the details of the two tables in my store:
Products table (screen shot):
15193
Products_description table (screen shot):
15194
According to the instructions, I checked "products" table via phpMyAdmin,
and strangely don't see the field products_viewed but exceptionally found it on the table "products_description".
...
According to the instructions, I checked "products" table via phpMyAdmin,
and strangely don't see the field products_viewed but exceptionally found it on the table "products_description".
Should...
:cool: Great!!! It outputs correct "products_id". I just did a test by the above code, and got correct "products_id" but still same view report. So now the problem focuses on why the ID number is...
I just copied and replaced above code (model case) exactly in my products_listing.php, but regret that it doesn't make any different result as revising it on the price case. Each product still shows...
Yes, I'd like to show view count report after model number.
Sure. I replaced and revised above code with the line of Product Model. Following are the full code of my products_listing.php file:
<?php
/**
* product_listing module
*
* @package...
I just replaced the above code, and indeed viewed counter is showed with each product on the product list. But each product has same viewed counts which seem from
first product (products_id with 1)...
Hello,
I'm totally new on PHP and I want to show the products_viewed counter under the buy now button in prodcut listing page,
and I use following code by Mr. Ajeh in this thread:...
Does anyone know how to change the sort order of the shopping cart dsiplay so that the products in the shopping cart will order by product ID number. By default, the new products added will go onto...
Hi,
In our store, we offer quantity discounts on all products dependent on the quantity purchased (set in Categories Quantities Discounts ).
The price is discounted correctly in the Quantity...
Thank you for your swift reply. I'm checking and reading...
Hi, Ajeh,
Thanh you. I set it by Categories Quantities Discount plugin, but not set on the Products Price Manager. Does it effect on the cart calculation? Thanks.
I have the same issue:
In our store, we offer quantity discounts on all products dependent on the quantity purchased (set in Categories Quantities Discounts ).
The price is discounted correctly...
Hi,
In our store, we offer quantity discounts on all products dependent on the quantity purchased (set in Categories Quantities Discounts ).
The price is discounted correctly in the Quantity...
Hello, Linda,
Many thanks for these customized code.
I have applied the codes in my website, but found a problem. Please refer to the following picture:
13362
The qty discounts table indeed...
The Zen Cart version is 1.3.8a. Thank you.
Hello, Everyone,
I installed the plugin in my website. It seems quite good and reduce many sql query.
without Query Cache: 2000+ queries
with Query Cache v1.6: about 500 queries
But...
Please could anyone help me? Thank you in advance.
Hi All,
I have a site that has 20+ service links to list under the iPhone Accessories & HTC tab on the categories box using a hover, but it uses only 1 column and goes way too long. Does anyone...
Hi All,
I have a site that has 20+ service links to list under the iPhone Accessories & HTC tab on the categories box using a hover, but it uses only 1 column and goes way too long. Does anyone...
The following is the full code of the php file named tpl_product_flash_page.php:
<?php
/**
* Page Template
*
I've been trying for a while, and I can't seem to fix the following problems:
My product pages show the rest products of the same category in a box under nav menu as following picture:...
The following is the full code of the php file named tpl_product_flash_page.php:
<?php
/**
* Page Template
*
Please could anyone help me? Thank you in advance. Greeting.
I've been trying for a while, and I can't seem to fix the following problems:
My product pages show the rest products of the same category in a box under nav menu as following picture:
10458...