Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nyderrn

Archived
  • Posts

    136
  • Joined

  • Last visited

Everything posted by nyderrn

  1. Opps sorry, the code is located in gv_send.php around line 128. HTH Tim
  2. Does anyone use Linda's Loginbox 5.5 that needed a fix for this contrib? It seems to me that when I use it to log in after going to the redeem url it is starting a new session and loses the fact that I was redeeming a voucher. So, I end up in a continuous loop of redirect, login, blah, redirect, login, blah. Thanks Tim
  3. Hi, Whenever I try to send a refund using a gift voucher and click on the link, I get sent to gv_redeem.php, but it says that the gv is invalid or has already been redeemed. Even if I try to put the code in during checkout, it's says invalid coupon code. Thanks for any help Tim
  4. Hi Susan.... what I did was to enable the 'download' in the admin config section. Then you set the gift voucher weight to zero...... it worked for me.... :) I have a similar problem. I've enabled downloads and set the gv weights to 0 and when I purchase the gv alone it doesn't include shipping, but if I purchase together with another item it charges shipping on both items. I'm using table rate shipping method. Anyone have this problem that got it fixed and can help me out? ;) Thanks, Tim
  5. Hi, In the email that is sent from either admin or a customer, the redeem url leads to gv_redeem and it says that the gv is redeemed, but when I log in the amount is not being applied to the account. If I try to make a purchase, I can enter the code in the redeem box and then it is acutally redeemed and everything is fine. Anyone have this problem? I've searched in the forums using all the keywords I could think of with nothing poping up :( Thanks for any help Tim
  6. In case you haven't found it yet Find: <td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?><br><br><?php echo 'gv '.$id1; ?></td> Replace with: <td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?><br><br><?php //echo 'gv '.$id1; ?></td>
  7. So, this isn't a new install? The error is looking for customer_id row in coupon_gv_queue table. Look in your database and see if you have coupon_gv_queue table. If you do, then just insert a new row named customer_id. I could see if you lost a table, but it's hard to loose an individual row in a table You can mess with coupon_gv_queue as long as you have released all your pending gift vouchers. But in order to rerun the sql, you will have to drop those tables if they exist. If this is a live store, you could delete someone's voucher. So, be careful. Hope this helps Tim
  8. I think the file your looking for is catalog/admin/includes/languages/english/gv_mail.php. HTH Tim
  9. That's telling you that you are missing a column in your database. Did you run the .sql file included with the contrib?
  10. Tell ya the truth I know just enough to get by. I never heard about php until about two years ago and it took me 6 months to figure out how to set up a web server at home for testing. The best thing you can do is don't give up. Just keep looking at code and looking at code and looking....at....code until your eyes fall out. You will learn it eventually and the payback is emense. But anyway, Beyond Compare (and other comparison programs this is just the one I use) is a file comparison program that has two display windows for laying two different files beside each other. Then examines the code and highlights the differences. Sometimes the differences don't overlap and its simple beyond belief to install a contrib. Other times you have to meld information together by hand to get the required result, but it is still handy. You can also take the file you just edited and put your backup beside it and see exactly what you did. Who knows you might notice an out of place { or , or ; Also, find a free editor that highlights php in a way that allows you to pick out the parts better, that will help in learning the code. Sorry for rambling and I hope no one thinks I work for Beyond Compare :blink: Tim
  11. I dont see anything wrong with that snipit of code. When there is a parse error at the end of a file, it's normally a typo somewhere else in the file. I would just replace the file with your backup or compare it with Beyond Compare or something similar and see if anything is out of place. Nothing much you can do, but just sit there and examine code and follow the logic till you find that you missed a comma. :angry:
  12. Ok, I'm just gonna put a notice in the gv description warning the customer not to purchase the voucher without an account and hope for the best. If anyone can come up with a way to prevent a gv purchase without an account, please post it. :D Thanks Tim
  13. After you purchase the voucher, the send gift voucher link will be at the bottom of the shopping cart infobox.
  14. I have 5.10b installed and working for a while now and I just installed Guest Account v2.2. I have run into a problem. Is there any way to keep a guest from purchasing a gift voucher? I can explain that it is not possible to purchase one unless you create an account, but that doesn't stop the non-reading person from doing it anyway. I guess I could turn off the queue when one is purchased and then they could send it to someone without creating an account, but if they close the browser window its lost as far as they know. I know it might not be possible to run both of these contribs at the same time, but it would be nice. Any help would be great. Thanks in advance. Tim
  15. Yes I did test it. I modified about half my titles and uploaded them back in worked fine and I can go back to a backup so its no problem. I'm just asking about sql syntax or if I'm missing anything to add this table call and insert statements. Thanks for the help, Tim
  16. Would you happen to know how to rewrite it using those variables? What I want to do is insert the values products_id as v_products_id and stores_id as v_stores_id into the table products_to_stores. This wouldn't explain why the script is only pulling the products with the stores_id value into the export. Seems like it's something in the database calls or my syntax in that area. Sorry for my lack of SQL knowledge, but when I can get this website going hopefully I will have more time to learn SQL and PHP and contribute. Thanks for your help. I'll look at but it's a lot of greek to me, although it makes more sense every day. Tim
  17. Hi, I'm using Easy Populate v2.73 with the master products update and I'm using the multi stores mod. I want to add the stores_id from table products_to_stores to the EP ouput file. I went through this contribution and got it to the point where it will export the store_id, but it doesn't export any products that don't have a store_id set yet. Here's the stuff I added maybe someone with more sql experience can help me. line 1299 to 1325 // now do a query to get the record's current contents $sql = "SELECT //next line added p2s.stores_id as v_stores_id, p.products_id as v_products_id, p.products_model as v_products_model, p.products_image as v_products_image, p.products_price as v_products_price, p.products_weight as v_products_weight, p.products_master as v_products_master, p.products_master_status as v_products_master_status, p.products_listing_status as v_products_listing_status, p.products_date_added as v_date_avail, p.products_tax_class_id as v_tax_class_id, p.products_quantity as v_products_quantity, p.manufacturers_id as v_manufacturers_id, subc.categories_id as v_categories_id FROM //next line added ".TABLE_PRODUCTS_TO_STORES." as p2s, ".TABLE_PRODUCTS." as p, ".TABLE_CATEGORIES." as subc, ".TABLE_PRODUCTS_TO_CATEGORIES." as ptoc WHERE p.products_id = ptoc.products_id AND //next line added p.products_id = p2s.products_id AND p.products_model = '" . $items[$filelayout['v_products_model']] . "' AND ptoc.categories_id = subc.categories_id "; line 1532 to 1534 if ($v_stores_id =''){ $v_stores_id ="0"; } lines 1691 to 1697 right above the insert to products table $query = "INSERT INTO ".TABLE_PRODUCTS_TO_STORES." ( products_id, stores_id) VALUES ( '$v_products_id',"; $query .=" '$v_stores_id') "; I've probably just missed something or my syntax is wrong. Please be kind :rolleyes: Thanks for any help, Tim
  18. Hi, Found my problem. It was a ; instead of a , in classes/order.php. DOH, I love it. But, anyway is there an easy way to put products into a store without going to the catagories/product page and ticking the box? If there's not, then I'll bite it and start the mindless journey through my products adding them to my store1. Words can not express how great this contribution is and I am glad you created it. Thanks, Tim
  19. Hi, When I try to edit, get an invoice, or a packingslip from orders.php I get sent to a blank page with no errors. I've been checking orders.php, invoice.php, and packingslip.php for typos I may have made while adding the contrib. I can't seem to find anything. Anyone have any ideas or similar thing happen to them? Thanks, Tim
  20. Hi, Just installed this awsome contribution today and I was wondering if there is an easy way to assign the products to a store. I already have almost 2000 products and it seems that I have to assign each product to a store individually. Is there a way to do it with SQL or Easy Populate? Thanks, Tim
  21. This is great. Thanks for the hard work Rob. Tim
  22. Thanks Matti Everything is working fine now. It seems the simplest solution is the best sometimes. :D Tim
  23. You know what, please no one waste their energy on this one yet. I seem to have another problem. My buy now buttons go to the shopping cart without adding the products. If I can't figure out how to solve this, I won't use the buy now buttons at all even though I like the idea. Thanks anyway Tim
  24. I have master products installed and it changes the code in product_listing.php instead of case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; break; I have case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; //Master Products if ($listing['products_master_status'] != '1' && $listing['products_master'] == '0') { $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; } elseif ($listing['products_master'] != '0') { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_master']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; } //Master Products EOF break; Can all three of these statments be transformed without it breaking? If so, I can try to modify it or if someone could help me with the code I would appreciate it. :blink: I don't have the knowledge, but I can normally make things work given enough time. If someone could help me, thanks or at least tell me if it can be done. Tim
  25. Ok...Im lost! Am I suppose to Add: Changing the "O" to the category ID, and a new set of meta for each... and add all to the meta_tag.php file? No your not. You are supposed to access your database, by phpmyadmin or however you like, and in the tep_meta_tags table insert the appropriate information.
×
×
  • Create New...