Thanks DrByte.
I've managed to add in a temporary fix till I complete my 1.5.7 upgrade.
Type: Posts; User: yaseent
Thanks DrByte.
I've managed to add in a temporary fix till I complete my 1.5.7 upgrade.
Hi DrByte,
thanks for the update.
In the process of upgrading to 1.5.7.
In the git posted I see the following:
This same change should work on Zen Cart v1.5.5 and 1.5.6.
Do you think...
Hi All,
for my credit card payments I'm using a third-party redirect payment gateway.
I've been noticing sometimes that the customers card gets charged, but when they are redirected, their...
Hi All :)
I remember reading on one of the release announcements that Zen Cart has an input field for the number of the person being delivered to.
I'm not sure if I misread this or something.
...
This is so awesome! Lat9 you're awesome.
If anyone else comes across this issue do the following:
Open
admin/includes/functions/general.php
around line 1982 you'll see the following:
for ($i=2001;$i<2019;$i++){
Is it possible that a third-party Chrome extension is crawling your bookmarks - possibly adding them to some sort of indexing system and publishing them online - after which Google crawls the...
I didn't document the code changes.
Here are three files I believe control all the functions.
admin/categories.php
admin/includes/modules/category_product_listing.php
...
You would have to initiae the logoff procedure. I'm not too sure, but I believe there's a notifier hook to initiate the logoff procedure with the Automatic Login. If I'm not mistaken, you could...
YES!
Thanks..
I originally tried a session variable, but my problem was I was not assigning inside the function cart() function in classes/order.php.
I was assigning it in a higher up...
Hey All,
I'm trying to pass a custom variable to the following function that appears in my Payment Gateway module.
The custom variable is created like this inside classes/order.php like this:
...
I think what Schoolboy said was not specifically directed at you. Just giving tips on giving customers as many ways to contact you as possible. With the Contact Us form, there's no effort required on...
Hi,
the contact us page generates more leads than anyone gives credit to. It's a lazy feel-good feature that many mainstream online stores don't actually use, but I find that it brings in a lot of...
:laugh: Of course it did....metaphysically speaking.
I haven't really posted much about Quickbooks Online. I've been studying their API for several months along with a few other accounting...
I haven't been completely honest about my intentions though.
You see, I use QuickBooks Online for my accounting.
The actual reason I needed to use purchase orders from the front-end was to...
:laugh:
Now that you mention it...I do need some help with my cod piece...
It's got a stack overflow error :ohmy:
:lookaroun .... That's all a bit too higher grade for me...
It's funny you should mention that.
I've added some functionality to my Admin Categories section to do exactly that:
16885
Hey man! This is an excellent suggestion to add consistency! Brilliant, I'll throw that in. At least should it be somehow utilized further down the line then at least the calculations remain intact....
Hi,
thanks. Well yes lol, there's two reasons:
1. The more I know, the better, so that I don't mess something up.
2. The more specific reason:
I've cloned a generic payment module...
Hi mc12345678,
Thanks for the reply.
Yep I understand what it's doing, I just don't see why it's doing it.
As you've pointed out, it doesn't seem this array variable assignment gets called...
Hi,
in classes/order.php there is the following line of code:
$this->products[$i]['stock_reduce'] = $this->products[$i]['qty'];
Can anyone advise me as to what this actually does? I...
Yep,
as I mentioned in my report, it's not so much a bug, but a usability issue.
The concern is customers. Who...well...what can I say...customers :) Always always design things to be idiot...
Hi,
I found it more practical to use the following:
<div class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' ....
@lat9 Awesome. I've since shortened my code, but yours is still much better hehe.
@mc12345678 That sounds like a much worse problem than the one I'm talking about. The one I'm talking about only...
Hi,
this is not a bug so much as a usability issue.
When you're checking out, and you select a different shipping address for example, and then proceed to the Checkout Payment page:
1. Click...
Hi,
if you use the Shipping Estimator, and you use it inline (directly on the Shopping Cart page and not as a popup) - you'll find the following little bug:
1. Open a Zen-Cart store and create...
So I guess I've figured out what it's for.
It's whether to include the products contained within sub-level categories, as opposed to just focusing on top level categories that have products.
My...
Hi,
the option in Advanced Search, "Include Subcategories"...
What is this for?
I'm assuming that it shows you subcategories that relate to the search term you've used.
For example, if...
The part to avoid php errors is completely nullifying the remember me and you end up being logged out completely, don't know what I'm doing wrong there. The rest works just fine though...
So did...
Hi lat9!
Yes, exactly. I'm not sure why I thought my little one line of code would actually make this work.
Turns out my testing was completely botched by the fact that I was testing isset on...
Hi lat9,
I've become interested in getting this plugin to remember if I was logged in using Encrypted Master Password, and act accordingly...
Basically what I've done is changed this:
...
Hi SarahL,
here is the link to the mod:
https://www.zen-cart.com/downloads.php?do=file&id=1529
It adds product images to more than just order confirmations, but I only used the code that does...
You welcome.
My suggestion is not to use this template at all.
It is a recipe for disaster. Regardless of this little issue, the fact that this template is a half-baked mess, will cause more...
Sorry about that, check the additional edits I've provided. Seems to work now with those edits.
Okay..
do this:
go into YOUR-ADMIN/includes/template_configuration/template_configuration.php
find this:
echo zen_draw_form('updatetemplate', FILENAME_TEMPLATE_SELECT,...
Sorry,
I didn't do enough testing. Let me dig around and see if I can figure it out.
Potayto Potaato...
Yes that's the one.
You can also prevent sold out items from appearing in New Products listing, All Products listing and a few other places by doing a similar thing with the...
adb34,
see here:
https://www.zen-cart.com/showthread.php?220620-Theme-configuration-not-working
Temporary workaround:
go into YOUR_ADMIN/template_select.php
Look for:
<div style="display: none;" class="configuration_content">
change to:
<div class="configuration_content">
Try this suggestion from lat9 on this thread:
https://www.zen-cart.com/showthread.php?214253-Debug-file-in-logs-PHP-Warning-Creating-default-object-from-empty-value
Check Page 2.
I've tested this out on 1.5.5 and it works fine, as long as the product doesn't have attributes to select:
example.com/index.php?action=buy_now&products_id=2
You don't need a form. Just a link...
Hi mc12345678,
ah I see now...thanks so much!
Hi mespe,
open this file:
includes/modules/pages/advanced_search_result/header.php
search for this line:
$where_str = " WHERE (p.products_status = 1
change it to:
Hi there,
I'm busy with some slight modifications...
Can anyone tell me what the following lines of code are used for?
in catalog/includes/classes/order.php
Line 917:
// update...
Awesome DrByte thanks :)
I think so.
In includes/classes/order.php (1.5.4) on line 969 we have:
$email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
$this->customer['firstname'] . ' ' ....
Thanks.
No reason really.
I'm busy coding in a function on the admin's version of order.php which would allow the admin to resend an order to either the customer or admin, and came across this....
Tnx for reply :P
I've got that...
but the variable is never called in any of the html files...:
I can't find $EMAIL_ORDER_DATE anywhere.
Hi,
this seems to be an unused variable in includes/classes/order.php
Cany anyone confirm?
$html_msg['EMAIL_ORDER_DATE'] = date(ORDER_EMAIL_DATE_FORMAT);
Thanks.
Hi mc12345678,
thanks for the reply.
So I did a little more poking around, and decided to forward to my mail client an email from my Gmail account. This was an order confirmation from a...