ActiveTuning Posted February 16, 2005 Posted February 16, 2005 My part numbers are too long so they are truncating on the invoice. I know there is a simple fix, but how can I do this?
charles Posted February 16, 2005 Posted February 16, 2005 My part numbers are too long so they are truncating on the invoice. I know there is a simple fix, but how can I do this? <{POST_SNAPBACK}> In MYSQL table 'products', field 'products_model' change # of characters in column 'type' if you use easypopulate, you need to change it in easypopulate.php also, look for 'products_model'. Good luck, charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding.
ActiveTuning Posted February 17, 2005 Author Posted February 17, 2005 In MYSQL table 'products', field 'products_model' change # of characters in column 'type' if you use easypopulate, you need to change it in easypopulate.php also, look for 'products_model'. Good luck, charles <{POST_SNAPBACK}> Thanks for the reply. The characters fit, but just to test I upped it to 25. No go. For example, on the invoice, what is supposed to be: NI-AL-02KYBRSHX Comes up as this on the invoice: NI-AL-02KYBR Seems like maybe something in the script is truncating it? Any thoughts?
charles Posted February 17, 2005 Posted February 17, 2005 Thanks for the reply. The characters fit, but just to test I upped it to 25. No go. For example, on the invoice, what is supposed to be: NI-AL-02KYBRSHX Comes up as this on the invoice: NI-AL-02KYBR Seems like maybe something in the script is truncating it? Any thoughts? <{POST_SNAPBACK}> Hmmm... 12 is the default. It worked for me when I set it to 130 because I used the Model number to store the botanical names of herbal products, but I never printed an invoice, settling on a different method instead. You only say that the Model number is truncated on the invoice. If it is complete in catalog then it is probably a box size issue in the Admin funtion that produces the invoice? Of this I know nothing. Anyone else have any ideas? I hope I was of some help. Good luck, charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding.
ActiveTuning Posted March 2, 2005 Author Posted March 2, 2005 Hmmm... 12 is the default. It worked for me when I set it to 130 because I used the Model number to store the botanical names of herbal products, but I never printed an invoice, settling on a different method instead. You only say that the Model number is truncated on the invoice. If it is complete in catalog then it is probably a box size issue in the Admin funtion that produces the invoice? Of this I know nothing. Anyone else have any ideas? I hope I was of some help. Good luck, charles <{POST_SNAPBACK}> I assume the same thing...anybody know for sure?
ActiveTuning Posted March 4, 2005 Author Posted March 4, 2005 I assume the same thing...anybody know for sure? <{POST_SNAPBACK}> Anybody?
Guest Posted March 4, 2005 Posted March 4, 2005 Let start from the top: 1. Use phpMyAdmin to edit products_model field of the products table: ALTER TABLE `products` CHANGE `products_model` `products_model` VARCHAR( XX ) DEFAULT NULL 2. Use phpMyAdmin to edit products_model field of the orders_products table: ALTER TABLE `orders_products` CHANGE `products_model` `products_model` VARCHAR( XX ) DEFAULT NULL Notes: - Replace XX with your desired length. (defaults = 12) - Step 1 allows you to change the products_model length shown throughout your store. - Step 2 allows you to change the products_model length shown in Admin >> Order - To achieve Step 2 you must complete Step 1 first. - The above modifications will work for every future orders. - To change products_model of the orders made in the past, you'll have to use phpMyAdmin or find someone to write a custom script to excute after completing Step 2.
ActiveTuning Posted March 9, 2005 Author Posted March 9, 2005 Let start from the top: 1. Use phpMyAdmin to edit products_model field of the products table: ALTER TABLE `products` CHANGE `products_model` `products_model` VARCHAR( XX ) DEFAULT NULL 2. Use phpMyAdmin to edit products_model field of the orders_products table: ALTER TABLE `orders_products` CHANGE `products_model` `products_model` VARCHAR( XX ) DEFAULT NULL Notes: - Replace XX with your desired length. (defaults = 12) - Step 1 allows you to change the products_model length shown throughout your store. - Step 2 allows you to change the products_model length shown in Admin >> Order - To achieve Step 2 you must complete Step 1 first. - The above modifications will work for every future orders. - To change products_model of the orders made in the past, you'll have to use phpMyAdmin or find someone to write a custom script to excute after completing Step 2. <{POST_SNAPBACK}> PERFECT, thanks so much Alpha Ray, that was the exact sort of answer I was looking for. It was step 2 that I was missing lol! Thanks again for the tremendous help, and the great post :D
Guest Posted March 9, 2005 Posted March 9, 2005 PERFECT, thanks so much Alpha Ray, that was the exact sort of answer I was looking for. It was step 2 that I was missing lol! Thanks again for the tremendous help, and the great post :D <{POST_SNAPBACK}> Anytime David! :thumbsup: I happened to come accross this a couple of weeks earlier.
Guest Posted March 12, 2005 Posted March 12, 2005 Alpha Ray. Spot on. Great. Cheers. Keep smiling and thanks. Colin Scotland
bibleman Posted July 20, 2005 Posted July 20, 2005 Let start from the top: 1. Use phpMyAdmin to edit products_model field of the products table: ALTER TABLE `products` CHANGE `products_model` `products_model` VARCHAR( XX ) DEFAULT NULL 2. Use phpMyAdmin to edit products_model field of the orders_products table: ALTER TABLE `orders_products` CHANGE `products_model` `products_model` VARCHAR( XX ) DEFAULT NULL Notes: - Replace XX with your desired length. (defaults = 12) - Step 1 allows you to change the products_model length shown throughout your store. - Step 2 allows you to change the products_model length shown in Admin >> Order - To achieve Step 2 you must complete Step 1 first. - The above modifications will work for every future orders. - To change products_model of the orders made in the past, you'll have to use phpMyAdmin or find someone to write a custom script to excute after completing Step 2. <{POST_SNAPBACK}> THANKS ALPHA RAY, I searched this site for about an hour before I found your simple easy to understand response. Everyone was saying do it in PHPmyadmin.... but I always thought I was to do the products model in the products table ONLY. STEP 2 cleared it up! Thanks a bunch. I'm having a great Day - hope you are too! Leon
Recommended Posts
Archived
This topic is now archived and is closed to further replies.