https://stackoverflow.com/questions/26429673/how-to-match-id-in-javascript-for-dynamically-added-field-on-html
Type: Posts; User: zamzom
https://stackoverflow.com/questions/26429673/how-to-match-id-in-javascript-for-dynamically-added-field-on-html
Yes, I agree, therefore in fact I have been also along the same path of thinking and I have given up detaching the observer, because there are other images need to be swapped, too. I have not posted...
[ZC v1.5.8][Bootstrap v3.5.0][SBA v4.0]
Unfortunately I can not share a link, coz it is yet running on a localhost.
The versions of modules I use are in the upper part of my message.
I have...
Thank you for this crutial info,
Additionally, at the current state of Chrome browser SameSite=none; also causes error.
You can not even log in to the site, it automatically logs you out.
In the...
Just a small note;
in includes\templates\bootstrap\templates\tpl_product_info_display.php between line 209 and 216 div causes html error, because there is already the same div in...
[ZC v1.5.8][Bootstrap v3.5.0][SBA v4.0]
Does attribute image swap function properly for Bootstrap template?
I have no problem for other built in templates, for example Responsive Classic or...
[ZC v1.5.8][Bootstrap v3.5.0]
I have a problem of image swapping on the product info page for Bootstrap template.
When I switch to other templates, e.g. Classic Contemporary Green or Responsive...
Sorry my fault! :blush:
non_captcha_observer is totally something else, i.e. not a a part of google_recaptcha.
It comes with a standard ZC distribution.
[ZC 1.5.8]
My google reCaptcha works but
Somewhere along the path of upgrading I have ended up with both
includes/clases/observers/auto.non_captcha_observer.php
and
...
Yes, it is a bug.
In classes/Customers.php around line 354:
protected function setDefaultAddressBookId(int $id)
{
global $db;
$sql = "UPDATE " . TABLE_CUSTOMERS . " SET...
They seem to pass the create account part manually.
They have tried 14000 CC's in one night and due to this activity the bank has suspended the payment system.
In order to open the system back they...
I am sorry, I have meant adding a captcha to the checkout_confirmation page. The last page before going to the payment provider.
Scott had already asked this but no-one replied.
I think it is crutial to add a reCaptcha to checkout_process page, as we are subject to many CC try attempts by bots.
Does anyone know how to do...
Just recognized an early discussion:
https://www.zen-cart.com/showthread.php?37229-Language-Currency-Links-in-Header&p=1363749#post1363749
Great work thanks.
Is is possible to make the currencies appear in a pull-down menu?
How to do this?
Is there a way to add currency selection and language selection on mobile devices in this template system?
[ZC 1.5.8][Bootstrap 3.5.2]
Back-to-top button is sometimes covering important buttons.
This is may be more of a style question but is there a way to push this button towards outside the main block...
In ot_insurance.php (version 3.2.4) around line 245:
$selected = ((isset($_SESSION['opt_insurance']) && $_SESSION['opt_insurance'] == '1') ? true : false);
$display_insurance = true;...
Checking from the documentation
https://docs.zen-cart.com/dev/code/158_language_files/
I have inserted the following in the beginning of header_php.php file after the require(DIR_WS_MODULES ......
I know. I am sharing all these so that they would guide you or the others who makes changes.
Btw, thanks for your efforts to share such a plugin. I think it was a big shortage for ZC. Nowadays,...
#6 require(/httpd.www/includes/modules/pages/account_confirmation/header_php.php) called at [/httpd.www/index.php:35]
--> PHP Fatal error: 1292:Incorrect datetime value: '1-01200-' for column...
Also includes/modules/pages/account_confirmation/header_php.php makes uses of variables such as EMAIL_GREET_MS etc. which are available to the standard create_account page. However in ZC 1.5.8 these...
Has anyone actually been using this addon? There are some really strategical errors! Check this out:
In /includes/modules/pages/account_confirmation/header_php.php around line 97
$sql...
In customers_spam.php around line 860
<?php
if ($error == true) {
if ($entry_country_error == true) {
echo...
It is the ZX AntiSpam plugin.
It is the page where the confirmation code is entered.
It worked fine when I have removed that line where IsMobile check is made, because I have recognized there is no...
There is also this kind of error in [ZC 1.5.8] (using Bootstrap template):
[13-Mar-2023 14:55:07 UTC] Request URI: /index.php?main_page=account_confirmation, IP address:
--> PHP Fatal error:...
[ZC 1.5.8][PHP 8.0][MySQL 10.3]
May 'customers_referral' default be set to NULL
--> PHP Fatal error: 1364:Field 'customers_referral' doesn't have a default value :: INSERT INTO...
So far so good.
Thank you mc12345678 for your quick attention and neat corrections.
I will keep reporting other issues when I come accross.
Few more things I recently encountered:
Now, the...
[ZC 1.5.8]
Also, again on Products with Attributes Stock page in the admin, when you try to add a Description to a product variant there is this error:
PHP Fatal error: Uncaught Error: Call...
Also, there is an error with the $w assignment, the tag for product description table should be pd instead of d, again around line 282:
$w = " AND ( p.products_id = '$s'
...
Secondly, search does not function. It seems earlier search parameter was input through a Get statement (in admin/products_with_attributes_stock.php) however in the latest it was converted to a Post...
Secondly, search does not function. It seems earlier search parameter was input through a Get statement (in admin/products_with_attributes_stock.php) however in the latest it was converted to a Post...
Trying to run SBA 1.5.4 for [ZC 1.5.8]
Few remarks for some errors in admin/products_with_attributes_stock page.
First it gives the following error
--> PHP Fatal error: 1064:You have an error...
Trying to run SBA 1.5.4 for [ZC 1.5.8]
Few remarks for some errors in admin/products_with_attributes_stock page.
First it gives the following error
--> PHP Fatal error: 1064:You have an error...
I could not find that commit.
Can you possibly share the link?
Thank you for the quick reply. I was just not sure about where to put the control. Is it OK to block the following segment as it is done with the if block (marked with----> // Check if called in...
Thank you for the quick response. I was just not sure where to put the control. I am wondering if this is the right place to block out while in the admin section (added if control around ---> //...
OK, but for Zen-cart version 1.5.8, when you replace the function name with __construct() the following errors are given when the Order Total Modules page is visited in the Admin. Evidently it is...
In my case, the reason seems to be some missing language files beginning with lang.xxx (which are now in v 1.5.8.)
Have you found a solution to this? I am getting the same error. :frusty:
Also, skrill_orders.php on admin pages instantiates a new order class on line 162
$order = new order($skrillGwayInfo->zc_oid);
and obviously with a NULL order_id input. This causes inside...
I have installed Skrill module (for ver. 1.5.4) in Zen-cart version 1.5.6.
It seems to work ok, but throws some PHP warnings.
These are basically because some language variables such as...
Superlinks now can be downloaded from:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1488
Prerequisite: Supertracker addon needs to be installed and running prior...
Even if there is I wouldn't recommend it:
http://www.zen-cart.com/forum/showthread.php?p=814670#post814670
in paypal.php
$options = array_merge($optionsCore, $optionsCust, $optionsPhone, $optionsShip, $optionsTrans, $optionsAggregate);
is basically holding all the parameters that will be...
Well, i am not a computer engineer/programmer but i am a reverse engineer!
:smartalec:
Btw, I am intending to update the Wiki pages...
Actually i lied, there is one another change at posnet_oos.core.php at breakpoint 70:
/**
* Breakpoint 70.
*
* require('includes/init_includes/init_sessions.php');
*
*/
...
Well, i will continue my monolog and hope somebody is listening:
I have made the following test:
I have email logged zen_session_id() and $_SESSION['customer_id'] to see where the session...
Also consider:
http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/
It worked for me great, even though it has slightly reduced image quality :clap:
YEAH, TELL ME ABOUT IT! :wacko:
I am not the person to explain "How to write a correct payment module", but i can tell you what i have done.
(Well, follow at your own risk coz my payment module...