Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

EIF

Pioneers
  • Posts

    25
  • Joined

  • Last visited

Posts posted by EIF

  1. If you can't edit a product, the categories.php file is at fault. Replace yours with the included one. If you can now edit a product, compare the two files to find the problem.

     

    Thanks! I compared both files. Mine was a little messed up. It works now. Great contribution!

  2. Standard works out of the box but the rewrite version requires .htaccess RewriteRules and mod_rewrite compiled in apache as per the instructions.

     

    In my .htaccess file I added the following code:

     

    Options +FollowSymLinks
    <IfModule mod_rewrite.c>
     RewriteEngine On
    
    RewriteBase /
    
     RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php?products_id=$2&%{QUERY_STRING}
     RewriteRule ^(.*)-c-([0-9_]+).html$ index.php?cPath=$2&%{QUERY_STRING}
     RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
     RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
     RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
     RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
    
    </IfModule>
    

  3. I read this threat, but can't find the answer for my problem.

     

    This contribution works fine, setting the url format on Standard.

    Switching to Rewrite however, navigation fails. Clicking on a product, the site navigates to the root. (local it goes to http://localhost. The shop is in http://localhost/shop)

     

    Clicking on a product in the specials box, I get returned 'object not found' error.

     

    I do not have any redirect javascripts running.

     

    Can someone please help me out?

  4. Read the troubleshooting section in the install files.

     

    I still can't figure out what is wrong, after reading the trouble shoot?

    I set the permissions right, but stil can't edit the product title tag, description tag or keywords tag by myself.

     

    Can someone please help me out?

  5. I installed this contribution and it works great, except one thing.

     

    When you add a new product, you can fill in the 3 fields: Product title tag, Product description tag, Product keyword tag.

    After doing that, I save/add my new product. But when going back to edit the product, all the filled in tags are gone.

     

    I do can automatically fill in the 3 fields with the product title. I also do can automatically fill in the description tag.

    But I want to add/edit those tags by my self.

     

    What is it, why I can't save the manually added tags?

  6. I want to install this must have contribution. But also have the "product listing enhancement" installed (http://addons.oscommerce.com/info/6051)

    These two are conflicting with each other. Can't add products to the cart anymore from the listing. Or when in the product_info, I can, but when go to another product, the cart is empty again.

     

    Does someone has experience with both contribution and can help me out?

  7. The what's new box has changed in this contribution. Instead random selected products, it shows new products in an array with a default direction.

    For example: show pic 1, pic 2, pic, and so on. Perfectly for the main index page.

     

    But when the vistor navigate to products, the what's new box starts over again, beginning showing pic 1 in the samen default direction. Then the vistor navigate further to another product and again the what's new box starts over again, beginning with pic 1. When navigating quite fast, always the samen product will show up in the what's new box.

     

    I want this contribution the what's new box displays products at random. Can someone help me out?

  8. Hmmm, I see already changed it to 0px. But now I remembered when it went wrong.

    I installed the contribution "pure css button image swap". When I restore my backup, the detail button levels with the buy now. This contribution messed the thing up.

     

    When I delete the _over image, the details and buy now button levels again.

     

    This contribution uses the following code in html_output.php. Does someone what to change to correct this problem?

     

    ////
    // The HTML form submit button wrapper function
    // Outputs a button in the selected language
     function tep_image_submit($image, $alt = '', $parameters = '') {
       global $language, $button_class;$image_src = tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image);
    	$iefix = '<a href="javascript:void(0)">'; //set to $iefix = ''; if your using an xhtml doctype
    	list($width, $height) = getimagesize($image_src);
    	$idx = strrpos($image,'.'); $id = substr ($image,0,$idx);
    	$hover_image = tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $id . "_over" . substr ($image, $idx));
    	$hover = file_exists($hover_image);
       $image_submit = '<input type="image" src="' . $image_src . '" border="0" alt="' . tep_output_string($alt) . '"';
       if ($hover) $image_submit = $iefix . '<img alt="" src="' . $hover_image . '" style="display:none" /><input type="submit" value="" class="' . $id . '"';
       if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "';
    
       if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters;
    
       $image_submit .= '>';
    	if ($hover && $iefix) $image_submit .= '</a>';
       if ($hover) $button_class .= '.' . $id . ' { border: none; background: url("' . $image_src . '") no-repeat top left; width:' . $width . 'px; height:' . $height . 'px; cursor:pointer;}  input.' . $id . ':hover, a:hover input.' . $id . ' { border: none; background: url("' . $hover_image . '") no-repeat top left;  }  ';
    
       return $image_submit;
     }
    
    ////
    // Output a function button in the selected language
     function tep_image_button($image, $alt = '', $parameters = '') {
       global $language, $button_class; $image_src = tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image);
       list($width, $height) = getimagesize($image_src);
    	$idx = strrpos($image,'.'); $id = substr ($image,0,$idx);
    	$hover_image = tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $id . "_over" . substr ($image, $idx));
    	$hover = file_exists($hover_image);
    	$button = '<img alt="" src="' . $hover_image . '" style="display:none" /><img src="' . DIR_WS_IMAGES . 'pixel_trans.gif' . '" class="' . $id . '" alt="' . tep_output_string($alt) . '"';
    	if (tep_not_null($alt)) $button .= ' title=" ' . tep_output_string($alt) . ' "';
    	if (tep_not_null($parameters)) $button .= ' ' . $parameters;
    	$button .= '/>';
    
    	if ($hover) { $button_class .= '.' . $id . ' { border: none; background: url("' . $image_src . '") no-repeat top left; width:' . $width . 'px; height:' . $height . 'px; cursor:pointer;}  a:hover img.' . $id . ' { border: none; background: url("' . $hover_image . '") no-repeat top left;  } '; return $button;
    				 } else {
       return tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image, $alt, '', '', $parameters); }
     }
    

  9. Hello mate. I'm no pro either but I've been through the same issue. You're looking at the following entries in stylesheet.css

     

     

     

    .infoBoxProducts {

    margin-bottom:-14px;

    }

     

     

    /* set pos buy/details button on list */

    img.buy_now { margin-bottom:10px; }

     

     

    /* set pos buy/details button on thumbnail */

    img.thm_buy_now { margin-bottom:0px; }

     

     

     

    Those values are mine, but the last one ensures that my buy now and details buttons are side by side in the thumbnail setting. To get the horizontal space between them down to zero, like in the screenshot in my previous unanswered post, you'll need to find the appropriate "|" symbol in includes/modules/product_listing.php and take it out, along with the " " on either side of it.

     

    Hmmm, I see already changed it to 0px. But now I remembered when it went wrong.

    I installed the contribution "pure css button image swap". When I restore my backup, the detail button levels with the buy now. This contribution messed the thing up.

  10. I would expect that with that url, as its missing the cPath= bit, that says what category your in. Is your site useing cpath instead of cPath?

     

    When you click on a category do you see cPath in the url, if not its an issue with your category menu.

     

     

    When I click a a category, the url is: index.php/cPath/25?osCsid=10f8e279abce8c8ebaa4888f23642990.

    Then I want to sort and it goes to: index.php?sort=3d&osCsid=10f8e279abce8c8ebaa4888f23642990, being in home/index again.

  11. Cant say as I don't know where your error is!!

     

    Make sure all your forms are correctly closed & not nested

     

    If your using a template, remeber they often have many issues due to bad coding.

     

    The only other thing I can offer is the url u should see after clicking a link should be like:

     

    /index.php?cPath=3_15&sort=0d&max=40

    Oh & on that if u have some seo url contrib, some can mess things up too

     

    Hmmm, I still can't figure out what goes wrong.

    I don't use any templates or a SEO contribution.

     

    When I change/click, I indeed see the following address: /index.php?sort=2a&max=40&osCsid=bfc1348d2fbac8a929cf287e5354f5bc.

    But it doesn't sort, it goes back to home/index... :angry:

  12. I use this contribution with the lightbox effect enabled. It works great, but I was expecting if there are more images, the tumbnails of those images also shows up in de lightbox popup.

    Now it shows the clicked images, or the images when you click 'prev' or 'next'.

    What I want to see is al those thumbails of the extra images, so I can click them as well, being in the lightbox pop up. This way I can easily jump from pic no. 3 to pic no. 12. Now I need to click 9 times on 'next'.

     

    Does someone has a solution?

  13. I just copied the needed files to install this contribution.

    But when I go to: admin/additional_images_configure.php, the following error shows up:

     

    Fatal error: Call to undefined function tep_hide_session_id() in C:\xampp\htdocs\webshop\admin\additional_images_configure.php on line 381

     

    I already changed the html_output.php, but it doesn't fix the problem.

     

    Does someone knows what to do?

     

     

    Edit: Never mind... I changed the wrong html_output.php. (did not changed the one in the admin directory, but the other one.

×
×
  • Create New...