Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adultsm

Archived
  • Posts

    57
  • Joined

  • Last visited

About adultsm

  • Birthday 05/17/1972

Profile Information

adultsm's Achievements

  1. I have installed QT Pro and have found that when an order is made the stock level is not updated for products with 2 or more attributes. EG. createing an order for... Tshirt - Stock is Altered correctly Tshirt Attr.Black - Stock is Altered correctly Tshirt Attr.Black.SizeM - Stock is not changed. Is this a Standard QT Pro Bug or is it My Install which has other contributions added.
  2. It works for me !! The addition i added above. It should be fine to use this addition even if QTPRO is not installed because... if attrcomb is set (QTPro is installed) id will not be set and if id is set (QTPro is not installed) attrcomb will not be set. Best Wishes Alex
  3. If you have the QT Pro Contribution you will find that attributes are not saved in the wishlist. just change the application_top.php instead of //Wishlist actions (must be before shopping cart actions) if(isset($HTTP_POST_VARS['wishlist_x'])) { if(isset($HTTP_POST_VARS['products_id'])) { if(isset($HTTP_POST_VARS['id'])) { $attributes_id = $HTTP_POST_VARS['id']; tep_session_register('attributes_id'); } $wishlist_id = $HTTP_POST_VARS['products_id']; tep_session_register('wishlist_id'); } tep_redirect(tep_href_link(FILENAME_WISHLIST)); } Add //Wishlist actions (must be before shopping cart actions) if(isset($HTTP_POST_VARS['wishlist_x'])) { if(isset($HTTP_POST_VARS['products_id'])) { //For Standard Store if(isset($HTTP_POST_VARS['id'])) { $attributes_id = $HTTP_POST_VARS['id']; tep_session_register('attributes_id'); } ///////////////////// // For QT PRO Enabled Stores if(isset($HTTP_POST_VARS['attrcomb'])) { $attributes_wl=array(); if (preg_match("/^\d{1,10}-\d{1,10}(,\d{1,10}-\d{1,10})*$/",$HTTP_POST_VARS['attrcomb'])) { $attrlist=explode(',',$HTTP_POST_VARS['attrcomb']); foreach ($attrlist as $attr) { list($oid, $oval)=explode('-',$attr); if (is_numeric($oid) && $oid==(int)$oid && is_numeric($oval) && $oval==(int)$oval) $attributes_wl[$oid]=$oval; } } $attributes_id = $attributes_wl; tep_session_register('attributes_id'); } ///////////////////////////// $wishlist_id = $HTTP_POST_VARS['products_id']; tep_session_register('wishlist_id'); } tep_redirect(tep_href_link(FILENAME_WISHLIST)); } Hope this helps somebody Bets Wishes Alex
  4. Can you just let me know what the format of the id should be ? and i will try a workaround myself !! Thanks Alex
  5. QT pro would be the cause then.... Any work arounds ?
  6. I have installed and changed slightly the Wishlist 3.5c. I thought it was working well although after looking today attributes are not being saved. I am not 100% sure they were being saved in the past. I have looked at the application_top.php where wishlist items are added and noticed that... if(isset($HTTP_POST_VARS['id'])) { $attributes_id = $HTTP_POST_VARS['id']; tep_session_register('attributes_id'); } the id is never true as it is not in the HTTP_POST_VARS ... a dump of those reveals... Array ( [attrcomb] => 1-2 [wishlist_x] => 104 [wishlist_y] => 14 [wishlist] => wishlist [products_id] => 382 ) Any Pointers as to what is wrong with this. Thnx Alex
  7. Thnx Gob Although i definately think something is failing... I spent an hour looking at my the whos_online.php looking for where the code was that built and displayed the specified info... After your post i suddenly realised i uploaded the contrib to the server but i had neglected to update my local copy, which i was searching. Everything makes much more sense now i am looking at the correct file.. :blush: :blush: :blush: :blush:
  8. I have installed the 1.7.1 version and all seems to be working just fine. Except (and you knew that except was coming) the last refresh time/date it shows... Set Refresh Rate: None ? :30 ? 1:00 ? 2:00 ? 3:00 - Last Refresh: 12/9/105 1:55 p.m. Profile Display: None ? All ? Bots ? Customers The Year being 105. I checked my server time and date and all is correct. I would normally look at the code myself and troubleshoot it, but my eye sight must be failing cos i can not work out where the two lines are built or output !! Can you explain where they are built/output?? and maybe give some ideas of the year problem. Thanks Alex
  9. Im not used to this Board hense my message being still here... is there a way to delete messages? I had this problem but your new function stopped the error message. Just want to say Thanks for this contribution. seems to work well and now i will go test it further. Thnx Bobby Alex :rolleyes:
×
×
  • Create New...