Post by Sidecutter » Thu Mar 10, 2011 7:37 am

I am looking to have the product's model replaced with the SKU in various places. The "view cart" page, the order records the customer can access from their account, the order records visible in the backend to the admin, on the printed invoice, etc. I do NOT want to alter use of the product's model elsewhere.

Version is 1.4.9.3

Please PM or post here with a quote and the amount of time you would need to make this change.

Active Member

Posts

Joined
Tue Jan 18, 2011 6:58 am

Post by Sidecutter » Sat Mar 12, 2011 2:44 am

This task has been completed by a member here.

Active Member

Posts

Joined
Tue Jan 18, 2011 6:58 am

Post by inactiveaccount9912 » Sat Mar 12, 2011 5:00 am

In controller i added after model

Code: Select all

$this->data['sku'] = $product_info['sku'];
And in template put this where you want it to appear

Code: Select all

<?php echo $sku; ?>
And use some text before of after it ex "SKU:<?php echo $sku; ?>"
I think you can use that for most locations in which you want it to appear.
And if you don't want the model to appear , just delete it from the tpl of the page
Hope this helps!

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am
Who is online

Users browsing this forum: paulfeakins and 7 guests