Jonojamesmac
Archived-
Posts
145 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Jonojamesmac
-
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
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> -
Can't load catalog addon links, Please Help!
Jonojamesmac replied to jenjoyx99's topic in General Add-Ons Support
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. -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
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. -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
Sent pm :) -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
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? -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
Did you add into product_listing.php? Can you paste your index code here? -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
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. -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
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. -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
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. -
'Add to cart' showing empty shopping cart
Jonojamesmac replied to yesitshere's topic in General Add-Ons Support
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 -
paste your products_info.php here and also others linking in, imagemagic.php etc
-
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.
-
Can you post a link to your site?
-
change the file permissions, to read and execute aka chmod the files to 775 or so..
-
You need to browse to the directory you uploaded it to.
-
You need to fill in your database connection info.. you can find that in your shop configuration files at includes/configure.php
-
option_type contribution attribute error
Jonojamesmac replied to codyfresh's topic in General Add-Ons Support
can you see if the { on the bold line is closed anywhere? That or you could try adding an extra } above //OTF Contrib Ends -
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
-
Main categories in front page - Remove Text?
Jonojamesmac replied to Daft Moniker's topic in General Add-Ons Support
includes/main_categories.php remove from line 178 <a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $categories['categories_name'] . '</a> -
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.
-
The function to show categories is contained in 2 files. Remove one and it will work, which one is your choice :P
-
Help with installation Section Database Changes
Jonojamesmac replied to cthatche's topic in General Add-Ons Support
Complete the instructions, then see what errors occur then. -
Like this? http://addons.oscommerce.com/info/3737
-
Question About Discounts
Jonojamesmac replied to lisameansbusiness's topic in General Add-Ons Support
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 -
Problem in catalog/article_info.php
Jonojamesmac replied to ealv68's topic in General Add-Ons Support
has TABLE_HEADERTAGS been defined in include/database_tables.php? like so define('TABLE_HEADERTAGS_DEFAULT', 'headertags_default'); define('TABLE_HEADERTAGS', 'headertags');