Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PiLLaO

Members
  • Posts

    473
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PiLLaO

  1. Sorry. I tried again, and products and categories redirectes correctly, but manufacturer still don't redirect I used a fresh oscommerce 2.2 install with ultimate seo urls on localhost. products and categories redirect ok, manufacturer don't redirect. Thanks for your support :)
  2. Sorry, Categories urls redirect correctly, but products url don't. I look in catalog/includes/classes/seo.class.php and in need_redirect funtion are code for -c- and -p- urls, but in chec_redirect funtion only for -c- urls. I think this will be the code to manufacturers for need_redirect: else if (($pStart = strpos($this->uri_parsed['path'], "-m-")) !== FALSE) { if (($pStop = strpos($this->uri_parsed['path'], ".html")) !== FALSE) { $forceRedirect = $this->VerifyLink($pStop, $pStart); //remove things that shouldn't be there if ($this->attributes['USE_SEO_PERFORMANCE_CHECK'] == 'true') $this->performance['NUMBER_QUERIES']++; $mID = substr($this->uri_parsed['path'], $pStart + 3, -(strlen($this->uri_parsed['path']) - $pStop)); $sqlCmd = $this->attributes['USE_SEO_HEADER_TAGS'] == 'true' ? 'IF(md.manufacturers_htc_title_tag_url !="", md.manufacturers_htc_title_tag_url, m.manufacturers_name) as mName' : 'm.manufacturers_name as mName'; $sql = "SELECT " . $sqlCmd . " FROM " . TABLE_MANUFACTURERS . " m LEFT JOIN " . TABLE_MANUFACTURERS_INFO . " md ON m.manufacturers_id = md.manufacturers_id WHERE manufacturers_id = '" . (int)$mID . "' AND md.languages_id = '" . (int)$this->languages_id . "' LIMIT 1"; $result = $this->DB->FetchArray( $this->DB->Query( $sql ) ); $mName = ''; if ($this->attributes['SEO_ADD_CPATH_TO_PRODUCT_URLS'] == 'true') { $mName = $this->get_all_category_parents($pID, $mName); $mName = str_replace(" ", "-", $mName) . '-'; } if ($forceRedirect || ($mName !== substr($this->uri_parsed['path'], 0, $pStart))) { $this->uri_parsed['path'] = $mName . "-m-" . $pID . ".html"; $this->need_redirect = true; $this->do_redirect(); } } } I don't know how will be the code for chec_redirect funtion :(
  3. Hello, It's normal that a wrong manufacturer url doesn't change to the correct url? Example: www.myweb.com/menufcaturer-m-1.html doesn't redirect to www.myweb.com/manufacturer-m-1.html Thanks in advance!!
  4. Show all files, but only the files that are in root
  5. Thanks for your answer. With this code, HTS shows all files include files that don't have (template_top.php or HTS require). I must to revise all the installation because HTS don't save my changes, maybe for my recently update from 3.2.5 to 3.3.0 Thanks for your time.
  6. Hello, I'm using HTS v3.3.0, The contribution works perfectly :) My shop is 2.2 RC, and I'm using 'template_top.php' in all my pages to load jquery and HTS in my web. The code of HTS works fine, but in admin don't show the pages to edit like index.php, product_info.php, etc. The meta description, keywords, etcs.. that I put before start to use 'template_top.php' in my osc 2.2 are show when you access to catalog (index.php, product_info.php, etc) I use a comparation tool (winmerge) and the files for 2.2 and 2.3 are the same (except table and divs) If I use my 2.2 files in 2.3, HTS find the new files and I can edit, but If use 2.3 files in 2.2 (for example specials.php and template_top.php) HTS don't find specials.php Any Ideas where I must to look?
  7. Sorry, I don't understand correctly the first time :blush: Thanks for all :thumbsup:
  8. The second piece of code that you posted here is part of another function, must I delete too?
  9. More problems :( Now, when I drag a product into shopping cart box... shopping cart box update total but ajax_checkout don't (for me isn't a problem, I don't like the drag option) If a delete a product pressing cross button, total doesn't update
  10. Awesome! I can drag the product haha Step 3, if I drag the product, only shopping cart box is update The other fix... I'll try it, but I only have a little knowledge about php and css. Anyway if I can make it works I'll post it :)
  11. To do step 3 I will look for a box with buy button :blush: If I comment this code (line 794), when I press minus/plus button comments aren't delete but, subtotal, shipping cost and total that is under the black line doesn't update. Shopping cart box and subtotal thats appears over the black line update correctly
  12. I don't have the code that you say me to remove Free shipping isn't enabled :) Making step 1 comments aren't deleted Making step 2 comments are deleted, when I increase o decrease one product, comments are deleted. Making step 3, I think that I don't understand you correctly, if I go to product listing to add a new product, comments are deleted, but shipping and payment method too Thanks for your time :)
  13. Hello, The fix for comments box doesn't works to me :( The other fixes works perfectly :)
  14. When you change de shipping method this change correctly, there isn't problem. But if you want to change the shipping method selected, you click on edit and the shipping method that you choose previously should be selected on radio buttons, and always is selected the flat rate :( If you write some order comments in the comments box, and then you change the shipping method or payment method or increase/decrease a product... this comments that you wrote previously are deleted. Thanks in advance :) Sorry for my bad english :(
  15. I think I found a minor bug for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) { // set the radio button to be checked if it is the method chosen $checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false); if ( ($checked == true) || ($n == 1 && $n2 == 1) ) { echo ' <div id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . '); ajaxPerformShippingSelection();">' . "\n"; } else { echo ' <div class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . '); ajaxPerformShippingSelection();">' . "\n"; } ?> <span><?php echo $quotes[$i]['methods'][$j]['title']; ?></span> <?php if ( ($n > 1) || ($n2 > 1) ) { ?> <span><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></span> <span><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], '', 'id="shipping_'.$radio_buttons.'"');?></span> <?php } else { ?> <span style="float: right;"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], 'id="shipping"'); ?></span> <?php } ?> </div> <?php $radio_buttons++; } $shipping['id'] doesn't change and always shows checked the first option. If you choose to change the shipping method, it change to the first option automatically ignoring your previous option. Payment options have the same issue, but it doesn't show selected the previous option, so... not affect you.
  16. Hello, With the last change, my account button in header lost rounded border. o:)
  17. Thanks for the fix, it works!! I think that this piece of code in ajaxManager.js is from another contribution, yes? $('#logoffButton').show(); $('.noDisplay').show(); Thanks for all ;)
  18. Cosmetic fix: In ./ajax/classes/ajaxManagerTest.class.php Find: <p style="float:right;"><?php echo TEXT_CREATE_NEW_PAYMENT_ADDRESS; ?></p> <div><?php require('ajax/includes/' . 'checkout_new_address.php'); ?></div> And replace with: <p style="float:right;"><?php echo TEXT_CREATE_NEW_PAYMENT_ADDRESS; ?></p> <div style="clear: both;"></div> <div><?php require('ajax/includes/' . 'checkout_new_address.php'); ?></div> And find: <p style="float:right;"><?php echo TEXT_CREATE_NEW_SHIPPING_ADDRESS; ?></p> <div><?php require('ajax/includes/' . 'checkout_new_address.php'); ?></div> Replace with: <p style="float:right;"><?php echo TEXT_CREATE_NEW_SHIPPING_ADDRESS; ?></p> <div style="clear: both;"></div> <div><?php require('ajax/includes/' . 'checkout_new_address.php'); ?></div> ;)
  19. I need to apply this two bugfix to make create account work, thanks for this patches :)
  20. Perfect! Tonight I was tired and don't tried with the correct class :( About the new update, is more fast than previous :) but en ajax_checkout.php when you push on minus or more button, the shopping box delete his products and shows empty. The quantity update is made, but shopping_box don't show any item. Thanks for all :)
  21. Thanks for the update and the fix, it's works perfectly :) Will be possible to make the same in ajax_checkout.php ? I don't have idea how I can do it :( Thanks in advance.
  22. I can't edit my previous post :( In shopping_cart.php finding this: '<span class="delete" onclick="return($(this).cartRemoveAction(\''.$products[$i]['id'].'\'));" style="visibility:hidden; cursor: pointer;" rel="' . $products[$i]['id'] . '">' And replacing by this: '<span class="delete" onclick="return($(this).cartRemove());" style="visibility:hidden; cursor: pointer;" rel="' . $products[$i]['id'] . '">' Shows a confirmation dialog box. Now I'm looking to make the same in ajax_checkout.php Bye!!
×
×
  • Create New...