If I wanted this to open in a new page/tab when I run it, instead of using the already open page, is there anything I could edit to do so?
If I wanted this to open in a new page/tab when I run it, instead of using the already open page, is there anything I could edit to do so?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Yeahbuh. Ctrl click will do the trick.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
V156a - got this wonderful tool to edit the product in zc156a by making the following changes to replace the second occurrence of the constant FILENAME_CATEGORIES with the constant FILENAME_PRODUCT in admin\image_checker.php
from
toCode:echo '<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $parent_cPath . '&cID=' . (int)$value['id']) . '&action=edit_category" title="' . TEXT_EDIT_CATEGORY . '" target="_blank">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>'; } else { echo '<a href="' . zen_href_link(FILENAME_PRODUCT, /* BMH change */ 'cPath=' . zen_get_product_path((int)$value['id']) . '&product_type=1&pID=' . (int)$value['id']) . '&action=new_product" title="' . TEXT_EDIT_PRODUCT . '" target="_blank">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>';
environment Dev: Zen Cart 156a; Apache 2.4.33; PHP 7.3.1; MySQL 5.7.21; Windows 10Code:echo '<a href="' . zen_href_link(FILENAME_PRODUCT, 'cPath=' . $parent_cPath . '&cID=' . (int)$value['id']) . '&action=edit_category" title="' . TEXT_EDIT_CATEGORY . '" target="_blank">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>'; } else { echo '<a href="' . zen_href_link(FILENAME_PRODUCT, 'cPath=' . zen_get_product_path((int)$value['id']) . '&product_type=1&pID=' . (int)$value['id']) . '&action=new_product" title="' . TEXT_EDIT_PRODUCT . '" target="_blank">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>';
environment Test: Zen Cart 156a; Apache 2.4.29; PHP 7.2.4; MySQL 5.7.24; Linux 4.15.0
packages / add-ons:
ckeditor ; clone template 1.2.0; payment module fee;
Direct bank Deposit V1.5.revised; zencart155 securepayxml (modified); ozpost v4.2.7;
ceon_back_in_stock_notifications.9 (modified); export_shipping_information_V1.3.5;
edit_orders-4.3.5 (modified); master password 4; admin log in as customer;
image checker 2.0;
I tried this with v1.5.6a and when it was finished running it loaded a /image_checker.php page and it said Page Not Found
This page no longer exists.
Does that mean that all images are there or that the module is not working correctly?
I tried this (downloaded from Github) with a vanilla 1.56a and had no issues, but that is hardly a real test.
This may be related to the quantity of images you have.
Any debugs associated with your error?
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Hello Steve,
I revisted this and I don't know if anything has changed with the download but it worked fine and very quickly for the number of images i have. I had fixed a lot of problem images and don't know if this was a problem but it works great now. One thing that would be great is if it started with a page that allowed you to choose Categories or Products.... and the filters....
Thank you!
Shrimp-Gumbo
Another great addition might be to have a search for all "no_image_available" products.... and allow the problem images to be moved to the "no_image_available" image since they are not working. Thank you!
I ran on my production and it worked great! I do see now you have the one option on there too. Thank you!
I ended up finding an issue....
The "Edit" button is not working. When it is pushed it goes to a screen with just the upper menu and the zen cart logo
This is what is linked to:
/categories.php?cPath=12&product_type=1&pID=34739&action=new_product
but when i click the regular edit button in admin I go to:
/product.php?cPath=12&product_type=1&pID=34739&action=new_product
Thank you!
Bookmarks