Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
the attributes (in my case personalisations) do not show up in the email sent to customer or in the recover_cart_sales.php page which displays abandoned carts from the admin
am i misunderstanding what this is supposed to do or do i have a problem somewhere?
all other functions are fine, emails are sent etc. its just the attributes list that doesnt show up anywhere
Hi
Great mod
Just wondering if there is an easy way to change the customer greeting to first name only?
(I saw that the question was asked many pages ago, but I didn't see an answer...apologies if i missed it)
Many thanks!
Open up the following file:
/admin/recover_cart_sales.php
Find the section that looks like this (about line 246):
Remove the section that references the last name and you're all set.PHP Code:if (RCS_EMAIL_FRIENDLY == 'true'){
$email .= EMAIL_TEXT_SALUTATION . $basket->fields['fname'] . ' ' . $basket->fields['lname'] . ",";
} else {
$email .= STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n";
}
When your finished it should look like this:
PHP Code:if (RCS_EMAIL_FRIENDLY == 'true'){
$email .= EMAIL_TEXT_SALUTATION . $basket->fields['fname'] .",";
} else {
$email .= STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n";
}
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Eric,
Thank you so much!
Works perfectly.
You are a champion!
Glad I could help. :)
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Hello people!
This seems like a really nice mod but I'm having some troubles installing the SQL script.
I'm using a database prefix for zen cart (zen_) and I've tried to alter the script to work with that, but I simply get too many errors and I don't dare to play with this too much as I'm afraid to destroy tings :S.
Can someone please advice? An example on where to insert the databse prefix would be really helpful!
Many thanks in advance. Regards Peter
i never got an answer im afraid :S
maybe someone can help?
I manage to figure out what the problem was.
admin/recover_cart_sales.php
line 471:
WHERE cba.products_id ='" . (int)$basket->fields['products_id'] . "'
They declared '$basket->fields['products_id']' as an integer but its
alphanumeric.
By removing the (int) part the attributes will show.
Solution:
line 471:
WHERE cba.products_id ='" . $basket->fields['products_id'] . "'