Forums / Templates, Stylesheets, Page Layout / Changing the "Call for Price" Wording Across Entire Site

Changing the "Call for Price" Wording Across Entire Site

Locked

Started by pattie1970 on 30 Sep 2009, 4:03 PM · Views: 1,322

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
30 Sep 2009, 4:03 PM
#1
pattie1970 avatar

pattie1970

New Zenner

Join Date:
Jun 2009
Posts:
23
Plugin Contributions:
0

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!

30 Sep 2009, 4:51 PM
#2
pattie1970 avatar

pattie1970

New Zenner

Join Date:
Jun 2009
Posts:
23
Plugin Contributions:
0

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

pattie1970:

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:

$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'] <= 0 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_OUT, BUTTON_SOLD_OUT_ALT);
      } else {
        $return_button = zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALL, BUTTON_SOLD_OUT_SMALL_ALT);
      }
      break;
    default:
      $return_button = $link;
      break;
    }

Change to:

$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'] <= 0 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_OUT, BUTTON_SOLD_OUT_ALT);
      } else {
        $return_button = zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALL, BUTTON_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!

30 Sep 2009, 6:35 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

1 Oct 2009, 12:19 AM
#4
pattie1970 avatar

pattie1970

New Zenner

Join Date:
Jun 2009
Posts:
23
Plugin Contributions:
0

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

stevesh:

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...

1 Oct 2009, 12:22 AM
#5
pattie1970 avatar

pattie1970

New Zenner

Join Date:
Jun 2009
Posts:
23
Plugin Contributions:
0

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?

1 Oct 2009, 11:40 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

2 Oct 2009, 8:14 PM
#7
pattie1970 avatar

pattie1970

New Zenner

Join Date:
Jun 2009
Posts:
23
Plugin Contributions:
0

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

stevesh:

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.
:frusty:
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 ;)

3 Oct 2009, 11:44 AM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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

pattie1970:

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.