Jump to content
Latest News: (loading..)

Jonojamesmac

Members
  • Content count

    145
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jonojamesmac

  1. Jonojamesmac

    ULTIMATE Seo Urls 5 - by FWR Media

    I've just installed this over a fresh copy of 2.2a, followed the instructions in the documentation and enabled SEO URL's in the admin however, there doesn't seem to be any change, i've checked and doubled checked everything and it just doesn't seem to work for me.
  2. Jonojamesmac

    'Add to cart' showing empty shopping cart

    Try and replace <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . $submit_button; ?> with <a href="<? echo tep_href_link("products_info.php","action=buy_now&products_id=".$p_id).'">'.$submit_button; ?></a>
  3. Jonojamesmac

    Can't load catalog addon links, Please Help!

    You have missed a step in your installation instructions which mentions adding code into filenames.php and the english.php language file. Double check you've done everything.
  4. Jonojamesmac

    'Add to cart' showing empty shopping cart

    In your root directory, create a file called robots.txt in that put the following: User-Agent: * Disallow: / This will block all robots from indexing your website.
  5. Jonojamesmac

    'Add to cart' showing empty shopping cart

    in product_listing.php change if($products_new['products_quantity'] <= 0 || $products_new['products_status']==0) { to if($listing['products_quantity'] <= 0 || $listing['products_status']==0) { This should change all your listings except possibly your front page, what are the products that appear on the frontpage? New? Upcoming? or random?
  6. Jonojamesmac

    'Add to cart' showing empty shopping cart

    Did you add into product_listing.php? Can you paste your index code here?
  7. Jonojamesmac

    'Add to cart' showing empty shopping cart

    add the bits on this line $select_str = "select distinct " . $select_column_list . " m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price "; you already made the other changes in product_listing.php if not, find includes/modules/product_listing.php and make the other changes there. The variable in product_listing.php is $listing['products_status'] and $listing['products_quantity'] For your index file, paste it here and let me see.
  8. Jonojamesmac

    'Add to cart' showing empty shopping cart

    if($products_new['products_quantity'] <= 0 || $products_new['products_status']==0) { change to if($specials['products_quantity'] <= 0 || $specials['products_status']==0) { I did explain above your post, but you may not have seen it.
  9. Jonojamesmac

    'Add to cart' showing empty shopping cart

    You'll need to change the products_new parts for the different files. Like i think specials.php is specials and products_info.php is product_info . Remember to add the bits to the queries.
  10. Jonojamesmac

    'Add to cart' showing empty shopping cart

    Try changing if($product_info['products_quantity'] <= 0 || $product_info['products_status']==0) { to if($products_new['products_quantity'] <= 0 || $products_new['products_status']==0) { you will also need to add the code to pull the info its basing the button off from the database change $products_new_query_raw = "select p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on (p.manufacturers_id = m.manufacturers_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_date_added DESC, pd.products_name"; to $products_new_query_raw = "select p.products_id, p.products_status, p.products_quantity, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on (p.manufacturers_id = m.manufacturers_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_date_added DESC, pd.products_name"; all that this is doing is adding p.products_status, p.products_quantity to the query. Just a hunch, may or may not fix it
  11. Jonojamesmac

    404 error with more pics

    paste your products_info.php here and also others linking in, imagemagic.php etc
  12. Jonojamesmac

    RSS Syndication Limited content

    you just want to limit the length of the description? if so where echo $desc; use echo substr($desc, 0, 30); that will limit the output string by 30 characters, set to what you want.
  13. Jonojamesmac

    Scrolling Special Box IE problem

    Can you post a link to your site?
  14. Jonojamesmac

    iPhone/iPod Touch Web App

    change the file permissions, to read and execute aka chmod the files to 775 or so..
  15. Jonojamesmac

    iPhone/iPod Touch Web App

    You need to browse to the directory you uploaded it to.
  16. Jonojamesmac

    iPhone/iPod Touch Web App

    You need to fill in your database connection info.. you can find that in your shop configuration files at includes/configure.php
  17. Jonojamesmac

    option_type contribution attribute error

    can you see if the { on the bold line is closed anywhere? That or you could try adding an extra } above //OTF Contrib Ends
  18. Jonojamesmac

    Defect Manager Support

    These instructions in the instructions notepad file included in the package should fix those. 3b. Open admin/includes/languages/english.php Find: ?> Add Before: //Defect Manager 1.3 define('BOX_HEADING_DEFECTS', 'Defect Manager'); define('BOX_DEFECTS', 'Defects'); define('BOX_DEFECTS_PRIORITY', 'Defects Priority'); define('BOX_DEFECTS_SEVERITY', 'Defects Severity'); define('BOX_DEFECTS_STATUS', 'Defects Status'); define('BOX_DEFECTS_USERS', 'Defects Users'); define('IMAGE_NEW_DEFECT', 'New Defect'); define('IMAGE_NEW_DEFECT_PRIORITY', 'New Priority'); define('IMAGE_NEW_DEFECT_SEVERITY', 'New Severity'); define('IMAGE_NEW_DEFECT_STATUS', 'New Status'); define('IMAGE_NEW_DEFECT_USER', 'New User'); define('TEXT_DISPLAY_NUMBER_OF_DEFECTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> defects)'); define('TEXT_DISPLAY_NUMBER_OF_DEFECTS_PRIORITY', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> priorities)'); define('TEXT_DISPLAY_NUMBER_OF_DEFECTS_SEVERITY', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> severities)'); define('TEXT_DISPLAY_NUMBER_OF_DEFECTS_STATUS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> statuses)'); define('TEXT_DISPLAY_NUMBER_OF_DEFECTS_USERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> users)'); //Defect Manager 1.3 3c. Open admin/includes/filenames.php Find: ?> Add Before: //Defect Manager 1.3 define('FILENAME_DEFECTS', 'defects.php'); define('FILENAME_DEFECTS_USERS', 'defects_users.php'); define('FILENAME_DEFECTS_PRIORITY', 'defects_priority.php'); define('FILENAME_DEFECTS_SEVERITY', 'defects_severity.php'); define('FILENAME_DEFECTS_STATUS', 'defects_status.php'); define('FILENAME_DEFECTS_CSV', 'defects_csv.php'); //Defect Manager 1.3
  19. Jonojamesmac

    Main categories in front page - Remove Text?

    includes/main_categories.php remove from line 178 <a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $categories['categories_name'] . '</a>
  20. Jonojamesmac

    A little Help PLEASE

    Most contributions contain installation instructions, head over to contributions page unzip it and follow the instructions included. I'm afraid that for someone to do it for you would require access to your files and possibly server. Possibly a cost may be involved.
  21. Jonojamesmac

    Move the extra fields

    The function to show categories is contained in 2 files. Remove one and it will work, which one is your choice :P
  22. Complete the instructions, then see what errors occur then.
  23. Jonojamesmac

    customer attributes

    Like this? http://addons.oscommerce.com/info/3737
  24. Jonojamesmac

    Question About Discounts

    There are many modules around on the contributions page for this kind of thing... For the £20.00 off over £150 you could try using this contribution. http://addons.oscommerce.com/info/2990
×