Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wolfy

Pioneers
  • Posts

    34
  • Joined

  • Last visited

Everything posted by wolfy

  1. Hi there Janne - just wondering if you still offering support for this contribution - I visited your website and it appears to be down mindsparx.org
  2. Hi everyone, Is there anyone that can tell me if its possible to add the Product Type Option contrib with the QTY Pro contrib. I've been trying to add the Product Type Option contrib to my site which already has the QTY Pro contrib installed and I'm running into some problems, I have to admit too that I'm out of my depth here and not sure whether its even worth trying to do this. Any feedback will be welcome thanks :)
  3. is loving life :)

  4. You need to check in admin under Modules -> order totals - set the sort order for the order totals - if that has been set recheck you installation.
  5. I've made another small change: I found that when you hover your mouse over the "Add Now" button the alt tag displays the product id and not he product name so all I did was change the following line $freebie[$p]['link'] = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $gift['products_id']) . '">' . tep_image_button('button_add_now.gif', 'Select ' . $gift['products_id'] ) . '</a>'; to $freebie[$p]['link'] = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $gift['products_id']) . '">' . tep_image_button('button_add_now.gif', 'Select ' . $gift['products_name'] ) . '</a>';
  6. Hi First of all A very big thank you to all the authors of this great module. :) Not sure if this is a bug or not but what I have found is the following: I installed DC into a fresh osC 2.2RC2a install. I chose two items to be free gifts. Product A - as free gift: Threshold: 200.00 Product ID: 1 Price: null Product B - as free gift Threshold: 500.00 Products ID: 15 Price: Null Both products have an active status - product status =1 I then checked to see if everything was working as it should, I added items to the cart to the value of just over 200.00. On the shopping_cart.php page Product A was displayed with the usual message - "you qualify for free gift for spending over 200" and the "Add Now" button is displayed, HOWEVER, when clicking on the Add Now button - instead of adding the item to the cart - I'm being taken directly to the product information page and the free gift does not get added to the cart. If I continue shopping and add more items to the cart and the cart value exceeds 500.00, both free gifts are display with the option to add either one. The free gift with product id 1 (product A) does not add to cart, but the free gift with product id 15 (product B) does get added to the cart. All the usual does happens - if products are removed from cart causing the cart value to drop below the thresholds the free gift is removed If I remove product A (with product id = 1) as free gift and choose any other product or any number of other products as free gifts, the the module is behaving as it is intended. (i'm not using multi-currency). The only time that the gift is not being added to the cart is on the product with an id of 1. Now, I've been thinking that it may have something to do with the gift_query on the shopping_cart.php page and have tried changing it a bit. but nothing I did seem to have any impact, (btw I'm only just learning bow to write queries - still not good at it.) but nothing I tried works which leaves me to think that maybe the problem is somewhere else. As I said not sure if this a little bug or not, just thought I'd mention it incase it is, someone might then know how to fix it. Rgds wolfy :)
  7. For each file in the catalog folder there is generally a corresponding file in the catalog/includes/languages/english/ folder. The english folder generally holds the files used to define all the text which appears on the page. Now when you get the error message : PHP Fatal error: Cannot redeclare tep_db_connect() (previously declared in /store/includes/functions/database.php:13) in /store/includes/functions/database.php on line 25, referer: /store/index.php. or Fatal error ...redeclare magic quotes... or PHP Fatal error: Cannot redeclare class order in /store/includes/classes/order.php on line 13, referer: store/checkout_shipping.php generally I have found that it is probably because you uploaded the 'checkout_shipping.php' file which should be in the catalog folder to the english folder. Always check the files in the English folder first before fiddling with the compatability and other files first. wolfy
  8. HI All I've installed this contribution and everything works fantastically, :) except on the categories pages, after entering a new product and adding the pricing for the various groups, once you hit the preview button and if for some reason you need to go back instead of update - the groups names then dont appear on the categories page. I've tried looking through various versions of SPPC to see if I can find a difference in any of the code on that page but cant seem to find anything. I'm suspecting that the error must lie somewhere in the following bit of code: <?php } if (isset($HTTP_GET_VARS['read']) && ($HTTP_GET_VARS['read'] == 'only')) { if (isset($HTTP_GET_VARS['origin'])) { $pos_params = strpos($HTTP_GET_VARS['origin'], '?', 0); if ($pos_params != false) { $back_url = substr($HTTP_GET_VARS['origin'], 0, $pos_params); $back_url_params = substr($HTTP_GET_VARS['origin'], $pos_params + 1); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } } else { $back_url = FILENAME_CATEGORIES; $back_url_params = 'cPath=' . $cPath . '&pID=' . $pInfo->products_id; } ?> <tr> <td align="right"><?php echo '<a href="' . tep_href_link($back_url, $back_url_params, 'NONSSL') . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> <?php } else { ?> <tr> <td align="right" class="smallText"> <?php /* Re-Post all POST'ed variables */ reset($HTTP_POST_VARS); while (list($key, $value) = each($HTTP_POST_VARS)) { // BOF Separate Pricing per Customer if (is_array($value)) { while (list($k, $v) = each($value)) { echo tep_draw_hidden_field($key . '[' . $k . ']', htmlspecialchars(stripslashes($v))); } } else { // EOF Separate Pricing per Customer echo tep_draw_hidden_field($key, htmlspecialchars(stripslashes($value))); } } $languages = tep_get_languages(); for ($i=0, $n=sizeof($languages); $i<$n; $i++) { echo tep_draw_hidden_field('products_name[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_name[$languages[$i]['id']]))); echo tep_draw_hidden_field('products_description[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_description[$languages[$i]['id']]))); echo tep_draw_hidden_field('products_head_title_tag[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_head_title_tag[$languages[$i]['id']]))); echo tep_draw_hidden_field('products_head_desc_tag[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_head_desc_tag[$languages[$i]['id']]))); echo tep_draw_hidden_field('products_head_keywords_tag[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_head_keywords_tag[$languages[$i]['id']]))); echo tep_draw_hidden_field('products_url[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_url[$languages[$i]['id']]))); } echo tep_draw_hidden_field('products_image', stripslashes($products_image_name)); echo tep_image_submit('button_back.gif', IMAGE_BACK, 'name="edit"') . ' '; if (isset($HTTP_GET_VARS['pID'])) { echo tep_image_submit('button_update.gif', IMAGE_UPDATE); } else { echo tep_image_submit('button_insert.gif', IMAGE_INSERT); } echo ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['pID']) ? '&pID=' . $HTTP_GET_VARS['pID'] : '')) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?></td> </tr> </table></form> Just wondering if this is only me that this is happening to or has anyone else experienced the same issue, also is there a way to fix this. Thanking you all in advance for your time rgds wolfy
  9. Hi Just like to say what a magnificent contribution. Kudos to all :) I've just had an idea. It would be great for the customer after he has logged in, to see into which group he belongs in the account_edit.php page. The group he belongs to could be displayed in the same way the Company's VAT/TAX on that page. I dont really have too much PHP experience or else, I'd try to attempt doing this myself. Maybe somebody could add this as an additional optional feature. Regards Wolfy
  10. Hi Andre I came across this, maybe you have too - its in German though, I tried to translate but Google translation did not work to well for me - but have a look at this link http://forums.oscommerce.de/index.php?showtopic=54778 rgds wolfy
  11. Hi andre, yes please send it - and also let me know if there are any other modules which you have installed which required changes to the catalog/checkout_payment.php, maby even to the classes/payment.php file. what version of oscom are you using? rgds wolfy
  12. What is on you line 62 of the sofortueberweisungredirect.php file - you'll find it in includes/modules/payment?
  13. Instead of replacing the code as I've mentioned above, add the code just below, so in other words you need to find function selection() { $selection_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled) { $selection = $GLOBALS[$class]->selection(); if (is_array($selection)) $selection_array[] = $selection; } } } return $selection_array; } and just below that add function checkout_initialization_method() { $initialize_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled && method_exists($GLOBALS[$class], 'checkout_initialization_method')) { $initialize_array[] = $GLOBALS[$class]->checkout_initialization_method(); } } } return $initialize_array; } What is the exact error message you are getting? Rgds Wolfy
  14. Hi Not sure if this is going to work for you, but it worked for me. open catalog/includes/classes/payment.php and look for this code function selection() { $selection_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled) { $selection = $GLOBALS[$class]->selection(); if (is_array($selection)) $selection_array[] = $selection; } } } return $selection_array; } and change it to function checkout_initialization_method() { $initialize_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled && method_exists($GLOBALS[$class], 'checkout_initialization_method')) { $initialize_array[] = $GLOBALS[$class]->checkout_initialization_method(); } } } return $initialize_array; } hope this works for you :) Rgds wolfy
  15. Hi Jan A client has just recently added the quantity price breaks v1.3.5 on his site and its working perfectly except for a feature he feels is very necessary for his store. It involves the ability to search the quantities and pricing as setup in admin section. E.G. Take a look at the following image. One can do a price search on the advanced_search.php file Price From $4.00 Price To $10.00 -> and the product will appear in the search results. One can do a price search from $4.00 to $60.00 and all the products meeting the search criteria will also show up in the search results. but when one does a search say for products with pricing from $6.00 to $10.00 or from $7 to $9 then no product appears in the search result. Is this possible to implement this? and can one add an additional field - Quantity - to the advanced_search.php file which will also search the Quantities as setup in admin. I have sent an PM to you but have not heard from you yet. Looking forward to a reply Regards wolfy
×
×
  • Create New...