Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,837
    Plugin Contributions
    6

    Default Re: Remove price, add to cart text and units

    To change the Add to Cart: to something else, using your templates and overrides you change the language file:
    /includes/languages/english.php

    and set the:
    Code:
    define('PRODUCTS_ORDER_QTY_TEXT','Add to Cart: ');
    to read something else ...

    To change the shopping_cart display ... you would again use your templates and overrides to customize the file:
    /includes/templates/templates_default/templates/tpl_shopping_cart_default.php

    and change the parts you do not wish to see ...

    To change the checkout_confirmation ... you would again use your templates and overrides to customize the file:
    /includes/templates/templates_default/templates/tpl_checkout_confirmation_default.php

    and change the things you do not want to see ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  2. #12
    Join Date
    May 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Remove price, add to cart text and units

    Got rid of the add to card text , but I can't figure out HOW to change the table headings on the shopping cart page https://baradinc.com/payment/index.p...=shopping_cart. I would like to change the word "Qty." with "Amount" and remove the unit from the table.

    If you can guide me with the line or the possible code. Once this is done, I will be good to go.

    Thanks a have a great weekend.

    your help is Zenormous.

    Karish

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,837
    Plugin Contributions
    6

    Default Re: Remove price, add to cart text and units

    Qty. would be in the language file for:
    /includes/languages/english/shopping_cart.php

    Change the define statements as you need them using your templates and overrides ...

    Change the define for Unit to just be blank with two '' for it ...

    To remove the number of Units, using your templates and overrides on the file:
    /includes/templates/your_template_dir/templates/tpl_shopping_cart_default.php

    Change the line:
    Code:
           <td class="cartUnitDisplay"><?php echo $product['productsPriceEach']; ?></td>
    to read:
    Code:
           <td class="cartUnitDisplay"><?php // echo $product['productsPriceEach']; ?></td>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #14
    Join Date
    May 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Remove price, add to cart text and units

    Almost there...
    https://baradinc.com/payment/index.p...=shopping_cart
    I got rid of "unit" but for some reason I can't change "Qty." to something else.

    define('NAVBAR_TITLE', 'Make a payment');
    define('HEADING_TITLE', '');
    define('HEADING_TITLE_EMPTY', 'Your Shopping Cart');
    define('TEXT_INFORMATION', 'Please enter the dollar amount in the qty box and and click on the red refresh button.');
    define('TABLE_HEADING_REMOVE', 'Remove');
    define('TABLE_HEADING_QUANTITY', 'Qty.');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRICE','');
    define('TEXT_CART_EMPTY', 'Baradinc.com');
    define('SUB_TITLE_SUB_TOTAL', 'Sub-Total:');
    define('SUB_TITLE_TOTAL', 'Total:');

    How can make the qty (1) and the amount (1$) on top of the table go away ?

    Thanks for all your help,

    Karish

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,837
    Plugin Contributions
    6

    Default Re: Remove price, add to cart text and units

    Did you try changing:
    Code:
    define('TABLE_HEADING_QUANTITY', 'Qty.');
    to read:
    Code:
    define('TABLE_HEADING_QUANTITY', 'Amount');
    To turn off the headings go to Configuration ... Layout Settings ...
    Shopping Cart - Show Totals
    Show Totals Above Shopping Cart?
    0= off
    1= on: Items Weight Amount
    2= on: Items Weight Amount, but no weight when 0
    3= on: Items Amount
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #16
    Join Date
    May 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Remove price, add to cart text and units

    Yes Master Ajeh, I did change it earlier but it didn't change. See below
    It's still showing Qty. (That Is strange since removing "unit" worked fine).

    This is what I have now

    define('NAVBAR_TITLE', 'Make a payment');
    define('HEADING_TITLE', '');
    define('HEADING_TITLE_EMPTY', 'Your Shopping Cart');
    define('TEXT_INFORMATION', 'Please enter the dollar amount in the qty box and and click on the red refresh button.');
    define('TABLE_HEADING_REMOVE', 'Remove');
    define('TABLE_HEADING_QUANTITY', 'Amount');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRICE','');
    define('TEXT_CART_EMPTY', 'Baradinc.com');
    define('SUB_TITLE_SUB_TOTAL', 'Sub-Total:');
    define('SUB_TITLE_TOTAL', 'Total:');

    Thanks

    Karish
    Site looks Zen times better now

  7. #17
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,837
    Plugin Contributions
    6

    Default Re: Remove price, add to cart text and units

    Looking at your site, it looks fixed on the shopping_cart ...

    Now if you want it fixed on the checkout_confirmation, look in the language file for that page and use your templates and overrides to change it ...

    This should be in the file:
    /includes/languages/english/english.php

    and you need that in your templates and overrides file for:
    /includes/languages/english/your_template_dir/english.php

    and change the define for:
    Code:
      define('TABLE_HEADING_QUANTITY', 'Qty.');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  8. #18
    Join Date
    May 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Remove price, add to cart text and units

    Done !

    I just wish I used this great forum earlier.

    Thanks again for all your help Ajeh.

    got Zenned !

    Karish

  9. #19
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,837
    Plugin Contributions
    6

    Default Re: Remove price, add to cart text and units

    Thanks for the update that all is now working for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. remove price and add to cart from listing page
    By Ivanna in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Aug 2011, 08:10 PM
  2. remove price for some products, add text
    By kaylee_girl in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 8 Mar 2011, 09:26 AM
  3. '0 units in stock', and No Add to Cart
    By WhitePhantom in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Feb 2010, 08:10 PM
  4. Remove Search Button and add text to input field
    By sjk1000 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 10 Oct 2008, 12:19 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
  •