Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fan4chevy

Pioneers
  • Posts

    366
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by fan4chevy

  1. Hi, If you have a modified cart and are having issues where you do not see a price (0.00) on the checkout shipping page after check out, I believe I have your answer. Redo your admin/categories.php page. The one out of the box works but each time I added it to a modified admin/categories.php it would nomatter what price I put in the admin product ship price it would not show up. I also found that you can tell if it is not working properly because in admin product the shipping and zip does not show up in the boxes when you go back into the admin product page. It should permanently capture your zip, ship1 and ship 2 prices. Charles
  2. Hi, I am wondering how to setup seperate state zones? So that Zone one might be ID, WA, OR, MT and would be the price I put in the product fields. Then have Zone 2, Zone 3 and Zone 4 be an increase? Thanks, Charles
  3. Hi, I have version 2.4.5, what is the best way to upgrade? Do I use the 1.9 to 2.6 docs? I don't want to jump right in because I have a heavy modified cart and see that it says 2.6 is a complete rewrite. Thank you for your suggestions,
  4. Sounds to me like it is this shipping contrib that you are wanting: First Item $X, Additional Items $Y Shipping Charles
  5. Thanks Sam, Perhaps an upload corruption. Do you know what causes and error like this?
  6. HI, I just did a checkout test and although all the rest of my cart seems to be functioning properly, I noticed on Checkout it gives this error: Fatal error: Call to undefined method shoppingCart::get_content_type() in /public_html/web.com/catalog2/includes/classes/order.php on line 136 Line 136 in order.php is: $this->content_type = $cart->get_content_type(); I only noticed this after installing the contrib. Any idea what the solution and cause is? Your help is appreciated. :blush:
  7. Sorry about this post. I had a major brain freeze and would have deleted it if forum would have let me. Basically my error is that in the main cat I had products so the subcat images were not showing. :'( :blush:
  8. I am not sure where my issue lies but I noticed that under the original default categories such as software, the subcategory images show in the product listing. However, when creating a new category, its' subcategory images do not show in the listing area at all. Any idea what would cause this to work for the default subs and not the new ones I created? Charles
  9. I will have to remove the pipe spacer and see what it does for mine as well.
  10. Apology accepted, thanks for explaining. B) -------------------------- In addition to the <br/> 's that you had posted to remove, I found on my cart that to remove the gap between price and quantity I had to also remove the break here as well: $display .= $borderend . $form . '<br />' . (PRODUCT_LIST_OPTIONS == 'true' ? attribute_drop($products['products_id'],$products['products_tax_class_id']) . $button : $button) . ($multi_add ? '' : '</form>'); // thumb built Did you find this to be true on your cart as well?
  11. Thank you very much Spooks. This was just what I was looking for. I was grabbing the wrong code and putting it there which was causing it to say thumbview when I was in thumb view. :blush:
  12. Spooks, I fully agree with you about making the contrib general for everybody. The contrib has been AWESOME! Just had a small change for personal preference. ;) However, I was taken by the smiley and by the approach of stating 'Rather Drastic'. Perhaps it could have been stated differently and without the smiley rolling eyes. For about two weeks I tried to figure out the spacing after I posted without finding a solution. Once I found that the breaks were the solution to my post, I tried to help the community with my findings. I can appreciate the additional "here is another way" but lets be a team and considerate. I have contributed on OS as well. On fancy Box contrib I think you will find I sent up a few things that helped as well. So my point, lets be considerate and a team. :thumbsup:
  13. Ken aren't you doing the same thing I posted which is to remove the breaks except your way takes a bit longer to do it? If you simply go Find and replace it is faster! I have to say the comment and the rolling eyes image was a bit offensive. I posted to help others who may have had the same issue after my many days of researching for the result. Where were you when I posted 2x asking for assistance? I had tried to get help in this area and to no success so I figured out that it was the breaks making the spaces. So I simply went into Product_info.php searched the </br> and removed them and walla it was all nice and tight between lines. Anyone looking to tighten the spacings is most likely wanting to do them all. Thanks Ken, except several days short!
  14. HI, Regarding switching of ThumbView and ListView. In ThumbView my listing page will only show the link to change to listview at the bottom of the page ONLY. However, in ListView it will show the option at both the top or bottom to switch back to Thumbview. What do I need to do to get the thumbview to also show the Listview link at the top as well when in thumbview? Charles
  15. Yep your right! :thumbsup: Do you know how to get it to show at the top of the listing instead or in addition to?
  16. Spooks, What would it take to make the "The visitor can switch between thumbnails & list modes" option for a customer that has not signed in or created an account? Charles
  17. leelee2023 I like the displaying: 1-5 and the results:1 you have at the top of the listing. How did you do it? Charles
  18. Removing the larger spacing gaps if desired in product listing. Just wanted to post this as it might help others who had the same need. Perhaps it was posted already and I did not find it after exhaustion of trying to figure it out. Here is what I am trying to change: Open /includes/modules/product_listing.php Remove ALL the <br/> and it will be a tighter box. Charles ;)
  19. Hi Spooks, Thanks for your assistance. The problem was actually in the two codes that you had listed. I was wondering because I was pasting in the body and not under other php codes and still had errors. Below was the issue and how I was able to make it work.... In the main script that was posted it needed the ?> which was left out. The other code of echo quantity ($_GET['products_id']); Needed to be changed to: <?php echo quantity ($_get['products_id']); ?> with the GET capitalized it did not work and I needed to put in the <? ?> Below is the main code to be placed just before </body>: <script type="text/javascript" language="javascript"> <!-- function changeValue(inObject,delta) { var myVal = parseInt(inObject.value); isNaN(myVal) ? myVal = delta : myVal = myVal + delta; inObject.value = Math.max(myVal,0); return; } // --> </script> <?php function quantity ($products_id) { global $multi_add, $qty_drop, $thumbnail_view; if (PRODUCT_LIST_QUANTITY_BOX == 'true' && strstr(LISTING_BUTTON, 'buy now')) { if (tep_has_product_attributes($products_id) && PRODUCT_LIST_OPTIONS != 'true') return false; if (!$qty_drop) return '<table cellspacing="0" cellpadding="2"><tr><td class="quantity" >' . QUANTITY . tep_draw_input_field('cart_quantity' . ($multi_add ? '[]' : '') , ($multi_add ? '0' : '1') , 'maxlength="5" size="2" id="qid'.$products_id.'"') . ($multi_add ? tep_draw_hidden_field('products_id[]', $products_id) : '') . '</td><td><a href="javascript:changeValue(document.getElementById(\'qid'.$products_id.'\'),1);">' . tep_image_button('btn_up.gif',MORE) . '</a><br><a href="javascript:changeValue(document.getElementById(\'qid'.$products_id.'\'),-1);">' . tep_image_button('btn_down.gif',LESS) . '</a></td></tr></table>'; else $qty_array = array(); $pstock = min(tep_get_products_stock($products_id),MAX_QTY_IN_CART); for ($i=0; $i<=$pstock; $i++) { $qty_array[]=array('id' => $i, 'text' => $i); } return ($pstock ? '<div class="quantity" align="' . (strstr($thumbnail_view, 'thumbnails') ? 'center' : 'right' ) .'">' . QUANTITY . tep_draw_pull_down_menu('cart_quantity'.($multi_add ? '[]' : ''),$qty_array,($multi_add ? 0 : 1)) . '<br />' . ($multi_add ? tep_draw_hidden_field('products_id[]', $products_id) : '') . '</div>' : false); } else { return false; } } ?> Special thanks to Spooks and I hope this helps others trying to do the same. Charles ;)
  20. Spooks, Are you referring to the application top code change when I initially installed the contrib or something extra I need to do to make it work in product info page?
  21. Yes I do need more learning that is definate B) . My specialty is graphics and more on website building side. However, I have learned a lot just here on OSCommerce and eventially figure it out with some assistance from those more knowledgeable like yourself. :thumbsup: I will do some more playing around with the things you mentioned and hopefully I can figure it out! Being that this is going in the catalog/Product_info.php rather that modules/product_listing.php, is there any thing else I need to do in addition to the steps you mentioned? Thank you so much Spooks.
  22. Spooks, I appreciate your help with this. I am doing something wrong with this code because no matter where I put it I get this error: Parse error:syntax error, unexpected '<' in /product_info.php I copied the below code exactly as listed and placed in in <body>: <script type="text/javascript" language="javascript"> <!-- function changeValue(inObject,delta) { var myVal = parseInt(inObject.value); isNaN(myVal) ? myVal = delta : myVal = myVal + delta; inObject.value = Math.max(myVal,0); return; } // --> </script> <?php function quantity ($products_id) { global $multi_add, $qty_drop, $thumbnail_view; if (PRODUCT_LIST_QUANTITY_BOX == 'true' && strstr(LISTING_BUTTON, 'buy now')) { if (tep_has_product_attributes($products_id) && PRODUCT_LIST_OPTIONS != 'true') return false; if (!$qty_drop) return '<table cellspacing="0" cellpadding="2"><tr><td class="quantity" >' . QUANTITY . tep_draw_input_field('cart_quantity' . ($multi_add ? '[]' : '') , ($multi_add ? '0' : '1') , 'maxlength="5" size="2" id="qid'.$products_id.'"') . ($multi_add ? tep_draw_hidden_field('products_id[]', $products_id) : '') . '</td><td><a href="javascript:changeValue(document.getElementById(\'qid'.$products_id.'\'),1);">' . tep_image_button('btn_up.gif',MORE) . '</a><br><a href="javascript:changeValue(document.getElementById(\'qid'.$products_id.'\'),-1);">' . tep_image_button('btn_down.gif',LESS) . '</a></td></tr></table>'; else $qty_array = array(); $pstock = min(tep_get_products_stock($products_id),MAX_QTY_IN_CART); for ($i=0; $i<=$pstock; $i++) { $qty_array[]=array('id' => $i, 'text' => $i); } return ($pstock ? '<div class="quantity" align="' . (strstr($thumbnail_view, 'thumbnails') ? 'center' : 'right' ) .'">' . QUANTITY . tep_draw_pull_down_menu('cart_quantity'.($multi_add ? '[]' : ''),$qty_array,($multi_add ? 0 : 1)) . '<br />' . ($multi_add ? tep_draw_hidden_field('products_id[]', $products_id) : '') . '</div>' : false); } else { return false; } } Thanks for your help, Charles
  23. Spooks, I am doing something wrong because I am getting php errors. I placed the code that you posted above my </head> in product info and then this in in the body: <?php function quantity ($products_id) { global $multi_add, $qty_drop, ; if (PRODUCT_LIST_QUANTITY_BOX == 'true' )) { if (!$qty_drop) return '<table cellspacing="0" cellpadding=""><tr><td class="quantity" >' . QUANTITY . tep_draw_input_field('cart_quantity' . ($multi_add ? '[]' : '') , ($multi_add ? '0' : '0') , 'maxlength="5" size="2" id="qid'.$products_id.'"') . ($multi_add ? tep_draw_hidden_field('products_id[]', $products_id) : '') . '</td><td><a href="javascript:changeValue(document.getElementById(\'qid'.$products_id.'\'),1);">' . tep_image_button('btn_up.gif',MORE) . '</a><br><a href="javascript:changeValue(document.getElementById(\'qid'.$products_id.'\'),-1);">' . tep_image_button('btn_down.gif',LESS) . '</a></td></tr></table>'; else $qty_array = array(); $pstock = min(tep_get_products_stock($products_id),MAX_QTY_IN_CART); for ($i=0; $i<=$pstock; $i++) { $qty_array[]=array('id' => $i, 'text' => $i); } return ($pstock ? '<div class="quantity" align="' . (strstr($thumbnail_view, 'thumbnails') ? 'center' : 'right' ) .'">' . QUANTITY . tep_draw_pull_down_menu('cart_quantity'.($multi_add ? '[]' : ''),$qty_array,($multi_add ? 0 : 1)) . '<br />' . ($multi_add ? tep_draw_hidden_field('products_id[]', $products_id) : '') . '</div>' : false); } else { return false; } ?> I know I am way off course here. Can you tell me where or what I need to change? Thanks, Charles :huh:
  24. Usually when that happens to me I can link it back to either my url paths not being correct in perhaps the config file or that my permissions on those particular images are set wrong. I think they need to be set to 755.
×
×
  • Create New...