Quantcast
Channel: Zen Cart Support
Viewing all 21268 articles
Browse latest View live

Reviews

$
0
0
PHP: 7.3.8
Zen Cart: 1.5.6b

I am trying to find the query which will add reviews on other pages. The old 1.5.5 query does not work. I searched and searched and haven't been able to locate the correct query to pull. Any help is appreciated.

~Melanie

v156 How to upgrade zen cart that has a different admin folder name

$
0
0
How to upgrade zen cart that has a different admin folder name

During my upgrade to a new version, zencart assumes my admin is "zcadmin" therefore creates a seperate folder "zcadmin" thus ignoring my "cusom_admin" folder.
After that everything really gets messed up.

1. What is the correct procedure up upgrading for sites that has a different admin?
2. What is the correct procedure up upgrading for sites that has a sub zencart folder and a different admin?

Thanks.

Searching orders for product name

$
0
0
php7.2
zencart 1.56c
mysql 5.7x

Not sure if this is a bug or by design -

When using the product search box to search through orders, results are only returned if the searched word or phrase is at the beginning of the product title.

For example, let's say I've sold some Blue Widgets and some Green Widgets. If I use the orders product search to find orders where I've sold "Widgets" (of any kind), I get no results at all because Widgets is not at the beginning of the product title.

Searching for "Blue Widgets" or "Green Widgets" works fine since those words appear at the beginning of the product title but searching for a word that is contained in the product title but is not at the beginning does not return a result.

Ed

zencart down! after upgrading database to 5.7

$
0
0
[Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]

We upgraded our database in bluehost form 5.4 to 5.7 after the upgrade we noticed our template "YourStore Premium Zencart Theme" stopped working.
We we were using 1.5.6a
If we use the default zencart template it works fine but if we use the "YourStore" template it does not work.

When trying to log in to the admin page we get
1067 Invalid default value for 'cache_date'
in:
[CREATE TABLE `znc_usu_cache` ( `cache_id` VARCHAR(32) NOT NULL default '', `cache_language_id` TINYINT(1) NOT NULL default '0', `cache_name` VARCHAR(255) NOT NULL default '', `cache_data` MEDIUMBLOB NOT NULL, `cache_global` TINYINT(1) NOT NULL default '1', `cache_gzip` TINYINT(1) NOT NULL default '1', `cache_method` VARCHAR(20) NOT NULL default 'RETURN', `cache_date` DATETIME NOT NULL default '0000-00-00 00:00:00', `cache_expires` DATETIME NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`cache_id`,`cache_language_id`), KEY `cache_id` (`cache_id`), KEY `cache_language_id` (`cache_language_id`), KEY `cache_global` (`cache_global`) )]



* Ultimate SEO Urls
* Easy Populate
* Social Media Icons
* Fast and Easy Checkout
* CSS/JS Loader
* Easy Google Analytics
* Best Sellers
* Dynamic Filter
* News Box Manager
* Testimonials Manager
* Dynamic Price Updater

> gctuner.com
> PHP Version: 5.4.45 (Zend: 2.4.0)
> Database Engine: MySQL 5.7.27

v155 Upgrade from 1.3.8 to 1.5.5A - Database missing some fields zen_orders

$
0
0
Hi everyone,

I was updating customer order comment in admin and submitted a comment with a mistake. I went to database to look for zen_order to delete it so I can re-type with correct info and discovered that table doesn't exist! So I can't even find zen_order_status that was suggested here to do when needing to edit a comment

https://www.zen-cart.com/showthread....isible-to-hide

I tried to search on the forum for anyone that experienced this too but I don't see anything.

Please let me know how to move forward...

how to extend the product name text ?

$
0
0
how to extend the product name text ?
I want to make the product name text around 150 text.

v155 Do stuff on product id

$
0
0
I am trying to generate HTML for something in the head section on product information pages only.

So what would be the correct way to write something like this?

PHP Code:


if ($current_page_base == 'index' and $cPath == '1' and $products_id == '123') {
  echo 
'DO STUFF';


v156 Customer Tax Exempt

$
0
0
The merges for Zen Cart 1.5.5 and 1.5.6 both need work in this mod.
https://www.zen-cart.com/downloads.php?do=file&id=405

The 1.5.5 merge was done with a 1.5.5b (not 1.5.5f) version of includes/functions/functions_taxes.php.
The 1.5.6 merge was also done with this version of the file, rather than the newer 1.5.6 version.

If someone is looking for a challenge, I would suggest just doing 1.5.5 by adding in the changes introduced by 1.5.5f, and then doing 1.5.6 by using the new observers that have been added to various functions in that file.

How to import products file ? (avonlee_contempo template)

$
0
0
I had input several products into my website.
but I have over 1000 products.
Is there any way to import a bulk file (csv or other format file) into the website instead of input the product data one by one ?
Otherwise, I have to spend at least months to input my products into the website .

I had export few of my products to csv file from my website.
I opened the file but some of the information are missing (product description , brand name , quantity ).

popup_attributes_qty_prices page missing NAVBAR title

$
0
0
Hi all,
URL: still private unfortunately (regulation issue), if needed will create a separate empty site.
ZC 1.5.6c
PHP 7.3.8
MariaDB 10.3.17

Plugins:
multi-language country names v1.1.0
multi-language zone names v1.0.0
sitemap XML 3.9.6
Easy Populate v4.0
Image Handle 5 v5.1.5
Stripe v1.3.4
Direct Bank Deposit v1.5.3
Skinny About Us Page v1.0
CKEditor v3.7s
Structured Data Plugin (master from git)
Google ReCaptcha 2 v3.4
Flexible Footer Menu Multilingual v1.5
Gift Wrap Module v2.14

I've noticed an error for a missing NAVBAR title:
Quote:

[28-Aug-2019 08:17:35 Asia/Tokyo] Request URI: /shop/index.php?main_page=popup_attributes_qty_prices&products_id=159, IP address: *********
#1 require(/******/shop/includes/modules/pages/popup_attributes_qty_prices/header_php.php) called at [/********/shop/index.php:36]
--> PHP Warning: Use of undefined constant NAVBAR_TITLE_1 - assumed 'NAVBAR_TITLE_1' (this will throw an Error in a future version of PHP) in /*******/shop/includes/modules/pages/popup_attributes_qty_prices/header_php.php on line 12.
There is no popup_attributes_qty_prices.php language definition file that I can see anywhere. I presume that would solve the issue, but am not sure if the error actually originates there.

v154 PCI High Risk threat assistance requested

$
0
0
This seems a bit excessive by the scanner but here is what is causing a scan failure and the scanner's PoC justifying the failure:

Text for me to submit as a false positive or asinine scanner results would be beneficial.

Quote:

Path: /index.php?main_page=login&action=process

THREAT REFERENCE

Summary:
HTML form sends password in query string (/index.php?main_page=login&action=process)

Risk: High (3)
Port: 443/tcp
Protocol: tcp
Threat ID: web_security_urlpass

Details: There are potential vulnerabilities associated with
HTML form-based authentication:
Password in query string.
The form uses the GET method to submit the password to the web server, causing the password to appear in the query string portion
of the URL. This makes the password visible in the browser's address bar,
the browser's history, and the web server logs.

PoC Information From Target:
Service: https
Received:
<form name="login" action="https://chainweavers.com/index.php?main_page=login&action=process" method="post" id="loginForm"><input type="hidden" name="securityToken" value="e3ac2dc52024f108f22aba878ac57b9d" /><fieldset>
And:
<input type="password" name="password" size = "41" maxlength= "255" id="login-password" autocomplete="off" /><br class="clearBoth" />

v156 Attribute Price adds the the product price in the product listing - How to stop?

$
0
0
I would like the price of attributes NOT to add to the product price on the listing page. I can't seem to figure out which setting is doing this. But, I'm getting customer complaints as they don't understand that the price is simply the addition of the attribute. My customers are old and cranky so I can't leave it like this.

Click image for larger version. 

Name:	attribute.jpg 
Views:	6 
Size:	36.4 KB 
ID:	18633

I run a store wide sale of a % off so it makes the math look really wrong, as you can see by the photo.

On the listing page I just want the price to be the price, like it is for products w/o an attribute.
Click image for larger version. 

Name:	no attribute.jpg 
Views:	3 
Size:	27.5 KB 
ID:	18634

If this is a setting I can change please lead me that direction.
If this has NOTHING to do with zen-cart and something to do with my theme, then please release me from my prison. And I will contact the theme maker about how to turn this off.

website: www.vickauto.com
version: 1.5.6a (please don't bring up updating right now, thanks)

Thanks
matt
Attached Thumbnails
Click image for larger version. 

Name:	attribute.jpg 
Views:	N/A 
Size:	36.4 KB 
ID:	18633   Click image for larger version. 

Name:	no attribute.jpg 
Views:	N/A 
Size:	27.5 KB 
ID:	18634  

resource limit reached due to mysql processes not being closed properly

$
0
0
Hi,
We are getting an occasional "resource limit" error on our site

artofsoundmusic.com

it looks like we have too many mysql processes in the sleep state.

Has anyone else had this issue? Any "usual suspects"? We have changed no code on the site recently, so I am having a hard time figuring out what may have caused this to crop up all of a sudden.
Thanks!
Craig

v156 Displaying the product's total price on product info display page?

$
0
0
I'd like to display the product's total price (starting at price + sum of selected attribute prices) in the 'Add to Cart Box'. I looked at the attributes.php module and checked out the tpl_shopping_cart.php files but can't wrap my head around how to display this info. Does anyone know of a solution? We are getting complaints from customers about not knowing how much a product is before adding it to their cart. Our products can sometimes have upwards of 15 attributes and the customers don't want to manually add it up in their head or check out the cart page with the product added.

v154 Zencart Admin Version info IP question

$
0
0
Where does zencart obtain the IP address listed in the Version info?

zencart is reporting one IP address
cpanel, ssllabs, and others are reporting a different IP address

for the same server.


v156 Banners not showing after domain name move

$
0
0
Zen Version: v1.5.6c
Domain: http://addictedoffroad.com
Banner image: http://addictedoffroad.com/images/ba...o_shipping.png

Recently I moved a website from development to live and everything is working correctly but the banner images will not show and even the message one that I have setup will not display. I have checked the template code and even moved the code for the banner out of the if statement and it creates the div but does not show the image. I have checked admin-layout and the banners names are showing in there and also checked and made sure the image path can display the image. This also worked fine before the move.

The move was done by pointing the domain within my host to the folder and then changing the configuration files in the main includes and inside the admin folder.

v156 Option Value Manger error message

$
0
0
www.wmboothdraper.com, ZC V156

I am trying to link add values to the name manager and I am receiving this error message

WARNING: An Error occurred, please refresh the page and try again.If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Any idea what is causing this error message?

v151 Requesting Suggestions for Product Setups and Necessary Mods

$
0
0
I am seeking advice as to how to setup up products for a particularly complicated series of demands. I don't sell cars, but I think that makes a very good representative example that everyone can relate to. I am still using v1.5.1 of ZenCart; PHP 5.2.17 ; mySQL 5.6.41-84.1.

I would like the ability have inventory of discrete (serialized) items, but with attributes that can be dynamically searched. So imagine I have a bunch of cars.

You can have cars that are new vs. used
You can have different Makes, different Models
You can have a variety of price ranges (part of search)
You can have a general condition: (e.g. Poor / Fair / Average / Good / Superb)
You can have text unique to each individual car that gives details about that particular VIN number
I need a series of images for each individual car so the buyer can see the details about the exact item for sale.

So, I want people to be able to window shop and browse my virtual lot, stopping to read the sticker and getting the details stored in the attributes. Or I would like them to be able to dynamically filter, such as show me all vehicles that are in Average condition (or better) and less than $20,000. Anything matching that in inventory would then be viewable to peruse. Then if that lists has too many to look at and I only want to see Fords, I can add a filter by model to refine the search.

To date, I have been listing each individual "car" as it's own product, filed in multi-tiered category list. I have played with attributes, but I have not been able to make them dynamically searchable (with dropdowns). And ultimately I would like to be able to navigate to "Make and Model" via categories, but then see all fitting items in inventory from that screen, and narrow it down by the dynamic selection (or weed out things I don't want to see).

Thanks in advance for any suggestions.

v156 Reports - Reset best viewed products counts

$
0
0
Hi, I'm using zen cart v 156c and have been testing orders for a couple weeks and was wondering if there is a way to reset the Best Viewed Product counts under reports so that the counts are all reset now that we just went live.

v151 How do I specify the jump page for the cart page Checkout button

$
0
0
Because I opened the PayPal Express payment, the login.html page cannot directly fill in the registration information, but instead becomes PayPal, or the account login, or registration.
More than 100 people arrive at this page every day, but they don't want to click PayPal directly, and they don't find the Create Account button. Many customers arrive at this page and leave the site.

When the customer is not logged in, click the "Checkout button on the shopping cart page and jump to the create_account.html page instead of the login.html page.

If the customer has logged in, everything is in the default process.

I don't know on what page to modify the link to the "Checkout" button.
Viewing all 21268 articles
Browse latest View live