Ok I backspaced out the price and unchecked the allow this item to be purchased and that looks good but would still like to remove the cart.
If possible.
This is also my second reply my message disappeared on me.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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
Ok I backspaced out the price and unchecked the allow this item to be purchased and that looks good but would still like to remove the cart.
If possible.
This is also my second reply my message disappeared on me.
Cool, glad that worked for you :)
Where is the cart appearing now? is it just the sidebar?
to get rid of the cart from the sidebar it;s a case of copying ecommerce/templates/Includes/ProductMenu.ss to your theme's templates/Includes directory and remove (or comment-out) the following code:
<div class="sidebarBox cart">
<% include Cart %>
</div>
hope that does it. I'm thinking about adding an if statement that checks if cart/purchase is enabled and add the value to _config.php that way you get a catalogue site without the cart and can easily enable cart at a later date.
let me know how you get on.
Rich
Thankyou it worked check it out?
It took me a few tries because I couldnt work out how to comment it out you just do this // with the PHP code dont you.
I tried it both with a space after and without still commenting didnt work.
How difficult would it be to put a contact us for detail link on this page on the right somewhere.
http://www.thermalzombie.com/example-product/
Under or above the Item #10 description.
Thankyou very much.
Glad that helped you out. :)
I actually meant you could wrap a HTML comment around it, otherwise you might as well just delete the code.
personally, I convert all my contact-us pages to forms (using userforms module) and you could link to that page either in the CMS content or add a link in the template wherever you see fit.
let me know when you're site is done (email in profile) I'd like to see the finished product :)
Cheers,
Rich
There is a simple flag in product in admin zone.
If this checkbox is not checked, you don't see "Buy Button" for that product.
Then you can setup this checkbox a false value ( for default value ) if assign this value in product.ss in code subdir in ecommerce module.
See http://www.mediterraneamoto.it/ under "Usato" for example...
Bye