Latest News: (loading..)

freakystreak

Members
  • Content count

    147
  • Joined

  • Last visited

About freakystreak

Profile Information

  • Real Name
    Richard Jones
  1. Many thanks pal. I did use some osC functions so I will recreate my 404 page without any.
  2. Hi, having a little difficulty in getting my not found urls to go where I want them. Ok, in the admin I have set the not found url method to equal '404 include page' and set the page for any 404 errors toa custom page. When I try and use this I just get a blank page. I've tried resetting the alias cache file but it's not working. Previously any unfound page went to the index.php page but I'm getting complaints from Google that I'm not using a 404 status code hence the change I'm trying to carry out. Any ideas?
  3. I'm trying to create a custom vendor tx code to pass through to Sagely via sagely direct. I can see where this is generated in the sagely module but has anyone managed to set the tx code to be the actual order number? Would this involve including the order I'd via the orders class? Any help would be greatly appreciated.
  4. Really love this addon. But, you knew there would be a but didn't you. For some strange reason when I have SEO Friendly URLS enabled alongside 'HeaderTags SEO V 3.2.9 ( I originally had this installed) all meta tags on the product_info page disappear. Every other page leading up to that page work fine. The url is produced as expected but no meta tags. Any thoughts on this? I have tried to remove HeaderTags SEO but it caused all kinds of problems on my store. Thanks and keep up the good work..
  5. Thanks for the suggestions. I tried to fix open_basedir restriction but this caused a 500 server error. I can confirm that the SEO Friendly URLS configurations are indeed installed. As I pointed out, the add-on works, it's just the apparent long time it takes to render/load the page. URLs are working as expected.
  6. Tried re-installing your add on and found I get these errors when I try to navigate to a category page for the first time.If I refresh the page the errors clear, the configuration data is added to the tables and the urls do work, it's just that it takes around 1-2 minutes for the page to load onse the add-on is enabled in the admin. I suspect it's something to do with the class file. Hope this helps: Warning: constant() [function.constant]: Couldn't find constant SEO_FRIENDLY_URLS_STATUS in /var/www/vhosts/xxxxxx/xxxxxx/includes/classes/seo_friendly_urls.php on line 791 Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/xxxxxx/xxxxxx/..) is not within the allowed path(s): (/var/www/vhosts/xxxxxx/xxxxxx/:/tmp/) in /var/www/vhosts/xxxxxx/xxxxxx/includes/classes/seo_friendly_urls.php on line 916 Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxxxx/xxxxxx/includes/classes/seo_friendly_urls.php:791) in /var/www/vhosts/xxxxxx/xxxxxx/includes/classes/seo_friendly_urls.php on line 814
  7. Thats great. I will await your next version before fiddling too much. I try your add on on a fresh, clean install and it worked fine. Maybe there's a conflict somewhere. Thanks for the reply...
  8. Firstly can I just say that this is a great idea and something I've been looking for for a long time. Thank you. However I am coming up against some trouble using it in my site. I previously used Ultimate SEO URLS 5 Pro and decided to remove that and install this contribution. Followed the instructions to both remove the old add on and add this. It works but it painstakingly slow. A page can take a few minutes to load. I'm not using HTTPS and as soon as I disable the friendly urls, the site is again loading quick. I checked and double checked the installations and made sure I removed the previous add on. Any suggestions? Could really use some help... Also, how does it work if I buy the Pro version. Something I'm very interested in doing as this is a very good add on.
  9. I'm having real problems with this add on and my heavily modded site. The discount works as it should but the problem I'm having is on checkout_payment.php. When a code is entered into the discount box, pressing enter to validate the code just forwards to the next page, checkout_confirmation.php. It should validate the code and let the user know if the code is valid or not. Looking at my checkout_confirmation page, if the code is accepted the discount is taken off but I need to show the customer on the checkout_payment page if they entered a wrong code or indeed the correct code. Any ideas on why the page would just forward to the next page? I suspect it's a javascript issue. Done some testing and it seems to be connecting to the discount_code.php page and passing back the data value.
  10. Apologises, I think I may found the problem. I've taken out the code that show the quantity box on the product info page and now the code works. Only, I need to show the quantity box on the product info page as well. The problem is passing the post value of 'buyqty' into the input field for the quantity box. I'm guessing it should be something like this: <span class="buttonAction"><?php echo '<span class="text">' . TEXT_ENTER_QUANTITY . ' ' . tep_draw_input_field('cart_quantity', $HTTP_POST_VARS['buyqty'], 'size="5" style="vertical-align:middle;"') . '</span> ' . tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?> although that doesn't work but something similar. Any ideas?
  11. Thanks for the responses. Ignoring the php quotes, which were included because I was under the impression that when adding code snippets you should include opening and closing php tags, my code is exactly what the install says. I've even used a default, fresh oscommerce installation to test and it does not pass the quantity from product listing to product info. application top case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) { if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])); } else { //modification by Alexander Dimelow (www.web-project.co.uk) if($HTTP_POST_VARS['buyqty']=="") { $quantity = 1; }else{ $quantity = $HTTP_POST_VARS['buyqty']; } //end of modification by Alexander Dimelow (www.web-project.co.uk) $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+$quantity); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; product listing case 'PRODUCT_LIST_BUY_NOW': $prod_list_contents .= '<td align="center">' . tep_draw_form('buy_now', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id='. $listing['products_id']), 'POST') . '<table cellSpacing="0" cellPadding="0" width="100%"><tr><td align="right" width="25%">' . tep_draw_input_field('buyqty', '1', 'size=3 maxlength=3') . '</td><td align="center" width="75%" valign="absmiddle">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart') . '<td align="absmiddle">' . '</td></tr></table></form>'; break; and even my product info <span class="buttonAction"><?php echo '<span class="text">' . TEXT_ENTER_QUANTITY . ' ' . tep_draw_input_field('cart_quantity', '1', 'size="5" style="vertical-align:middle;"') . '</span> ' . tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span> only thing added in the quantity box on the product_info.php because by default OSCommerce doesn't have one of that page.
  12. Has anyone managed to get this contribution to work? I've installed it but it will not add the quantity to the product_info.php page. Been working on this for about 6 hours now and I can't get it to work. Doesn't seem to be any support for it on here. My code: application_top.php <?php if (isset($HTTP_GET_VARS['products_id'])) { if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])); } else { if($HTTP_POST_VARS['buyqty']=="") { $quantity = 1; }else{ $quantity = $HTTP_POST_VARS['buyqty']; } $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+$quantity); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break;?> Here's my product_listing.php <?php$prod_list_contents .= ' <td align="center">' . tep_draw_form('buy_now', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id='. $listing['products_id']), 'POST') . '<table cellSpacing="0" cellPadding="0" width="100%"><tr><td align="right" width="25%">' . tep_draw_input_field('buyqty', '1', 'size=3 maxlength=3') . '</td><td align="center" width="75%" valign="absmiddle">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart') . '<td align="absmiddle">' . '</td></tr></table></form>'; break;?> Anyone got it to work?
  13. OK... Is there a way to turn off product attributes then?
  14. Firstly I must apologise if this post is in the wrong place. I currently have an 2.3.3 store that I 'm re-styling. I have these two contributions added to the store Simple Checkout 2.3..1 and AJAX Attribute Manager V2.8.10. I have been working on the product_info.php page and have come across this annoying problem. Could really do with some help on this. I want to remove the attribute drop down boxes and just display the attributes as text. I've coded something to list the attributes as a text list and it works nicely. I found the line where the attribut drop-downs are displayed and I commented them out. <strong><?php echo $products_options_name['products_options_name'] . ':'; ?></strong><br /><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?><br /> When I do this and try to add the product to the cart, it goes to the cart page but the cart is empty as is the mini-cart. Re-enable the line and it works fine. I think its something to do with passing the attribute value to the cart but I'm not sure on what to do to get it to work. Anyone have any ideas? I've also noticed that the cart takes a while to update. A good 10 seconds for a product to be added. Even if I switch on the one page store it stills takes a few seconds to add to the cart. Any ideas on this as well? Thanks
  15. Hi guys. Just wondering if anyone knows of any price break contribution that can easily be added to OSCommerce 2.3.3. I have tried to install this contribution http://addons.oscommerce.com/info/8040/v,23 but am having a few problems with it. I have posted on the contribution's support topic but as yet no answer. Need to get this feature installed for a store. Thanks