Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Sep 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: "Contact Us" button without an image.

    Quote Originally Posted by DrByte View Post
    That's not a button. It's just text. It's only a clickable text link. Not a button image. That's how the original code is designed to display when you set the store in that mode.
    Ah Hah!! I changed the store status back to normal and the "Add to Cart" button appeared in its place!

    I don't want to use the cart at this point. I just want to use it as a catalog with prices.

    I like the "Contact Us" link appearing on the page, but I don't like the way it looks and would rather to use a button image instead.

    Any hints as to how I can accomplish this will be greatly appreciated!

  2. #12
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: "Contact Us" button without an image.

    Try Admin->Configuration->Product Info->Product Info -> Price is Call for Price Image or Text Status

    Product Info - Price is Call for Price Image or Text Status
    Description: Product Info - Show the Price is Call for Price Image or Text on Displayed Price
    0= Text
    1= Image
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Sep 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: "Contact Us" button without an image.

    Quote Originally Posted by DrByte View Post
    Try Admin->Configuration->Product Info->Product Info -> Price is Call for Price Image or Text Status

    Product Info - Price is Call for Price Image or Text Status
    Description: Product Info - Show the Price is Call for Price Image or Text on Displayed Price
    0= Text
    1= Image
    That is currently set to image, but I am using the "showcase with prices" mode.

    I read a few threads about disabling it, but none of them worked. Someone said they found the answer in the forum but they didn't provide a link.

    I don't really want to disable it. I thought about it and considered putting my own link on the product page. I talked myself out of that!

    I decided to just change the text color for now. It looks better.

    Hopefully I will figure out how to replace the text with an image at some point, but I can live with it for now.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: "Contact Us" button without an image.

    Oh, right. The setting I mentioned before is for when individual products are marked as Call For Price.

    You'll need to change this setting:
    Code:
      define('TEXT_SHOWCASE_ONLY','Contact Us');
    The smartest way to do that is to create a new file at /includes/languages/YOUR_TEMPLATE_NAME_HERE/english.php and just put that line in it, like this:
    Code:
    <?php
    // my custom language definitions
    
      define('TEXT_SHOWCASE_ONLY','<img src="blah.jpg" alt="Contact Us" />');
    And alter the text/html according to whatever you want it to be.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Sep 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: "Contact Us" button without an image.

    Thanks Dr. B! I'll give that try.

  6. #16
    Join Date
    Sep 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: "Contact Us" button without an image.

    Quote Originally Posted by DrByte View Post
    Oh, right. The setting I mentioned before is for when individual products are marked as Call For Price.

    You'll need to change this setting:
    Code:
      define('TEXT_SHOWCASE_ONLY','Contact Us');
    The smartest way to do that is to create a new file at /includes/languages/YOUR_TEMPLATE_NAME_HERE/english.php and just put that line in it, like this:
    Code:
    <?php
    // my custom language definitions
    
      define('TEXT_SHOWCASE_ONLY','<img src="blah.jpg" alt="Contact Us" />');
    And alter the text/html according to whatever you want it to be.
    I can see that this will work, but I am having a hard time with the path to my image.

    This is where I put my image:
    /includes/templates/CUSTOM/images/contact_us.gif

    I have tried this:

    define('TEXT_SHOWCASE_ONLY','<img src="contact_us.gif" alt="Contact Us" />');

    and this:

    define('TEXT_SHOWCASE_ONLY','<img src="../templates/CUSTOM/images/contact_us.gif" alt="Contact Us" />');

    This is what I see:


    I have tried a few other variations and I am just confusing myself. Please tell me where I am going wrong.

    Also, the black border is still there. If I find the correct path to my image, can I remove the border?

  7. #17
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: "Contact Us" button without an image.

    Did you try <img src="includes/templates/CUSTOM/images/contact_us.gif" ....
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #18
    Join Date
    Sep 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: "Contact Us" button without an image.

    Quote Originally Posted by DrByte View Post
    Did you try <img src="includes/templates/CUSTOM/images/contact_us.gif" ....
    Thank You, thank you, thank you!


    ♫ ♫ With the thoughts that I'd be thinkin', I could be another Lincoln, IF I ONLY HAD A BRAIN.♫ ♫

    I have 1 more question. The button on the product page still has a black border around it. It does not appear around the button on the product category page. Can this be removed?





 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h "Contact Us" page missing "Submit" button - please help!
    By lucky-nz in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 20 Feb 2013, 10:24 PM
  2. How to remove "contact us", "My account" , and "view cart"?
    By thestampnomad in forum Basic Configuration
    Replies: 2
    Last Post: 13 Aug 2010, 07:55 PM
  3. Replies: 26
    Last Post: 19 Feb 2010, 02:56 AM
  4. Google Checkout button without "- Or use -"
    By jbarrick in forum Addon Payment Modules
    Replies: 0
    Last Post: 16 Jul 2009, 07:45 PM
  5. Can I add an Image to the "Contact Us" an the "About Us" page's
    By PetesTown in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Nov 2007, 05:02 PM

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