Imprint Text Options
#1
Posted 25 April 2005 - 10:28 AM
#2
Posted 25 April 2005 - 01:33 PM
alenkij, on Apr 25 2005, 06:28 AM, said:
When I am in admin and I click on the date or name or insert i get this error:
Not Found
The requested URL /shop/admin/FILENAME_TEXT_ATTRIBUTES was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
can you help me?
#3
Posted 25 April 2005 - 03:26 PM
#4
Posted 25 April 2005 - 03:29 PM
alenkij, on Apr 25 2005, 11:26 AM, said:
Thanks!
Edited by atnet, 25 April 2005 - 03:33 PM.
#5
Posted 25 April 2005 - 03:37 PM
alenkij, on Apr 25 2005, 11:26 AM, said:
Alright, no more errors, but how do i get the name text attribute to show up on a product page?
#6
Posted 25 April 2005 - 03:48 PM
<!-- denuz products text attributes -->
<tr>
<td>
<?php
$text_attributes_query = tep_db_query("select pta.* from products_text_attributes as pta, products_text_attributes_enabled as ptae where ptae.products_text_attributes_id = pta.products_text_attributes_id and ptae.products_id = " . (int)$HTTP_GET_VARS['products_id']);
while ($text_attributes = tep_db_fetch_array($text_attributes_query)) {
?>
<tr>
<td class=main><?php echo $text_attributes['products_text_attributes_name'] . ': </td><td>' . tep_draw_input_field('products_text_attributes_' . $text_attributes['products_text_attributes_id'], ''); ?></td>
</tr>
<?php
}
?>
</table></td>
</tr>
<!-- eof denuz products text attributes -->
and make sure that you set checkbox for this option active when edit product
#7
Posted 25 April 2005 - 03:53 PM
alenkij, on Apr 25 2005, 11:48 AM, said:
<!-- denuz products text attributes -->
<tr>
<td>
<?php
$text_attributes_query = tep_db_query("select pta.* from products_text_attributes as pta, products_text_attributes_enabled as ptae where ptae.products_text_attributes_id = pta.products_text_attributes_id and ptae.products_id = " . (int)$HTTP_GET_VARS['products_id']);
while ($text_attributes = tep_db_fetch_array($text_attributes_query)) {
?>
<tr>
<td class=main><?php echo $text_attributes['products_text_attributes_name'] . ': </td><td>' . tep_draw_input_field('products_text_attributes_' . $text_attributes['products_text_attributes_id'], ''); ?></td>
</tr>
<?php
}
?>
</table></td>
</tr>
<!-- eof denuz products text attributes -->
and make sure that you set checkbox for this option active when edit product
Awesome!!!!!
Exactly what i was looking for!!!
Thank you!
#8
Posted 25 April 2005 - 06:19 PM
alenkij, on Apr 25 2005, 10:28 AM, said:
Hi Alenkij,
I have installed the latest version of Imprint Attributes v1.3 plus added the couple of fixes and its working like a dream.
One thing I have noticed is:
I enter a value into the text field for example 'Test 1' and add the product to the cart. Then continue shopping or return to the same product and enter 'Test 2' into the text field and add this to the cart.
I end up with 1 order with 'Test 2' in the text field and quantity 2.
Not two separate products showing the different text fields.
If the product also has a dropdown attribute assigned to it, for example 'colour' and I re-enter the above example but choose a different colour for each product, I end up with the following in the cart:
Product 1 - Colour-Red - Text Field-Test 2
Product 2 - Colour-Blue - Text Field-Test 2
What ever you type into the text field will over right all the previous products added to the cart so they all have the same text added to them.
Do you know how to fix this as I intend to use this contribution for selling number plates and some customers will no doubt buy more than one plate at a time with different registration numbers and fonts etc...
Thanks for your help and I love this contribution.
Gazza.....
#9
Posted 25 April 2005 - 08:50 PM
i haven't time to do it, but, might be, someone with some php skills will do it.
just need to make some sort of current text attributes in basket.
#10
Posted 28 April 2005 - 12:50 PM
alenkij, on Apr 25 2005, 06:28 AM, said:
Alright, for some reason, the text boxes are only working for one of my products, even though I have selected them for other products.
Also, the text box data from the working product is not entering into the database. I have a theme installed but i was very careful to maintain the text code.
Can someone help me?
The store is www.asongisforever.com/shop
The working product is Kids! Birthdays - Bee Bop Birthday and the other one that has them selected but isnt working is Valentines - I have a question
If someone can help me out that would be awesome!
Also, if you need a little incentive I can trade hosting for assistance with this.
Thanks!!
~Andrew
#11
Posted 28 April 2005 - 02:21 PM
what can be wrong:
1. it is installed incorrectly (seems like)
2. session troubles (90% impossible)
as i already mentioned - i needed it to work with sessions as db-key. of course, it can be rewritten to be more simple, but i haven't freetime to do it myself. may be in future.
#12
Posted 28 April 2005 - 04:23 PM
denuz, on Apr 28 2005, 10:21 AM, said:
what can be wrong:
1. it is installed incorrectly (seems like)
2. session troubles (90% impossible)
as i already mentioned - i needed it to work with sessions as db-key. of course, it can be rewritten to be more simple, but i haven't freetime to do it myself. may be in future.
Hmmm...well are you able to help me get it working? I can give you access the account to look at the files etc...
Please let me know as this is a vital addition to our store.
Thanks!!!
~Andrew
#13
Posted 26 May 2005 - 10:54 AM
admin/FILENAME_TEXT_ATTRIBUTES?page=1&taID=2&action=edit
File not found
also
showing in admin TEXT_DISPLAY_NUMBER_OF_TEXT_ATTRIBUTES
can anyone help plz
#14 ONLINE
Posted 26 May 2005 - 11:04 AM
admin/includes/filenames.php
similarly, looks like you are missing the TEXT_DISPLAY and possibly other language settings.
Maybe check the other download packs for additional file or instructions on how to add this.
Sometimes/often the last updated set of files doesn't contain the full set of files that you need for an installaiton from scratch.
Carine Bruyndoncx
PS frustraded by the lack of feedback
<!--
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
post your findings in my responsive liive shop review thread ?
-->
#15
Posted 26 May 2005 - 11:13 AM
I had thought of that & dloaded the 1.2b version that says Full Package
&
the define for has also been done
admin/includes/filenames.php
define('FILENAME_TEXT_ATTRIBUTES', 'text_attributes.php');
Problem still there though
#16
Posted 07 June 2005 - 03:55 PM
Just add this section instead of the one in the file.
Have also updated the Contrib's section also.
// denuz text attr
$pid = @mysql_result(tep_db_query("select products_id from products_description where products_name='" . $order->products[$i]['name'] . "'"), 0, "products_id");
$attr_q = tep_db_query("select ota.*, pta.products_text_attributes_name from orders_text_attributes as ota, products_text_attributes as pta where ota.orders_id = " . $HTTP_GET_VARS['oID'] . " and ota.products_id = ' . $pid . ' and pta.products_text_attributes_id = ota.products_text_attributes_id");
while ($attr = tep_db_fetch_array($attr_q)) {
echo '<br><nobr><small> <i> - ' . $attr['products_text_attributes_name'] . ': ' . stripslashes($attr['products_text_attributes_text']);
echo '</i></small></nobr>';
}
// eof denuz text attr
#17
Posted 08 June 2005 - 06:34 PM
1) We can not, however, determine how to add the text attributes to a particular product. The only way we was able to do so was to manually add a product_id and products_text_attributes_id to the products_text_attributes_enabled table in mySQL. Is there an admin panel way we're missing or mis-installed?
2) Once we did add the item to the enabled table, the text attributes box appeared on the product info page, but did not carry forward to the shopping carts page once we added the product. The product in the shopping cart shows just as it did before. Any ideas?
#18
Posted 08 June 2005 - 08:59 PM
tdouglas, on Jun 8 2005, 06:34 PM, said:
1) We can not, however, determine how to add the text attributes to a particular product. The only way we was able to do so was to manually add a product_id and products_text_attributes_id to the products_text_attributes_enabled table in mySQL. Is there an admin panel way we're missing or mis-installed?
2) Once we did add the item to the enabled table, the text attributes box appeared on the product info page, but did not carry forward to the shopping carts page once we added the product. The product in the shopping cart shows just as it did before. Any ideas?
1..The fields will apper in the edit page of the product or in New prduct page...as
Available Text Options: - Name - Date
nice place for them.
not sure on the number 2 issue ..did you
2 small fixes:
- add the line below to admin/includes/filenames.php
define('FILENAME_TEXT_ATTRIBUTES', 'text_attributes.php');
- add the line below to admin/includes/languages/english.php
define('TEXT_DISPLAY_NUMBER_OF_TEXT_ATTRIBUTES', 'Text Attributes Total: ');
Hope something here helps.
#19
Posted 17 June 2005 - 07:43 PM
Don’t know if I got the wrong end of some kind of stick, but I was under the impression that by installing this contribution I could add user text boxes to a product. We sell gift vouchers and need to know peoples names to prin on the voucher, so I was expecting to see a box where the purchaser could type in a name.. Am I wrong in thinking this?
Cheers
Neil
#20
Posted 20 June 2005 - 03:29 PM
I have one issue though.
If enter a value into the text field for example 'My Text 1' and add the product to the cart. Then continue shopping or return to the same product and enter 'My Text 2' into the text field and add this same product to the cart. I end up with 1 order with 'My Text 2' in the text field and quantity 2.
What I need is to be able to have multiple text's against an order that may have multiple quantites of the same item.
I'd be quite happy to do the work but my knowledge of PHP is not great. Anyone have any ideas?









