Thread: Pricing Issues

Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Pricing Issues

    I have a problem with a company called Taylor Made golf. I am only allowed to show the price of the goods on the main product page. Any where else i have to put 'click for price' How do I do that.

    1. Allowed - https://vault1.secured-url.com/midla...products_id=69

    2. not allowed - https://vault1.secured-url.com/midla...x&cPath=95_101

    Is there a way of only showing the price on the product info page?

    Again if you see anything on the site that I could improve please feel free to tell me www.midlandgolf.net

    Neil

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Pricing Issues

    You can easily disable the price display in admin for listing pages, for all of your products.

    Configuration > Product Listing, All Listing, etc.

    If you need to do this for only some products it becomes more complicated. You would need to test for manufacturers_id when assembling the listing content.

  3. #3
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Pricing Issues

    I really need some help here. I can put the ring for price button on but I can't get rid of the price itself. I cannot show the price until the buyer wants to look at the main page of the product. Is there any way i can take the price off for one manufacuterer?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Pricing Issues

    If you have the product listing set (in admin > Configuration > Product Listing) to display the manufacturer name, that information is available to the price display code in /includes/modules/your_template/product_listing.php.

    Find this section
    PHP Code:

            
    case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price;

            
    // more info in place of buy now
            
    $lc_button ''
    and add this
    PHP Code:
            if ($listing->fields['manufacturers_name'] == 'Taylor Made') { //use the exact mfr name in your database
              
    $lc_text =  "click for price";
            } 
    /* Taylor Made */ 
    to get this
    PHP Code:

            
    case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price;
            if (
    $listing->fields['manufacturers_name'] == 'Taylor Made') {
              
    $lc_text =  "click for price";
            } 
    /* Taylor Made */

            // more info in place of buy now
            
    $lc_button ''
    This will have the sole effect that the price will not display for this mfr; everything else will be the same. If this does not give the result you need, the code can be expanded to eliminate the whole button area.

  5. #5
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Pricing Issues

    Hi

    I'm still having trouble with this click for price issue. Most od the site it is ok to put the price on. TaylorMade say you have to click to see price as shown
    http://www.direct-golf.co.uk/product...product_type=4

    I cannot find how to do this in ZC.

    Is there any way round it.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Pricing Issues

    What information do you intend to display in the product listing pages? Manufacturer name? Model number? Will all of the prohibited products be in one subcategory, and will all products in that subcategory be prohibited?

    Can you post a link to your site?

  7. #7
    Join Date
    Aug 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Pricing Issues

    http://midlandgolf.org.uk/midlandgol...x&cPath=95_101

    If you look at this link the "call for Price" needs to be click for price. Then when you click into the product the price can be shown.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Pricing Issues

    So to answer my questions, you are not displaying manufacturer name or model numbers in any explicit way.

    I will assume you are going to have all the "prohibited" products, and no others, in "Taylor Made" subcategories (one of which has a cPath = 95_101).

    Find this section in /includes/modules/your_template/product_listing.php:
    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price;

            
    // more info in place of buy now
            
    $lc_button ''
    and add this
    PHP Code:
            if (in_array($_GET['cPath'],explode(",",'list_cPaths_to_hide_prices_on_here,separated_by_commas,and_no_spaces')) ) { //replace text with 95_101, and other cPaths

              
    $lc_text =  "click for price";
            } 
    /* Taylor Made */ 
    to get this
    PHP Code:

            
    case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price;
            if (
    in_array($_GET['cPath'],explode(",",'95_101,127_133,etc')) ) {
              
    $lc_text =  "click for price";
            } 
    /* Taylor Made */

            // more info in place of buy now
            
    $lc_button ''
    This will replace the price text with "click for price", leaving the "more info" button for function.
    It is possible to make the more info say click for price instead; this is considerably more involved as the function has many alternatives embedded in the code.

 

 

Similar Threads

  1. v155 Pricing Issues
    By MCS_Computers in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Mar 2016, 09:17 PM
  2. v154 Pricing with attributes issues.
    By vexorgtr in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 9 Feb 2016, 07:08 PM
  3. Pricing issues
    By mek113 in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 17 Jun 2011, 11:34 PM
  4. Dual Pricing - Wholesale Pricing - Some issues I was able to fix
    By hollettster in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 17 Dec 2010, 12:00 AM
  5. Group Pricing by Item ISSUES
    By KeystoneAirsoft in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Jun 2010, 05:09 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