 notagrouch
New Member
|
Using WP 2.9, the latest release of wp-e-commerce under with the Thesis theme…
Does anyone know how I can show the SKU on the single product view page? And /or in the grid display view?
I can't seem to find any setting that accomplishes this and it seems something that would be done all the time.
has anyone done this before? can you help me please?
Thank you.
|
 bencharity
|
I am also looking for this option.
|
 Visser Labs
Trusted
|
I'll have a look at this tomorrow, I'm playing with some new WP E-Commerce theme's for my sites so will tackle that at the same time. Should be easy enough to add a function like wpsc_product_title() or whatever.
|
 Visser Labs
Trusted
|
Use the wpsc_product_sku function, it requires a product ID parameter. I have provided sample code below.
wpsc_product_sku( wpsc_the_product_id() )
|
 notagrouch
New Member
|
Thanks a lot @visser.labs. I'll try that out in a little while.
|
 Royce002
|
This worked like a charm, thank you Visser!
|
 ithackermike
|
Thx @visser for the tip. However I added wpsc_product_sku( wpsc_the_product_id() ) to the cart_widget.php file and the first product that I add to the cart has the correct SKU. But when I add the second product , all products have the SKU of the last product that i add to the cart.
Any ideas? is there an Ajax file that i need to update as well?
|
 Lee Willis
Resident Expert Trusted
|
Try this instead:
wpsc_product_sku(wpsc_cart_item_product_id());
|
 rhmpano@gmail.com
|
I’m sorry but none of the above makes any sense. The sku should by default be part of the %product_list%%total_shipping%%total_price% statement. Having to waste a day trying to figure out how to add it is ….. then only to lose it when the next upgrade is released. Why is there a sku field? is there only for looks??
If 1 in 100 doesn’t want it, then to bad, but any serious POS has to pass the sku to fulfillment to be taken seriously.
The above discussion still doesn’t spell out which files to modify and how.
|
 daviday
New Member
|
I agree with @rhmpano.
If you can’t pass it on to the order details as well as to the payment gateway it is a useless field.
|