Re: [mezzanine-users] Cartridge customisation

2017-08-15 Thread Stephen McDonald
On Wed, Aug 16, 2017 at 1:36 AM, Simon Bradley 
wrote:

> Hi
>
> I've read a lot of posts about customising cartridge but they tend to be
> issue specific.
>
> I've only just started using mezzanine and cartridge and while i've found
> mezzanine very easy to bend to my will, i'm struggling with how to
> customise cartridge.
>
> I'm trying to build a location booking system.
>
> It's really easy to get the default shop up and running which is
> fantastic. I've done that and added various products with the admin
> interface and that all works great.
>
> Now i want to customise the product view to remove the quantity field and
> to add from and to dates. Just basic booking stuff like you'd get on
> booking.com. The simple way appears to be to just edit the model but then
> what happens if i want to update my installed version of cartridge?
>

Given that the rate of change in Cartridge is *very* low, this shouldn't be
a problem. Depend on your private fork of Cartridge, and updating should be
as simple as merging upstream changes when they do infrequently occur. For
the small price to pay of needing some way to keep on top of those changes,
and the manual task of having to resolve conflicts should they occur, you
gain unlimited ability to customize.



> That's a real concern if there's a security issue. And of course i'd like
> to avoid building in my own security problems!
>
> I've read through the docs on integration and sub classing the order form
> and then removing the fields i dont want (Which is most of them). I dont
> need shipping and what have you either because there's no physical product.
>
> However, it seems on the face of it to be much simpler to just edit the
> models.
>
> So, i was wondering if there's a way to make these fairly simple
> modifications without just copying the cartridge folder into my project and
> hacking it to pieces and then making the necessary migrations! Or is that
> common?
>
> Sorry this sounds so clueless, I'm really just looking for some sound
> advice.
>
> Cheers.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] Pagination in Gallery page

2017-08-15 Thread sg . oleksandr . p
Hello,
please, explain me, how i can implement it?

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Cartridge customisation

2017-08-15 Thread Ken Bolton
Hi Simon,

I did this years ago using a Django scheduling app (calendarium, at the
time) to manage the scheduling and Cartridge to do the product. This was
non-trivial. I would probably use
https://github.com/llazzaro/django-scheduler today, combining the Event
model with the Product model in some way.

-ken

On Tue, Aug 15, 2017 at 11:36 AM, Simon Bradley 
wrote:

> Hi
>
> I've read a lot of posts about customising cartridge but they tend to be
> issue specific.
>
> I've only just started using mezzanine and cartridge and while i've found
> mezzanine very easy to bend to my will, i'm struggling with how to
> customise cartridge.
>
> I'm trying to build a location booking system.
>
> It's really easy to get the default shop up and running which is
> fantastic. I've done that and added various products with the admin
> interface and that all works great.
>
> Now i want to customise the product view to remove the quantity field and
> to add from and to dates. Just basic booking stuff like you'd get on
> booking.com. The simple way appears to be to just edit the model but then
> what happens if i want to update my installed version of cartridge? That's
> a real concern if there's a security issue. And of course i'd like to avoid
> building in my own security problems!
>
> I've read through the docs on integration and sub classing the order form
> and then removing the fields i dont want (Which is most of them). I dont
> need shipping and what have you either because there's no physical product.
>
> However, it seems on the face of it to be much simpler to just edit the
> models.
>
> So, i was wondering if there's a way to make these fairly simple
> modifications without just copying the cartridge folder into my project and
> hacking it to pieces and then making the necessary migrations! Or is that
> common?
>
> Sorry this sounds so clueless, I'm really just looking for some sound
> advice.
>
> Cheers.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] Cartridge customisation

2017-08-15 Thread Simon Bradley
Hi

I've read a lot of posts about customising cartridge but they tend to be 
issue specific.

I've only just started using mezzanine and cartridge and while i've found 
mezzanine very easy to bend to my will, i'm struggling with how to 
customise cartridge.

I'm trying to build a location booking system.

It's really easy to get the default shop up and running which is fantastic. 
I've done that and added various products with the admin interface and that 
all works great.

Now i want to customise the product view to remove the quantity field and 
to add from and to dates. Just basic booking stuff like you'd get on 
booking.com. The simple way appears to be to just edit the model but then 
what happens if i want to update my installed version of cartridge? That's 
a real concern if there's a security issue. And of course i'd like to avoid 
building in my own security problems!

I've read through the docs on integration and sub classing the order form 
and then removing the fields i dont want (Which is most of them). I dont 
need shipping and what have you either because there's no physical product.

However, it seems on the face of it to be much simpler to just edit the 
models.

So, i was wondering if there's a way to make these fairly simple 
modifications without just copying the cartridge folder into my project and 
hacking it to pieces and then making the necessary migrations! Or is that 
common?

Sorry this sounds so clueless, I'm really just looking for some sound 
advice.

Cheers.




-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.