Drupal 4.7.3
Ecomm 8/28
Cart.module

In the Cart.module - on line 288 it reads

return '<p>'. t('Your shopping cart is empty. You may continue shopping from our %product-page.', array('%product-page' => l(t('product page'), 'product'))). '</p>';

This line of code provides a link to "product" which are the product pages in a combined display

I have created a custom product page --- called "products" instead --- which is a typical book node

Could someone please be so kind as to show me what I need to change within this line to make the link go to "products" instead - --- I won't need the array either I guess

thanks
J

Comments

AlanT’s picture

I just did this on my site a few days ago. Actually, all you need to do is replace the last item in the array, which is currently 'product', to be the link that you want to have, which if I understand you correctly is 'products'.

- Alan Tutt
http://www.PowerKeysPub.com

- Alan Tutt

Exceptional Personal Development for Exceptional People
http://www.PowerKeysPub.com

green monkey’s picture

wow, these programmers really plan ahead - that is so easy - even I can do that

thanks :-)))

Jeff

I just did this and it worked too! :-))