Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

[resolved] eCommerce Module Apperance Bug? [" /> & ">]


Go to End


3 Posts   1352 Views

Avatar
1k2k3

Community Member, 15 Posts

13 May 2010 at 7:39pm

Edited: 19/08/2010 6:54pm

Okay so I installed the ecommerce module from http://www.silverstripe.org/ecommerce-module onto my SilverStripe-v2.3.7 and there are no errors, with http://localhost/silverstripe/db/build.

But does anyone know appearance wise, why my products page differs to my lecturers products page?

View attachments, within the second attachment I have outlined the differences with a red circle.

Attached Files
Avatar
DusX

Community Member, 12 Posts

28 May 2010 at 5:40am

I have this problem too.
There are other threads in this forum about this issue, no solution yet (other than editing all templates).
It appears to only occur on windows machines, and doesn't really break anything. If you are just testing, I wouldn't worry about it... if you are developing then its really only a big issue if you are deploying on windows... on linux it seems to just go away. :)

Avatar
1k2k3

Community Member, 15 Posts

19 August 2010 at 6:44pm

Edited: 19/08/2010 6:54pm

Sorry taken me so long to reply but the solution is..
• This is due to a PHP bug
• The current version of PHP we are using has problems executing the sprintf function (sometimes)
• To fix this problem we need to remove the sprintf code from the ecommerce pages
Located in the ecommerce/templates/layout folder and the ecommerce/templates/includes folder.
(Steele, 2010)

For example, Change this:
http://img821.imageshack.us/img821/7595/changea.jpg (Steele, 2010)

To This:
http://img707.imageshack.us/img707/8971/changeto.jpg (Steele, 2010)

Steele, A. (2010). Course Documentation, I211 eCommerce Systems, Moodle.
Palmerston North: UCOL.