New Zenner
- Join Date:
- Nov 2008
- Posts:
- 2
- Plugin Contributions:
- 0
Back In Stock Notifications
By the way..
I installed the mysql database now, and it didnt make a difference.
Ruth :)
Views: 71,747
New Zenner
By the way..
I installed the mysql database now, and it didnt make a difference.
Ruth :)
Passed
Hi,
Ruth1970:
Looking at the names of the files that I have installed (uploaded), it doesnt seem to be any that should warrant my entire site to not show?
If some of the global files hadn't uploaded properly then errors in them could stop your shop showing.
You'll have to try re-uploading all the files.
After that if you are still having trouble you should enable the display of errors on your site so you can see what is failing.
I'm afraid I can't help you with that, please search the forum and you'll find out how to fix problems with "blank pages".
Good luck!
All the best..
Conor
Ceon
Passed
Hi,
As promised previously, a new version of the module has been created with a few small updates and a bugfix. It isn't an essential release but it is still advisable to upgrade.
From the Release History:
[UPDATED] Subscription form now displays for stock levels of zero or less (not just products which have a stock level of exactly zero!).
[BUGFIX] Subscription management link is now always displayed in the the account section, when the module is enabled, regardless of whether or not “Product Notifications” are enabled/disabled for the site.
[UPDATED] Installation documentation updated with information on adding the subscription pages to the index of pages which should not be indexed by search engines (web robots).
[UPDATED] Other minor documentation updates.
You can download the new version from our website:
It will also be available from the downloads area in a few days.
All the best...
Conor
Ceon
Totally Zenned
Hi Conor,
Thanks for this great mod, like your other ones it is very well written!!
I came across this little formatting error when & quot ; (I can't do it in the forum without spaces or it will be converted to ") or & amp ; are used in the product title. It displays like this:
Simply enter your details below and we will send you an e-mail when “Tycoon Hammered Cowbell, 3 1/4" Silver”
I have to have the html character code because the " and & will get stripped from the page title bar in the browser plus Google Base uses XML files and " and & are not valid XML.
How would I go about changing this so that the text will convert the html character code into " and &?
Thanks!!
Matt
Passed
Hi Matt,
lankeeyankee:
I have to have the html character code because the " and & will get stripped from the page title bar in the browser
The double quote gets stripped from the title bar here, but the ampersand doesn't, it is correctly converted to ```
&
> **lankeeyankee:**
>
> plus Google Base uses XML files and " and & are not valid XML.
I'm afraid that's a problem with the Google Base code then.. it should convert these characters correctly.
> **lankeeyankee:**
>
> How would I go about changing this so that the text will convert the html character code into " and &?
You can't. What you should do is use the quote character and ampersand character in the product's title change the output code for the title tag and Google Base to properly convert/quote the characters.
I can't comment on any Google functionality as I don't know about it but I found the line that gets rid of the quote in the title in includes/modules/meta_tags:
```php
define('META_TAG_TITLE', str_replace('"','',$meta_products_name . $meta_products_price . PRIMARY_SECTION . TITLE . TERTIARY_SECTION . NAVBAR_TITLE));
Changing str_replace('"','' to ```
str_replace('"','"'
By the way, to quote HTML entities, just use the "Code" button on this forum.
That should all be enough to get things done the **right **way! :clap:
All the best...
Conor
[Ceon](http://dev.ceon.net)
Totally Zenned
Hi Conor,
Thanks for the advice!
I'm now trying to move the notify me button all of the way to the left instead all the way to the right but it appears that the div tag that I wrapped the button in is getting stripped by class.CeonXHTMLHiTemplate.php. What would I need to do to get the button to the left?
Thanks!
Matt
Passed
Hi Matt,
The template class strips the contents of any ceon:variable tags so don't place anything into those.
The template class strips the contents of any ceon:if tags if the content is not to be used (the variable is not set).
Also, your code must be inside one of the "template parts" or it won't be used.
If the problem's not cause by one of the above, I'm afraid I don't know what you are doing wrong!
All the best...
Conor
Ceon
New Zenner
:clap:I love it it works like a charm :clap::lamo: one thing i wasn't able to do is the run the test it show that =Send Output
There are no notifications to be sent at this time.
but i did a deferent test i subscribe on one item and it when good then i have the items back in stock and then send the Actually send notification e-mail for the subscribers and it works really nice.
But the only thing im not getting is the notification when a customer subscribe for the item that is out of stok, basicly i have to check manualy.:lamo:
thanks:flex:
Zen Follower
typo
language file: back_in_stock_notifications_subscribe.php
Line: 31
"If, for any reason, you would like to unsubscribe from the Notification List for “%s” you can do so at any time my logging in to your Account and changing your Back In Stock Subscription Notification preferences."
"my" should be "by"
Zen Follower
Is this supposed to take the user to the shopping cart once they submit?
Zen Follower
pricediscrimination:
Is this supposed to take the user to the shopping cart once they submit?
Nevermind, something was screwed up on my tpl_product_info_display.php so it wasn't working right.
Now for styling... I can't get the "Name" form to be as wide as the email forms. I went into to the provided html and changed the size/length to match the email forms but it still didnt work.
Is there an easy way to style this? I don't want it to look the same as my other "form" "legend" styling.
Passed
Hi,
Thanks, I'll get that typo fixed.
pricediscrimination:
Is this supposed to take the user to the shopping cart once they submit?
No, of course not. Does yours?
If it does then you've messed up integrating the code into your tpl_product_info_display.php file.. the subscription form cannot be within the set of form tags which is used to add the product to the cart.
All the best...
Conor
Ceon
Passed
Hi,
I've just uploaded a new version to our site and the downloads area. From the Revision History:
[BUGFIX] SQL script updated to work with MySQL 5.
[BUGFIX] Typo fixed in back_in_stock_notifications_subscribe.php.
http://dev.ceon.net/web/zen-cart/back_in_stock_notifications/downloads
All the best...
Conor
Ceon
Zen Follower
any tips on styling?
Passed
Hi,
pricediscrimination:
any tips on styling?
I'm guessing you're talking about the form textfields?
You can set them to the same size by giving each of the textfields a class or an ID and setting up the appropriate CSS. E.g:
<input type="text" size="25" maxlength="64" name="name" value="{name}" class="MyClassToSetLengthOfTextfield" />
<input type="text" size="35" maxlength="96" name="email" value="{email}" class="MyClassToSetLengthOfTextfield" />
(adding .MyClassToSetLengthOfTextfield { length: 10em } or some similar CSS to your stylesheet).
Or you can make the length of each field the same by changing the "size" attributes as desired.
If you're asking about the form labels, they all share the same class - inputLabel - so they should be the same length if the CSS for it is set to a particular length.
Because all of the template code is standard HTML with Ceon's template tags embedded, it's easy to update this. If you are having trouble please consult a designer, it shouldn't take more than a few minutes for someone with good HTML/CSS skills to sort this out! :)
Glad you like the module!
All the best...
Conor
Ceon
Totally Zenned
Hi Conor,
I was thinking about adding this to the product listing pages. Would there need to be a complete re-write or are there just a few lines here and there to alter to make it work? The reason why I would like to add it to the product listing page is that many people don't go further than that page when looking at products, and it would be very helpful to put the BISN on this page, too.
Thanks!
Matt
Passed
Hi Matt,
lankeeyankee:
I was thinking about adding this to the product listing pages. Would there need to be a complete re-write or are there just a few lines here and there to alter to make it work? The reason why I would like to add it to the product listing page is that many people don't go further than that page when looking at products, and it would be very helpful to put the BISN on this page, too.
That's an interesting idea.. how do you imagine the BISN link should be displayed? As a text link to the Back In Stock Notification subscription page?
All the best...
Conor
Ceon
Totally Zenned
conor:
Hi Matt,
That's an interesting idea.. how do you imagine the BISN link should be displayed? As a text link to the Back In Stock Notification subscription page?
All the best...
Conor
Ceon
Hi Conor,
I imagine the link being just like on the product info page, a text link under the out of stock image. And I think that it would be easiest if it was an anchor link like the product info page, so the form is at the bottom of the page, or even hidden in a div tag that would expand when the link was clicked and you're dropped down to the bottom of the page to fill in the form.
Thanks!
Matt
New Zenner
I have the installed and all seems to work well, get the email's but when i send the email from the test acc , that i use , i get all of this text at the top of the web site.
you can check it out at https://www.mikesrchobbies.com
go to canopies and the 1st one is out of stock.
i have it set up on my test server also and works fine . just replace the www with beta ,
any help would be great ,
thanks mike
New Zenner
Hi there,
I'm just wondering how to go about changing the font & font size of the text that is displayed on the page that appears after a user clicks the subscribe button?
Thanks
James
Tell staff why this post should be reviewed.