Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sportstolen

Pioneers
  • Posts

    88
  • Joined

  • Last visited

Posts posted by sportstolen

  1. The warning is caused by checking the code when not displaying a manufacturer. To fix it, you would need to add a variable that is available on all index.php sections and then check that before checking the manufacturers_id. It's not worth the effort, in my opinion.

     

    THanks for the help previously!

     

    I would be interested in the solution to this if its not to much job for you :)

     

    tried with this in index.php but itwould not help.

     

    if (isset($HTTP_GET_VARS['manufacturers_id'])){
    $HTTP_GET_VARS['manufacturers_id']='';
    }
    

     

    i need to se the notices when i upgrade to php 5.3 instead of these.

  2. Hi Jack..

     

    You installed this to our oscommerce store last year.

     

    I´m getting this php notice:

     

    [30-Sep-2013 23:29:35] PHP Notice: Undefined index: description inl/includes/functions/header_tags.php on line 50
    [30-Sep-2013 23:29:35] PHP Notice: Undefined index: logo in l/includes/functions/header_tags.php on line 52
    

     

    Running version 3.2.9.

     

    can i make this edit without breaking something? the notices is gone if i replace tep_not_null with isset

     

     

    From:

    if (! tep_not_null($header_tags_array['logo'])) $header_tags_array['logo'] = $pageName . (tep_not_null($tmpTags['def_logo_text']) ? HEADER_TAGS_SEPARATOR_DESCRIPTION . ' ' . $tmpTags['def_logo_text'] : '');
    

     

    from:

    
    
    if (isset($header_tags_array['logo'])) $header_tags_array['logo'] = $pageName . (tep_not_null($tmpTags['def_logo_text']) ? HEADER_TAGS_SEPARATOR_DESCRIPTION . ' ' . $tmpTags['def_logo_text'] : '');
    

  3. Why would someone need to reload the page? What version are you using? If you are using 1.5 they have a new button that uses AJAX to reload the shipping and payment methods without reloading the page. This makes a better user experience so that they don't have to see the shipping/payment methods reload with every change in the event they need to change information.

     

     

    Maybe not reload, but if someone does it i dont want them to fill in all fields again. Im using 1.4.

     

    Same if they go to the paymentprocessor and then click cancel to go back to my shop the customer details is gone.

     

    There must be some way to save this information in session.

     

    Im going to dig in the subject.

  4. hve been searching for almost one hour now,

     

    When i have filled in all customer details ( not logged in) and make a page reload all customer details are gone, thats not so good..

     

    If a customer just want to check the shipping cost and enters all fields and then go back and come back to checkout they have to fill out all fields again.

     

    In the third one page the say the took this ability away - Why?

     

    I tried to check those files out but it didnt work.

     

    Thanks for some input to the problem!

     

    Regards.

  5. The solution is as it is, i paied for that and on my site it work.

     

    Check it here: www.drako.it

     

     

    Yes it works on your site, are you sure the programmer didnt change somewhere else?

     

    Maybe its because youre site is hosted on windows server and mine on linux server.

     

    I have ultimate seo urls installed i saw you didnt. maybe its something with that to.

     

    Its very strange because it use to be explorer that not working :)

     

    Somebody else got it working with drakos code?

     

    Many thanks for sharing!!

     

    I will to if i get it to work.

  6. Per the instructions, you've probably made a mistake in the path in the .htaccess file. You'll need to post the version you are using, your .htaccess file and the url to your shgp if you want that checked.

     

    well i hope i didnt do any mistake because the installation is pretty easy :)

     

    The seo urls is working, but if one clicks a link to a product that isnt active i get the loop, i should get the text "product not found" this link is an example with a product that is marked out of stock www.sportstolen.se/batterier-24st-p-545.html

     

    The version im using is Ultimate SEO 2-2.2d-9 by jack_mcs :)

     

    Here is my url www.sportstolen(.)se

     

     

     

     

     

    here is my htaccess

     

    can i delete some rewrite if i dont use contribs like article manager and so on?

     

    Thanks for the help!

     

    Options +FollowSymLinks
    RewriteEngine On 
    RewriteBase /
    
    
    
    
    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}

  7. Jonathan

     

    You wouldneed to loop through all the products in the cart and check if any of them is for one of your "only drop ship" manufacturers.

     

    Then if it is stop selected delivery methods from working.

     

    I have not seen anything that does this but it can be done.

     

    HTH

     

    G

     

    okey thanks, i thought it would be as easy as the code i posted but only change the code to $manufacturer or something.

     

    I hope somebody else could help me then!

  8. is this possible?

     

    i have found this wich working good

    if ( ($cart->in_cart(545)) || ($cart->in_cart(545)) ) return false;

     

    but i would like te exclude a whole manufacturer by id.

     

    it would take som time to do this manually with 1000 of products.

     

    the resaon is that we want to dropship some products and dont want to offer cod on those products.

     

    Thanks

  9. I had

    Search Tag Cloud http://addons.oscommerce.com/info/5498

    Dibs payment http://addons.oscommerce.com/info/4192

    Detailed monthly sales http://addons.oscommerce.com/info/5961

    Offline store http://addons.oscommerce.com/info/6332

     

    After i had installed everything in a fresh oscommerce installation i got an error when trying to make the purchase with a logged on account.

    ------------------------------------------------

    Address Errors

    ------------------------------------------------

    Confirmation password does not match the password.

     

    This happens when i use the login button on the checkout page, but if i then go from the checkout page to another one and back again it works fine.

    Does anyone know how to fix this error?

     

    I have already tried this solution

    find on line 1122:

     

    $sql_data_array = array(

    'customers_firstname' => $onepage['billing']['firstname'],

    'customers_lastname' => $onepage['billing']['lastname'],

    'customers_email_address' => $onepage['customer']['email_address'],

    'customers_telephone' => $onepage['customer']['telephone'],

    'customers_fax' => $onepage['customer']['fax'],

    'customers_newsletter' => $onepage['customer']['newsletter'],

    'customers_password' => tep_encrypt_password($onepage['customer']['password'])

    );

     

     

     

    replace with:

     

    $sql_data_array = array(

    'customers_firstname' => $onepage['billing']['firstname'],

    'customers_lastname' => $onepage['billing']['lastname'],

    'customers_email_address' => $onepage['customer']['email_address'],

    'customers_telephone' => $onepage['customer']['telephone'],

    'customers_fax' => $onepage['customer']['fax'],

    'customers_newsletter' => $onepage['customer']['newsletter'],

    'customers_status' => '1',

    'customers_password' => tep_encrypt_password($onepage['customer']['password'])

    );

     

     

    And i have read through the pages from where steve is refering to in this thread.

     

    -Thomas

     

     

    is that all your modules? I dont think those modules would harm something with this mod.

     

    Can you send me pm with store adress so i can take a look?

  10. Tried with an fresh install of oscommerce and then i worked just fine, so there must be some code on the other installation i have made that screws up the code you gave me sportstolen.

     

    Thank you so much for helping me with this problem :)

    Merry christmas to you and everyone else on the forum.

     

    -Thomas

     

     

    what other modules do you have installed?

  11. That's correct i want to update the payments after selecting shipping method.

    Changed the code as you suggested but nothing happened, the only time a payment module is hiding is when i either check the different address box or change the zip code.

     

    -Thomas

     

     

    with this http://www.oscommerce.com/community/contributions,2965

     

    AND the code i gave you it works in my page, if i choose zones i can pay with cod, but if i choose someother shipping it dissapears. wasnt that how you wanted it?

  12. I will look some more at that file to see if i could figure it out :)

    But if you have the time and find what you changed i very happy if you share it with me.

     

    -Thomas

     

     

    I havent made that modification myself. but if i understand you right you want to update payment methods after selecting shipping??

     

    If so try this:

     

    on ~line 620 find this code:

    setShippingMethod: function ($button){
    	if (this.shippingEnabled == false){
    		return false;
    	}
    
    	var checkoutClass = this;
    	this.setModuleMethod('shipping', $button.val(), function (data){
    	});
    
    
    
    },

     

    Replace with this

     

    setShippingMethod: function ($button){
    	if (this.shippingEnabled == false){
    		return false;
    	}
    
    	var checkoutClass = this;
    	this.setModuleMethod('shipping', $button.val(), function (data){
    	});
    
    		this.updatePaymentMethods(true);
    
    },

     

    Please tell us if it works

×
×
  • Create New...