Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2007
    Posts
    71
    Plugin Contributions
    0

    Default How to not display "call to price"image in homepage?

    Because All of products on my site need calling to price, how to not display "call to price" image in homepage?
    Too many "call to price" will make visitors crazy.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How to not display "call to price"image in homepage?

    What do you want to do instead? To not display anything? If so, you could just replace the call for price image with a 1px transparent gif.

    Or if you only want to suppress it from those boxes on the front page (though they appear in three other places too) you would need to make some changes to the PHP in the modules files that generate their content.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: How to not display "call to price"image in homepage?

    Quote Originally Posted by kuroi View Post
    What do you want to do instead? To not display anything? If so, you could just replace the call for price image with a 1px transparent gif.

    Or if you only want to suppress it from those boxes on the front page (though they appear in three other places too) you would need to make some changes to the PHP in the modules files that generate their content.
    Thanks. It seems that replacing the image is a better method. If I want to changes the PHP code, which file should I edit?

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: How to not display "call to price"image in homepage?

    or use css to hide the image if possible. If you need more help, post a link to the site.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How to not display "call to price"image in homepage?

    Suppressing the image with CSS is tricky but can be done. It's tricky because there is not normally a class or ID attached to the price (which this image is replacing). As a result you have to suppress all local images. However this would include the product image (oops) so you would need further more specific styling, which is possible, to unsuppress that. Nevertheless, this would indeed be the easiest and less intrusive solution if you only want to suppress the image in these "front-page" listings, but have it still show in the main listings.

    Otherwise if you want to suppress it all the time. You can replace the image with a transparent gig by over-riding your includes/langauges/YOUR_LANGUAGE/other_images_names.php file and changing this line
    define('OTHER_IMAGE_CALL_FOR_PRICE', 'call_for_prices.jpg');
    to this
    define('OTHER_IMAGE_CALL_FOR_PRICE', 'pixel_trans.gif.jpg');
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: How to not display "call to price"image in homepage?

    How could we get it to replace the price altogether? There is a gap between the product image and the "call for price" image. The gap is the price. When you make the price blank, it just becomes a space and it messes up the layout. This doesn't seem to be solvable with CSS unless I can go into the php and add a div tag. The thing is I've been searching all the files but can't find anywhere to do so.

 

 

Similar Threads

  1. v151 Display "add to cart" and "Call for price together"
    By Tadj Hemingway in forum General Questions
    Replies: 2
    Last Post: 6 Mar 2015, 07:53 PM
  2. v151 How to make all products show with "call for price" image
    By stoneroses6300 in forum General Questions
    Replies: 13
    Last Post: 20 Oct 2014, 11:16 AM
  3. how to shows "call for price" and "add to cart"?
    By iofferfashion in forum Managing Customers and Orders
    Replies: 3
    Last Post: 15 Dec 2009, 04:46 AM
  4. On Specials - How can I just display "20% off" or "save $x.xx", but not the price
    By candylotus in forum Setting Up Specials and SaleMaker
    Replies: 0
    Last Post: 24 Apr 2008, 12:44 AM
  5. Replace "Call for price" text links with image button, how?
    By torgil in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Sep 2006, 07:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR