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 ...
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
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>
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
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 ...
Quote:
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
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
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.');
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
Re: Remove price, add to cart text and units
Thanks for the update that all is now working for you ... :smile: