Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Twitch List Price - how do I display List price?

    Twitch List Price - MSRP - MAP

    Check the forum plugins or my website for your copy.

    This module adds a list_price input for each product in orders, invoices, product info and order history.

    Alternate uses include MSRP (Manufacturers Suggested Retail Price), MAP (Minimum Advertised Price)

    You can easily change the language files to read MSRP or MAP instead of List Price if you would like. There is no need to change the products_list_price code.

    What's New
    - displays on Category/Product Listing
    - displays on Advanced Search Results
    - minor code changes in admin to correct alignment issues
    - updated line numbers for Zen Cart v1.54
    - improvements to the instructions

    This is compatible with ZC v1.53 the line numbers might be off a bit.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  2. #12
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Twitch List Price - how do I display List price?

    Is there a place where I can see this module in action??
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #13
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Twitch List Price - how do I display List price?

    Quote Originally Posted by DivaVocals View Post
    Is there a place where I can see this module in action??
    Twitch Modules scroll down for List Price MSRP:
    http://twitchtoo.com/zencart/index.html

    Screenshots included in the module pack:
    http://twitchtoo.com/zencart_support...creenshots.jpg

    Live Site:
    http://titanmutual.com/titanmutual_s...ch_list_price/

    The list price code can be integrated pretty much anywhere you want I've included the basics in the pack from start to end of the order in admin.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  4. #14
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Twitch List Price - how do I display List price?

    Two questions:
    Will this work with SNAF? (https://www.zen-cart.com/downloads.php?do=file&id=1358)
    I noticed that the MSRP doesn't display in the centerboxes; what would I need to modify to include the MSRP in the centerbox displays?
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #15
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Twitch List Price - how do I display List price?

    Quote Originally Posted by DivaVocals View Post
    Two questions:
    Will this work with SNAF? (https://www.zen-cart.com/downloads.php?do=file&id=1358)
    I noticed that the MSRP doesn't display in the centerboxes; what would I need to modify to include the MSRP in the centerbox displays?

    Yes it works with SNAF.

    Right now it's coded to pull the data using $products_list_price. If you trace it back from the product_info page you'll see it run through product_info/main_template_vars.php.

    If you want it to display in any other location, sideboxes, centerboxes etc. add $products_list_price to the header_php.php or main_template_vars.php of the pages you want it to show up on then display with something like:
    <span class="productsList_price">List Price: $<?php echo $products_list_price; ?></span>

    Chicken or the egg - The modules/product_listing.php is just a formatting page so once you have SNAF installed, you can merge in Twitch List. If you already installed Twitch List, you'll need to install SNAF carefully. SNAF is changing the format, Twitch List is just adding a bit of text within that format.

    Just remember, some of those pages load their variables using multiple header_php.php pages or sometimes through the module/page_name_here.php. It would seem the 'older' zen code was not centralized into one location instead each page was loading and reloading what it needed. Twitch Restrict is the most advanced example of this occurrence. For example all_products does not load variable data the way upcoming_products does.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  6. #16
    Join Date
    Feb 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Twitch List Price - how do I display List price?

    Is there a setting to display the price field instead of price unavailable without the customer being logged in ?

  7. #17
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Twitch List Price - how do I display List price?

    Quote Originally Posted by henry3 View Post
    Is there a setting to display the price field instead of price unavailable without the customer being logged in ?
    This can be setup with a variety of settings in the admin or by coding it in custom because... the settings create a matrix of options that may not satisfy the desired output in every instance.

    Essentially you could just hide the expression displaying 'product unavailable' with the price display expression.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  8. #18
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Twitch List Price - how do I display List price?

    Minor formatting updates will be included in the newest release (18c) currently in beta production for 155f:


    Overwrite the stock list-price with both of those lines...

    includes/templates/YOUR_TEMPLATE/css/stylesheet.css
    .product-price{font-size:140%;margin:5px 0;}
    .list-price {color: #333; font-style: italic; font-weight: bold; font-size: 1.3em;}



    includes/modules/YOUR_TEMPLATE/product_listing.php
    Around line 155 - change the retail display price to match CSS
    $lc_price = '<div class="product-price">' . zen_get_products_display_price($listing->fields['products_id']) . '</div>';


    Around line 201 - update list-price with proper formatting
    $lc_text = '<span class="list-price">' . TABLE_HEADING_THE_LIST_PRICE . number_format($listing->fields['products_list_price'],2) . '</span>';


    Add detail...
    includes/languages/english/YOUR_TEMPLATE/index.php
    define('TABLE_HEADING_THE_LIST_PRICE', 'List Price: $');
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  9. #19
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Twitch List Price - how do I display List price?

    To tie in the List Price ON/OFF switch in the Admin > Configuration > Product Listing

    directly

    to control the Product Info Display - includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

    Replace this:
    <span class="productsList_price">List Price: $<?php echo $products_list_price; ?><br/></span>

    With this:
    <?php if (PRODUCT_LIST_THE_LIST_PRICE >= '1') { ?>
    <span class="productsList_price">List Price: $<?php echo $products_list_price; ?><br/></span>
    <?php } ?>


    Also, this module works well with 1.55f - line numbers may be off a bit - be mindful merging.

    A new version with minor updates will be available shortly.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  10. #20
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    cart error Twitch List Price 18c for Zen Cart 1.55f

    I've just submitted...
    Twitch List Price

    Version 18c for Zen Cart 1.55f
    July 15.2021


    New for 1.55f...
    - Now uses product_mlist input
    - Admin master ON/OFF switch
    - Set List Price on each product in admin
    - Display in various admin locations and on live site

    This is the last version compatible with Zen Cart 1.55x


    Developers...
    This is the 'step' version for anyone upgrading from previous versions using products_list_price to get to product_mlist. This version replaces the previous name in similar locations to make merging files/upgrading the database easier. The next version of Twitch List Price for 1.56c is not backwards compatible.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. how to config it to make it list by retail price, also pay by retail price?
    By hithere in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jun 2009, 05:37 PM
  2. How to create special price list
    By buschpolishes in forum General Questions
    Replies: 0
    Last Post: 22 May 2008, 09:01 PM
  3. How to use Price list module?
    By hamid84 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 3 Jan 2008, 01:23 PM
  4. List Products Lowest Price to Highest Price
    By fatalparadox in forum General Questions
    Replies: 1
    Last Post: 21 Aug 2007, 06:49 AM

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