Hello,
I want to add the SKU to the cart page. How can I do this?
I've tried some options which are described on the forums, but when creating a new module I get the error
'The module is not compatible with 6.16 core'
Any clue?
|
Ubercart |
|
|
|
||
|
Thu, 09/02/2010 - 01:46
Hello, Any clue?
Re: How to add SKU to cart page?
When I've had that error I've found there's been a typo in the .info file. Try creating the file again or using the one from the uber module template file (skeleton.tar) from here: http://www.ubercart.org/docs/developer/238/coding_standards Also if you haven't seen this post already it may be of some help
Re: Re: How to add SKU to cart page?
Yes, I've seen that post, so what I'm trying to do here, is this: I dont't really see any typo there..
Re: Re: Re: How to add SKU to cart page?
can you post your modules .info file here?
Re: Re: Re: Re: How to add SKU to cart page?
I just copy it from the link I posted
Re: Re: Re: Re: Re: How to add SKU to cart page?
Yes, but could you copy it to a post here too.
Re: Re: Re: Re: Re: Re: How to add SKU to cart page?
Don't worry I found it. As an aside I'm finding this site really slow at the moment, not sure if it's my ISP or not. Anyway cut and paste this .info to get rid of that error message. ; $Id$
Re: Re: Re: Re: Re: Re: Re: How to add SKU to cart page?
Still doesn't work, when I copy your code, it still gives the same error...
Hiya,
Just to double
Hiya, Just to double check: You are using drupal 6 and ubercart 2.x ? I've attached a version which works here. If it doesn't work for you maybe re-install ubercart?
Re: Hiya,
Just to double
I am using Ubercart 6.x-2.2, so I guess that's right?
Re: Re: Hiya,
Just to double
Here's the code and attachment again. uc_show_sku.info ; $Id$uc_show_sku.module <?phpI think I forgot to click 'attach' the last time I posted the file.
Re: Re: Re: Hiya,
Just to double
Thank you, I managed to enable the module. Last question: do I have to enable a checkbox somewhere? Or should the SKU be visible after enabling the module? (because it isnt)
Re: Re: Re: Re: Hiya,
Just to double
You should see the SKU in the cart. I didn't enable anything extra, once I'd ironed out the errors the SKU appeared in the cart.
oncreative wrote:
Here's the
Here's the code and attachment again. uc_show_sku.info ; $Id$uc_show_sku.module <?phpI think I forgot to click 'attach' the last time I posted the file. I want to download file, but it is not there anymore, can you reupload please
Re: oncreative wrote:
Here's the
It took me a while to find it but here it is again.
Products with adjustments
Hi, i have followed everything on the post and the SKU is showing in the cart as expected, however many of my products have adjustments so i need to show the alternate SKU as the SKU currently showing is for the base product. any chance you could point me in the right direction please
Re: thank you
it works
but now the images dissapered from the cart, is there a fix to get them back?
Re: Re: thank you it works
If you look at post #10 it shows how to remove the images which are normally displayed: $form['items']['#columns']['image']['access'] = FALSE;Just change this line from FALSE to TRUE or maybe removing this line entirely should bring the images back (but I've not tested that option).
Hi Users!
Can i add taxonomy
Hi Users! |
|