Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Cart Issues and Code Showing with new install

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 436 Views
  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Cart Issues and Code Showing with new install Link to this post

    Hey Guys,

    Have just started working with the E-commerce module and have a few issues off the bat - hopefully quick fixes...
    1) It appears that the end of the <a href> or <img> tags are showing up on screen in the cart and product listings... Below is a screenshot of this on the ProductGroup page

    2) The example products function correctly when adding or subtracting them from the cart, but after adding a new product and clicking "add to cart" anywhere, the page loads but nothing happens...

    Any Clues?

    Using Silverstripe version: 2.4.5
    Ecommerce Module: 0.8.1
    Payment Module: 0.3.0

    Thanks in advance!

    Attached Files
  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Re: Cart Issues and Code Showing with new install Link to this post

    # 2 solved - Any new products added just had to be published before the cart could interact with it.
    #1 still a mystery...

  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Re: Cart Issues and Code Showing with new install Link to this post

    No feedback on the end of the <a href> and <img> tags showing up...?? Please see start of Post,

    Wondering if anyone else has experienced this?

    If not, my thoughts are that it may be something to do with my local server environment.

    Any clues?

    Thanks

  • rog
    Avatar
    Community Member
    8 Posts

    Re: Cart Issues and Code Showing with new install Link to this post

    My guess is that you have a typo somewhere. Have you looked at the page with firebug? http://getfirebug.com/

    It's a fantastic tool for finding html or css errors.

  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    Re: Cart Issues and Code Showing with new install Link to this post

    what is your page encoding?

  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Re: Cart Issues and Code Showing with new install Link to this post

    Thanks Rog & Nicolaas,

    The code is literally a fresh install of Silverstripe (v 2.4.6), as well as the e-commerce (v 0.8.1) and payment module (v 0.3.0). I have not touched the code anywhere...

    I am using XAMPP Lite 1.7.3 for Windows as my local test environment...

  • SnowBoarder82
    Avatar
    Community Member
    52 Posts

    Re: Cart Issues and Code Showing with new install Link to this post

    So definitely seems like this was caused by my local dev environment as uploading the site to another server the problem does not appear...

    Anyone have any clues on what adjustments I could make to my local XAMPP environment to fix this. Not too worried by it now that I know it will disappear once I upload the site, but would be nice to fix it...

    Thanks,

    436 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.