Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Imprint Text Options


318 replies to this topic

#21 Gob

  • Community Member
  • 295 posts
  • Real Name:John H

Posted 20 June 2005, 15:54

tdouglas, on Jun 9 2005, 04:34 AM, said:

I have managed to get the attributes code loaded and it seems to work well overall. Two issues we are having, however:

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?

<{POST_SNAPBACK}>


Tom
David is correct in his response to question 1.
However you also have to create the various fields first.
This should be found now in the Admin Catalogue menu, called Products Text Attibutes.

Re Q2.
You have missed some entries in either the file catalog/checkout_process.php or checkout_confirmation.php.
I think it's the confirmation.php file.

I file compare program is best to use. I use Beyond Compare and find it very good.

cheers

#22 Gob

  • Community Member
  • 295 posts
  • Real Name:John H

Posted 20 June 2005, 15:59

neilwillis, on Jun 18 2005, 05:43 AM, said:

Hi,

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

<{POST_SNAPBACK}>


Neil.
No wrong end of the stick here, that is exactly what you can do with this contrib.

Works well too.

There is one hang up with it however.
If you have the Edit_Orders contrib, the edit_orders.php file also needs some editing. By default if you edit the order, you will loose all those extra fields and information.
I have not worked on this problem myself yet but believe (at the moment), it should not be a big deal.

cheers

#23 neilwillis

  • Community Member
  • 82 posts
  • Real Name:Neil Willis

Posted 20 June 2005, 16:06

Strange....

Let me upload a picture of what happens......................

#24 Gob

  • Community Member
  • 295 posts
  • Real Name:John H

Posted 20 June 2005, 16:09

HairyJim, on Jun 21 2005, 01:29 AM, said:

Hi. The contribution works well for me.

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?

<{POST_SNAPBACK}>


James
I have heard of others having or wanting this same type of feature, unfortunately I don't know of a way to do this for certain.
You may be able to search for this ability.
I think there may be some problem with doing this because of the way the contrib is written.
A Temporary work around could be to have series of attributes setup with, for example:
1st order Name:
2nd order Name:
3rd order Name:
etc
etc.

This would add each item as an idividual item.

(I am assuming that as a rule you would not need any more than 10 or maybe 20 Name options.)

Hope this helps.
cheers
John

#25 neilwillis

  • Community Member
  • 82 posts
  • Real Name:Neil Willis

Posted 20 June 2005, 16:20

Ok, Here is the sequence of events:

[img]http://www.willisonline.co.uk/text2.gif[/img]


[img]http://www.willisonline.co.uk/text3.gif[/img]

[img]http://www.willisonline.co.uk/text4.gif[/img]


As you can see i get check boxes when setting up a product.

In the catalog when one selected is just shown as text and not a text box!


Any ideas?


Thanks

Neil

#26 Gob

  • Community Member
  • 295 posts
  • Real Name:John H

Posted 20 June 2005, 16:41

neilwillis, on Jun 21 2005, 02:20 AM, said:

Ok, Here is the sequence of events:

As you can see i get check boxes when setting up a product.

In the catalog when one selected is just shown as text and not a text box!
Any ideas?
Thanks

Neil

<{POST_SNAPBACK}>


Neil
Go over your contrib entries. Most specifically the files in catalog/ . If there is no input field then you have clearly missed that section that gives you that field. There is no other reason for it not to be there except for a mistake you must have made.

John

Edited by Gob, 20 June 2005, 16:43.


#27 neilwillis

  • Community Member
  • 82 posts
  • Real Name:Neil Willis

Posted 20 June 2005, 18:18

Thanks John,

Don't suppose you know what i need to look for. Its gona take a while to check all the pages.


Thanks

Neil

#28 Gob

  • Community Member
  • 295 posts
  • Real Name:John H

Posted 21 June 2005, 02:33

neilwillis, on Jun 21 2005, 04:18 AM, said:

Thanks John,

Don't suppose you know what i need to look for. Its gona take a while to check all the pages.
Thanks

Neil

<{POST_SNAPBACK}>


Neil
No not specifically, but they are all marked clearly as per the instructions.
So you can search one of those words to find each addin section.

John

#29 HairyJim

  • Community Member
  • 90 posts
  • Real Name:James Dadd

Posted 21 June 2005, 08:14

Gob, on Jun 20 2005, 04:09 PM, said:

James
I have heard of others having or wanting this same type of feature, unfortunately I don't know of a way to do this for certain.
You may be able to search for this ability.
I think there may be some problem with doing this because of the way the contrib is written.
A Temporary work around could be to have series of attributes setup with, for example:
1st order Name:
2nd order Name:
3rd order Name:
etc
etc.

This would add each item as an idividual item.

(I am assuming that as a rule you would not need any more than 10 or maybe 20 Name options.)

Hope this helps.
cheers
John

<{POST_SNAPBACK}>


Hi John,

Thanks for the suggestion but that is not an appropriate solution for what I want.

Basically I am using this contribution to allow the user to enter their software license so they can purchase the upgrade.

I wish my knowledge of PHP was much greater then I could at least hack something into place.

Thanks for your time though.

James

#30 neilwillis

  • Community Member
  • 82 posts
  • Real Name:Neil Willis

Posted 27 June 2005, 21:39

OK,

After hitting my head a few times i got it working - well almost!

It all looks fine and shows up during checkout, but when i go into orders the entered options are nowhere to be seen. Almost as if they didn’t get passed to the order.

Any clues,


Neil

#31 Gob

  • Community Member
  • 295 posts
  • Real Name:John H

Posted 27 June 2005, 23:32

neilwillis, on Jun 28 2005, 07:39 AM, said:

OK,

After hitting my head a few times i got it working - well almost!

It all looks fine and shows up during checkout, but when i go into orders the entered options are nowhere to be seen. Almost as if they didn’t get passed to the order.

Any clues,
Neil

<{POST_SNAPBACK}>


Neil
I have found a similar problem just 2 days ago have worked on it to try and find a solution but have no answer for it at this stage.
This seems to occur when when the client adds the product/s to the cart then has to create an account. The info then gets lost.
The code appears to be OK in the orders.php to pick this info up again but it will not.
The info is still in the database so currently if need be you can still retreive it.
This of course is no real solution except for testing purposes.

I am currently working on a different contrib (hopefully today) that will do effectively the same thing but with some better options that can be used to replace this contrib completely. I will post here to advise details when I know more.
Stay Tuned!! >_<

Either that or maybe someone else has had better luck or been able to fix this problem. Would be very interested for further input from someone.

#32 HairyJim

  • Community Member
  • 90 posts
  • Real Name:James Dadd

Posted 28 June 2005, 08:42

Well I to have just found this very same problem, but I did not create an account.

I have also worked on this contribution to make it better.

I have modified the solution to accept multiple inputs.

Input per quantity of an item which is done in the shopping cart.

[img]http://www.improvision.com/images/screenshot.gif[/img]

If there were a qty of three then three inputs would be visible etc.

This is just a hack at the minute but I am willing to offer assistance either in code sharing or whatever you require.

The solution is mainly the same except I have made it into a multiple quantity friendly solution.

#33 HairyJim

  • Community Member
  • 90 posts
  • Real Name:James Dadd

Posted 28 June 2005, 11:50

neilwillis, on Jun 27 2005, 09:39 PM, said:

OK,

After hitting my head a few times i got it working - well almost!

It all looks fine and shows up during checkout, but when i go into orders the entered options are nowhere to be seen. Almost as if they didn’t get passed to the order.

Any clues,
Neil

<{POST_SNAPBACK}>



Ok. I fixed this.

In the Admin orders.php file there is a line:

$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");

Notice that round the $pid var that is in the statement there are single quotes round the var. I changed this to double quotes.

So my line now looks like:

$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");

...and works.

Jim

#34 neilwillis

  • Community Member
  • 82 posts
  • Real Name:Neil Willis

Posted 29 June 2005, 13:01

Jim,

You are a genius! :thumbsup:


THANKS A LOT FOR THIS HELP!!!




Regards


Neil

#35 legris

  • Community Member
  • 3 posts
  • Real Name:Robyn

Posted 21 July 2005, 23:30

Finally got this working, and had no idea all products would have the same text applied. Very disappointing after working through all of the install issues.

HairyJim, on Jun 20 2005, 03:29 PM, said:

Hi. The contribution works well for me.

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?

<{POST_SNAPBACK}>



#36 HairyJim

  • Community Member
  • 90 posts
  • Real Name:James Dadd

Posted 22 July 2005, 07:51

legris, on Jul 21 2005, 11:30 PM, said:

Finally got this working, and had no idea all products would have the same text applied. Very disappointing after working through all of the install issues.

<{POST_SNAPBACK}>


I know, I too was a bit miffed after getting it up and running.

I believe another chap on this thread was writing a new version of this to allow multi input.

#37 legris

  • Community Member
  • 3 posts
  • Real Name:Robyn

Posted 22 July 2005, 14:02

I am going to try ZenCart instead, think it has everything I need right out of the box.

HairyJim, on Jul 22 2005, 07:51 AM, said:

I know, I too was a bit miffed after getting it up and running.

I believe another chap on this thread was writing a new version of this to allow multi input.

<{POST_SNAPBACK}>



#38 Shaylee67

  • Community Member
  • 3 posts
  • Real Name:Shaylee

Posted 23 July 2005, 14:53

I have the following problem with the trib. When a customer enters his data in one of my text attrib fields I don't get to see it in the order in my admin nor does it show up in the email the customer gets.
Any one know what I am doing wrong?

#39 Shaylee67

  • Community Member
  • 3 posts
  • Real Name:Shaylee

Posted 24 July 2005, 21:25

Can nobody offer me some help???? :'(

#40 pixelhub

  • Community Member
  • 77 posts
  • Real Name:craig

Posted 31 July 2005, 18:54

Quote

Hi. The contribution works well for me.

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?



Has any body found a solution to this yet?