Author |
Topic |
|
Inga
Starting Member
5 Posts |
Posted - February 08 2007 : 17:28:53
|
Hi: I would like to create a feature that simply displays a paragraph of text. Can this be done? (I don't mean a blank paragraph to allow users to enter text.) Example: Some items are special order and will take 10-14 days to make and ship, and they're non-returnable. Instead of using a separate template for these products where this text message is included (we already do that, it's a pain!), or entering this text in the extended description for each product (also a pain), I would love the ability to create a variety of text messages that could be selected as features when entering these types of products. It would be very easy to make any edits or changes to the messages. Any ideas? Thanks. |
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - February 09 2007 : 02:26:15
|
there are 2 options I think; 1 is to use one of the potherx product fields to store the text-per-product that you want to display, but that means having to duplicate all the text in each product.
another option is to use the potherx product fields to store a flag and then have your templates translate those flags to the corresponding text (our extra-template-fields addon, BYZ033, will help you achieve that; it comes with some examples which you can use as a base)
Our extra-template-fields addon can be bought on its own, or if you want to buy any of our template-field-related addons then it comes with those for free.
There is a 3rd alternative, but it's a bit messy, which is to use, say, potherx to hold the text (as per point 1), but to also use another potherx field to hold a flag (eg "TYPE1"), and then you can use that flag field to do a sql mass update, eg: update products set pother2='My Text For Type 1' where pother1='TYPE1'
here are some useful links related to this:
Advanced SQL Execution (eg to do mass updates like the sql statement above) - freebie: http://www.bigyellowzone.com/shopexd.asp?id=114
Extra Template Fields (BYZ033): http://www.bigyellowzone.com/shopexd.asp?id=42
Addons that use BYZ033 (ie where BYZ033 is included for free in the price of the addon) : http://www.bigyellowzone.com/softwareversions.asp#BYZ034S
Whichever way you go, the $ trick will also be relevant: http://www.bigyellowzone.com/support/issue_view.asp?ID=223&CATE=8
and adding more "pother" columns might also be relevant: http://www.bigyellowzone.com/support/issue_view.asp?ID=30&CATE=8
Bulk-sql update: http://www.bigyellowzone.com/shopexd.asp?id=103
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on February 09 2007 03:30:36 |
|
|
Inga
Starting Member
5 Posts |
Posted - February 09 2007 : 07:50:12
|
Thanks Simon. Sounds like we're stuck making extra templates. Easier to change verbage in 1 template than in many products. I'll suggest it for a future enhancement. |
|
|
Season
Starting Member
37 Posts |
Posted - March 11 2007 : 23:45:20
|
Hi Not sure if this will help, I wanted to put text and a graphic on certain Items such as "Free Shipping USA Only" . In Version 6.09 It allows in the Features to attach a text Area , it displays 2 text lines as well as a graphic. I experimented and found that I could just Put the graphic in or 1 or 2 seperate lines of text. So when ever an item needs a special label, you add it by the features.
Here is my live Item Page Example http://www.seasonspool.com/shopdisplayproducts.asp?id=19&cat=Pentair Pool Pumps
Good Luck
Cliff |
|
|
Inga
Starting Member
5 Posts |
Posted - March 12 2007 : 09:20:27
|
Cliff: This is EXACTLY what I am trying to do. Can you tell me how you did this? I did try to experiment using the text area feature, it just gave me a text box area for the customer to enter text in. I would so much appreciate some instructions. Thanks! |
|
|
Season
Starting Member
37 Posts |
Posted - March 12 2007 : 15:00:52
|
Inga, In Version 6.09 I went to "Add Product Feature" in the Everyday Tasks,
You could also Edit an existing Feature that was left from the Demo Mode.
In either Add or Edit Make sure you put in a Feature Number.
Fill Out Feature Caption with your short Text
The Feature Type is RADIO (it shows just a dot and if it is clicked on nothing will happen.
Insert Your Image.
All the rest I left alone.
If you want the Feature Caption to be in a Font Size or Color, You will need to make changes to the Tmp_Productformat.htm
This is what I added just above the [FormatProductOptions sub] in my Tmp_ProductFormat.asp
<td align="center"><font size=4 color="FF0000"><B> [FormatProductOptions sub]
If all was done as above, then when you create or Edit a product just make sure that the Feature Number for your label is entered.
Hope this works for you.
Cliff @ Seasonspools.com |
|
|
SeoDesigns
Starting Member
USA
3 Posts |
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - March 15 2007 : 19:21:26
|
BYZ033 is compatible with 6.5 as-is (ie it'll work regardless of which version of byz033 you have). We're still using it on 6.5 because it still seems the best way to deal with extra template fields.
Good news is that we've now enhanced byz033 to be able to cater for literals and multiple arguments.
see also:
VPASP 6.5 and BYZ Software: http://www.bigyellowzone.com/support/issue_view.asp?ID=713&CATE=13
VPASP 6.5 - Template Fields (BYZ033) http://www.bigyellowzone.com/support/issue_view.asp?ID=716&CATE=13
If you buy byz033 separately, you'll currently get that latest version, but we haven't added that latest version of byz033 to all the other zips which include byz033 yet; I'll be doing that over the next day or so. In the meantime, if you've bought an addon in the last 6 months that uses byz033 and want this new version then just post a support ticket on our help area and we'll email you the new version.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on March 15 2007 19:26:16 |
|
|
Inga
Starting Member
5 Posts |
Posted - March 23 2007 : 15:50:41
|
Cliff, thanks for the info. This is definitely the right idea and will actually work. Funny thing is if you actually check the button, it adds that text with the item into the shopping cart. No harm though - it's kind of nice (except for the "base price $x.xx that also dumps in with it). I think I will be using this! It's a funny little work around, but this is a great idea and suggestion for a future release. We have a rather large shopping site, and it would be great to include snippets of text via features rather than so many templates. Thanks for the simple solution Cliff.
Inga |
|
|
|
Topic |
|