My CMS/"page" layout is corrupted, other than that, the specified branches e-commerce module seems to work
even though it keep complaining many warnings and javascript parser error.
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
Working on e-commerce for SS 2.4
- Previous 10 entries
- 1
- …
- 10
- 11
- 12
- 13
- Page 1414(current)
- 15
- 16
- Next 10 entries
here's my cart.ss:
<% control Cart %>
<div id="ShoppingCart" class="typogrpahy">
<h3>Shopping Basket</h3>
<% if Items %>
<ul>
<% control Items %>
<% if ShowInCart %>
<li id="$CartID" class="$Classes">
<span class="itemdetails">
<span<% if Link %><% else %> id="$CartTitleID"<% end_if %> class="title">
<% if Link %>
<a id="$CartTitleID" href="$Link" title="<% sprintf(_t("READMORE","Click here to read more on "%s""),$CartTitle.XML) %>">$CartTitle.XML</a>
<% else %>
$CartTitle.XML
<% end_if %>
</span>
<span class="price">
<% _t("PRICE","Price") %>: $UnitPrice.Nice
</span>
<span class="quantity">
Quantity:
<strong>
<a class="ajaxQuantityLink" href="$removeLink" title="<% sprintf(_t("REMOVEONE","Remove one of "%s" from your cart"),$CartTitle.XML) %>">
-
<!--<img src="ecommerce/images/minus.gif" alt="-"/>-->
</a>
</strong>
<% if AjaxQuantityField %>
$AjaxQuantityField
<% else %>
$Quantity
<% end_if %>
<strong>
<a class="ajaxQuantityLink" href="$addLink" title="<% sprintf(_t("ADDONE","Add one more of "%s" to your cart"),$CartTitle.XML) %>">
+
<!-- <img src="ecommerce/images/plus.gif" alt="+"/>-->
</a>
</strong>
</span>
<span class="remove">
<a class="ajaxQuantityLink" href="$removeallLink" title="<% sprintf(_t("REMOVEALL","Remove all of "%s" from your cart"),$CartTitle.XML) %>">
Remove
<!--<img src="ecommerce/images/remove.gif" alt="x"/>-->
</a>
</span>
</span>
<div class="clear"><!-- --></div>
<hr />
</li>
<% end_if %>
<% end_control %>
<li class="subtotal"><% _t("SUBTOTAL","Subtotal") %>: <strong id="$CartSubTotalID">$SubTotal.Nice</strong></li>
<% if Modifiers %>
<% control Modifiers %>
<% if ShowInCart %>
<li id="$CartID" class="$Classes">
<span<% if Link %><% else %> id="$CartTitleID"<% end_if %> class="title">
<% if Link %>
<a id="$CartTitleID" href="$Link" title="<% sprintf(_t("READMORE","Click here to read more on "%s""),$CartTitle) %>">$CartTitle</a>
<% else %>
$CartTitle
<% end_if %>
</span>
<span id="$CartTotalID">$CartValue</span>
<span class="remove">
<% if CanRemove %>
<strong>
<a class="ajaxQuantityLink" href="$removeLink" title="<% sprintf(_t("REMOVE","Remove "%s" from your order"),$TableTitle) %>">
<img src="ecommerce/images/remove.gif" alt="x"/>
</a>
</strong>
<% end_if %>
</span>
</li>
<% end_if %>
<% end_control %>
<% end_if %>
<li class="total"><% _t("TOTAL","Total") %>: <strong id="$CartTotalID">$Total.Nice</strong></li>
<li class="buyProducts"><p><a class="checkoutButton" href="$checkoutLink" title="<% _t("CheckoutClick","Click here to go to the checkout") %>"><img class="checkoutButton" src="$ThemeDir/images/cartCheckout.gif" alt="-"/></a></p></li>
</ul>
<% else %>
<p class="noItems">
Your basket is empty.
</p>
<% end_if %>
</div>
<% end_control %>
then in my page.ss i have this:
<div class="sidebarBox cart">
<% include Cart %>
</div>
result:
Hi CHD,
Thanks a lot for the code. I think I can see where me troubles are now with this example. I've been following your progress on that site URL and it's a great example to all as to how the e-commerce will look and perform.
Thanks to all those testing and to Jedateach for his continued work.
Stick with it those of you who are having trouble, I've had various stages of the updated module working nicely, so it does work. I'm in no way an expert programmer, but I keep working with the modules and following the forums. So far, I've had a lot of success.
P
Hi thanks for sharing the codes, it really helps me to move one step further in learning silverstripe and how to install the ecommerce module.
I have spent the last few hours going through the last hundreds of discussions in the forum. It is hard to tell what need to fix the problem I shown in the attached picture. Thanks for sharing your expert experience..
Does anyone know how to move over existing data from the last version of supported eCommerce to the trunk one? I thought it would upgrade the existing data but when I go into the pages area, all that is there are the main pages for the product categories. If I go into the "store" area, there are no products or product categories.
Also, how do I apply the template to the module? My pages are coming up with the plain, unformatted layout instead of the blackcandy theme.
Thanks!
Hi all,
Rather than 'featured products' just showing at the top level in 'products', I'm getting the whole lot of products showing, which means one massive top level page. Has anyone figured how to prevent this and could possibly share some code?
Thanks to CHD's help with cart, I have a fully functioning e-commerce working with PayPal, but I just need this last issue resolving before I launch.
I'll post the URL when complete.
Thanks
Hi Damsel,
In some Silverstripe themes, there are templates and CSS to replace the out of the box CSS in the e-commerce. Ive downloaded some of these and had an experiment changing the CSS.
The new commerce module should adopt your current theme to some degree already, but look at the CSS in the module to begin with.
P.
Still looking for some help with flatrate.
using 2.4+ 0.3 payment
Have included:
SimpleShippingModifier::set_charges_for_countries(array());
SimpleShippingModifier::set_default_charge(10);
but nothign shows on checkout.
Any suggestions ?
- Previous 10 entries
- 1
- …
- 10
- 11
- 12
- 13
- Page 1414(current)
- 15
- 16
- Next 10 entries