Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Changing the "Call for Price" Wording Across Entire Site

    Okay, we have an online store and a brick and mortar store. Some items are sold only in our brick and mortar store because the size/ weight makes it hard to ship them. I still want to show them on our website and currently have them set up as "Call for Price" even though I do show the price. This just helps so they can't add them to their shopping cart.
    BUT, I would prefer to change the wording to say "In Store Only" and cancel the link on the button that would take them to the Contact Us page.

    I am new to Zen but have been working with OSC for a while. I just want to make sure I get all the files needed to change the info. I used the developers toolkit in the admin section and got back 38 lines needing to be changed but thought I would ask here in case anyone has done this or tried to do this before??

    Just don't want to mess anything up since my mind in on OSC but Zen is very different. Thanks!

  2. #2
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Changing the "Call for Price" Wording Across Entire Site

    Quote Originally Posted by pattie1970 View Post
    Okay, we have an online store and a brick and mortar store. Some items are sold only in our brick and mortar store because the size/ weight makes it hard to ship them. I still want to show them on our website and currently have them set up as "Call for Price" even though I do show the price. This just helps so they can't add them to their shopping cart.
    BUT, I would prefer to change the wording to say "In Store Only" and cancel the link on the button that would take them to the Contact Us page.

    I am new to Zen but have been working with OSC for a while. I just want to make sure I get all the files needed to change the info. I used the developers toolkit in the admin section and got back 38 lines needing to be changed but thought I would ask here in case anyone has done this or tried to do this before??

    Just don't want to mess anything up since my mind in on OSC but Zen is very different. Thanks!
    In case this helps out the next person... I didn't do any php changes. BUT, I did comment out this part of includes/functions/functions_general.php

    FIND:
    PHP Code:
    $button_check $db->Execute("select product_is_call, products_quantity from " TABLE_PRODUCTS " where products_id = '" . (int)$product_id "'");
        switch (
    true) {
    // cannot be added to the cart
        
    case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
          return 
    $additional_link;
          break;
        case (
    $button_check->fields['product_is_call'] == '1'):
         
    $return_button '<a href="' zen_href_link(FILENAME_CONTACT_US) . '">' TEXT_CALL_FOR_PRICE '</a>';
          break;
        case (
    $button_check->fields['products_quantity'] <= and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1'):
          if (
    $_GET['main_page'] == zen_get_info_page($product_id)) {
            
    $return_button zen_image_button(BUTTON_IMAGE_SOLD_OUTBUTTON_SOLD_OUT_ALT);
          } else {
            
    $return_button zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALLBUTTON_SOLD_OUT_SMALL_ALT);
          }
          break;
        default:
          
    $return_button $link;
          break;
        } 
    Change to:
    PHP Code:
    $button_check $db->Execute("select product_is_call, products_quantity from " TABLE_PRODUCTS " where products_id = '" . (int)$product_id "'");
        switch (
    true) {
    // cannot be added to the cart
        
    case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
          return 
    $additional_link;
          break;
        case (
    $button_check->fields['product_is_call'] == '1'):
          
    //$return_button = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . TEXT_CALL_FOR_PRICE . '</a>';//
          
    break;
        case (
    $button_check->fields['products_quantity'] <= and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1'):
          if (
    $_GET['main_page'] == zen_get_info_page($product_id)) {
            
    $return_button zen_image_button(BUTTON_IMAGE_SOLD_OUTBUTTON_SOLD_OUT_ALT);
          } else {
            
    $return_button zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALLBUTTON_SOLD_OUT_SMALL_ALT);
          }
          break;
        default:
          
    $return_button $link;
          break;
        } 
    Basically all I did was comment out the return button which had the link to the contact us page. I also replaced the Call for Price button under includes/templates/templates_default/images/call_for_price.jpg
    You can see what I did in my category In Store Only Items at http://www.americasthrift.com

    Although, on a side note- please don't comment on our bare look... all the background work has to be done first before I improve the cosmetics of the site (ha, ha)
    Thanks!

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Changing the "Call for Price" Wording Across Entire Site

    Just a suggestion - you have your store opening in a new window, and IE (at least) sees it as a pop-up. Pop-ups are blocked by default in IE7 and IE8, so some customers won't see the option to unblock, and many won't bother if they do.

    Also, though you didn't ask for a review, as someone who might visit your site, please give me a way to get to your store without suffering through the Flash and (especially) the music.

    I agree completely, BTW, about making your store function properly before starting to worry about the way it looks. Too many people do it the other way around.

  4. #4
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Changing the "Call for Price" Wording Across Entire Site

    Quote Originally Posted by stevesh View Post
    Just a suggestion - you have your store opening in a new window, and IE (at least) sees it as a pop-up. Pop-ups are blocked by default in IE7 and IE8, so some customers won't see the option to unblock, and many won't bother if they do.

    Also, though you didn't ask for a review, as someone who might visit your site, please give me a way to get to your store without suffering through the Flash and (especially) the music.

    I agree completely, BTW, about making your store function properly before starting to worry about the way it looks. Too many people do it the other way around.
    I agree 100% about THAT part of the site... to me it is WAY outdated. BUT, unfortunately, they won't let me change that part of it... YET! I am hoping to get zen looking real cool (it's just barebones, literally, right now) and my plan is to have zen on the root directory and all the other mess to fade away into the black pit. We once had a semi cool website that at least match the shopping cart, then a webmaster change and poof! the new guys don't seem to care about our image or branding or even making a decent website. Oh well... Zen to the rescue...

  5. #5
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Changing the "Call for Price" Wording Across Entire Site

    Oops, I also should have directed you to the store side of the site instead of the other part. http://www.americasthrift.com/store
    The links function here on the forum has it open in a new window and I am not sure how to change that?

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Changing the "Call for Price" Wording Across Entire Site

    The new window is fine (preferred, actually) here. I meant that when you click 'Shop Online' from the Flash version of your client's main page, it opens the Zencart part in a new popup window. The Mobile version doesn't.

  7. #7
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Changing the "Call for Price" Wording Across Entire Site

    Quote Originally Posted by stevesh View Post
    The new window is fine (preferred, actually) here. I meant that when you click 'Shop Online' from the Flash version of your client's main page, it opens the Zencart part in a new popup window. The Mobile version doesn't.
    Actually I am the "client". I manage the thrift store's online selling but up until now have not been allowed to handle the actual making of the website. I took it upon myself to just do it and then ask for forgiveness later. Once the zen cart side (the side I am responsible for) is up to where I want it, then I will make a strong push for it to be on the root directory and the rest to just go away.

    But, Zen is a great program that is giving us everything we need (OSC didn't) and I really don't see why we need the flashy intro. To me, it screams 1990's....
    Thanks so much for the input- I am right there with you ;)

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Changing the "Call for Price" Wording Across Entire Site

    Quote Originally Posted by pattie1970 View Post
    I took it upon myself to just do it and then ask for forgiveness later.
    Good for you - I did the same thing at a previous employer and ended up as the IT manager.

 

 

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. Change "Manufacturer" to "Artis" throughout the entire site
    By gv7660 in forum Customization from the Admin
    Replies: 6
    Last Post: 16 Sep 2013, 07:17 PM
  3. remove the border around "call for price" and reposition "ask us" button
    By b90702098 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 2 May 2012, 10:45 AM
  4. Editing the "tpl_product_info_display.php" to change the "call for Price" message
    By camospi13 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Sep 2010, 05:50 AM

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