sportstolen
-
Posts
88 -
Joined
-
Last visited
Posts posted by sportstolen
-
-
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.
-
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'] : '');
-
Why does one want to collect bank account number? (I assume its not credit cards you mean)
I mean, what can you do with someone's bank account number?
-
Hi
Can you make so the loading image are shown a little bit longer?
-
Hi!
Where do you want the box to show? open up column_left.php and put the code in there somewhere between the <?php
It depends on what host you have, do you have a cpanel? if, log in there and you can click a link whre it says phpmyadmin, in there uou select your database and press the sql tab and paste in the code and click run.
-
http://addons.oscommerce.com/info/6987
Installed this. Looks good but it only outputs one level subs.
Is it possible to make it show more levels?
Can somebody point me in the right direction?
-
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.
-
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.
-
I was thinking of this feature for my admin, but i dont have the knowledge of coding it.
Are there anybody else who would want this?
Somebody who can do it and we share the cost.
send me an pm.
-
Neither of these solutions have worked for me! Any help would be greatly appreciated!
Kal
I use jquery 1.5.1 and applied drakos ajax.sc.js and that did the trick.
-
lol!
Check your version with jquery, i had 1.3.1.js and that was to old i guess, updated jquery and it worked with drakos code!
Many thanks drako! really appreciate 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.
-
i have sent an email to the author of this contribution and asked if he could take a look at it.
-
Thanks fort the "new jax_sc.js" but im sorry to say that is not working!
Can you send an pm with your url so i can take a look if you got it to work.
-
Hi!
Is it possible to only view those products that we have edit to an specific car model?
I want to edit all products but it will take to much time to do it in one time, therefor its better that customers only can view products that we have edit.
Hope you understand me :)
-
seems like i found the problem, i have added to my prduct info that one can ask a question about the product and put the whole code to that module in product_info and now i delete that and it works :)
Thanks for your time!
-
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}
-
hi, when i click on a link to a product that is not availible in admin (marked red in categories) i get a "The page is not redirecting properly message" my girlfriends site is working if i click on a link to an product out of stock but not mine..
Any body have a clue?? can i see in some way where it redirects?
Thanks in advance.
-
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!
-
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
-
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?
-
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?
-
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?
-
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
problems with multiple categories per product
in General Add-Ons Support
Posted
Hello.
Have an strange problem with this contibution
http://addons.oscommerce.com/info/8187
When i make a new product in the top category it selects an category from the start = category id 327.
If i go in to a category and make new product it selects the category that im in to AND the same category as above =category id 327
Someone got this contrib wokring normally?