Questions tagged [cartridge]

Cartridge is a shopping cart application built using the [Django] framework. Cartridge also extends the [Mezzanine] content management platform.

This tag is used for questions related to the Cartridge module for the Django based Mezzanine CMS.

Cartridge is open-source software written in Python and like Mezzanine, it is licensed under a BSD license. It is used as a shopping cart solution and is closely related to Mezzanine as it builds on Mezzanine's model definitions. For example, Mezzanine defines a Page model to represent webpages and Cartridge uses subclasses of the Page model to represent products for sale. Thus, even though it can be referred to as a Django app, Cartridge is largely useless for non-Mezzanine Django projects.

Feature List

  • Hierarchical categories
  • Easily configurable product options (colours, sizes, etc.)
  • Hooks for tax/shipping calculations and payment gateways
  • Sale pricing
  • Promotional discount codes
  • PDF invoice generation (for packing slips)
  • Stock control
  • Product popularity
  • Thumbnail generation
  • Built-in test suite
  • Separation of presentation (no embedded markup)
  • Smart categories (by price range, colour, etc)
  • Registered or anonymous checkout
  • Configurable number of checkout steps
  • Denormalised data for accessiblilty and performance
  • Authenticated customer accounts with transaction history

Resources

42 questions
10
votes
3 answers

django test client always returning 301

I've run into some problems while running cartridge tests - the test client always returns 301 when doing something like self.client.get('/'). The only way to proceed is adding follow=True, but it's suspicious that I always have to do that. This…
Maciej Gryka
  • 8,181
  • 4
  • 34
  • 30
6
votes
1 answer

How I can to get custom options in the `init` function of the Tarantool Cartridge role?

A Tarantool Cartridge role file has a function init. I want to get my custom options from the instance.yml file. But the opts variable doesn't have it. How I can do it?
6
votes
1 answer

How do I go about customizing Mezzanine-Cartridge shop/product?

I have a few Cartridge starter questions: My products don't need ratings or dates published. They will never go on sale. Some of the products are downloadable and hence 'num_in_stock' is not relevant or essentially, unlimited. There are no color…
Novice User
  • 59
  • 1
  • 3
4
votes
0 answers

How to do ROM cartridge banking, in VASM Z80 assembly, for a 32K MSX-1 Cartridge?

This question is about z80 and cartridge ROM banking on the old MSX computers. I am making a MSX game on PC and using openMSX for emulation and testing. I am making a 32K ROM cartridge. The MSX standard divides this 32 ROM memory into two 16K…
John
  • 41
  • 2
4
votes
3 answers

What is the correct way to use refresh_from_db in Django?

I'm using Django 1.8, Mezzanine, Cartridge, and I use Postgresql as the database. I've updated the num_in_stock directly from the database. The quantities are all correct in the database but not on my website. I know the solution is here, but I…
poleethman
  • 43
  • 1
  • 1
  • 5
2
votes
1 answer

Is it possible to use bootstrap themes on a Mezzanine/Cartridge website?

I am a newbie web developer tasked with creating a website for a client in the art industry. I've decided to roll with Mezzanine + Cartridge for the project as it seems like an accessible way to get started. I now have the server up and running with…
ifiore
  • 451
  • 2
  • 7
  • 19
2
votes
1 answer

Mezzanine custom field adding to admin

I am writing a piece of software and have added an extra field using mezzanines model injection ability's the field is there and can be seen in the database but following the method shown in the docs on this page mezzanine model customisation I…
bobthemac
  • 1,172
  • 6
  • 26
  • 59
1
vote
1 answer

Should I setup network address with the Tarantool Cartridge application with docker?

When I use the docker pack for an application, how should I configure network addresses?
1
vote
0 answers

Mezzanine Cartridge rating form customization?

Hello i'm trying to customize product page in Mezzanine Cartridge shop. I have a problem with the rating form customization. Now it looks like this rating form To get this look, I used some CSS code /* Ratings */ .rating {margin:15px; text-align:…
Andrew Gowa
  • 119
  • 1
  • 2
  • 7
1
vote
1 answer

link a cartridge SKU to a FormField on a product page

Hello my dear programmers, i am trown into the deep with this project. i need to build a e-commerce website but a little bit different, this person does not want a checkout cart but a contact form underneath every product with a field…
djostin
  • 13
  • 4
1
vote
1 answer

Change Django-Mezzanine-Cartridge From - email after placing order

In Mezzanine I am using cartridge and I want to change the From email when the shipping details are mailed to the user. The default one is do_not_reply@WINCTRL-4UBSUNC. Where can i change this? Also I want to mail the admin about the order details…
Shashishekhar Hasabnis
  • 1,636
  • 1
  • 15
  • 36
1
vote
1 answer

Django cartridge paypal return url not working

Problem I've been following this tutorial on implementing Django cartridge with paypal. Everything is hosted on AWS. And everything is working fine at least with the sandbox account. Except return url, when I make a payment and click on the link to…
T.Chmelevskij
  • 1,904
  • 17
  • 30
1
vote
1 answer

Openshift Custom Cartridge with Python 3.4

Hi there I was recently developing an application on openshift. I used the Python 3.3 Cartridge together with Django. And there is the problem. Because of the "old" version of python I get some exceptions. (Which is indeed a problem with the python…
Omoe
  • 23
  • 4
1
vote
1 answer

Unable to use "createdb" in cartridge

While trying to set up a Cartridge project, I came to the point of creating a database. Here is what I got: (tezt1)16:06 ~/rifleShop $ python manage.py createdb --noinput Traceback (most recent call last): File "manage.py", line 10, in
1
vote
1 answer

Openshift: Cannot remove php cartridge

I'm trying to remove php cartridge from my openshift application: rhc cartridge remove -a test -c php Openshift replies saying: 'php-5.4' cannot be removed I can remove mysql cartridge from the same application without a problem. Stopping the php…
m0l0t0v
  • 11
  • 2
1
2 3