# |
Jan 3rd 2020, 12:48 |
javier.villanueva |
do you want 50 customers or 50 inboxes? |
# |
Jan 3rd 2020, 08:15 |
rk.thedigifrog |
@jotpe inner join required |
# |
Jan 3rd 2020, 08:05 |
rk.thedigifrog |
yes |
# |
Jan 3rd 2020, 07:56 |
jotpe |
Not sure @rk.thedigifrog but do you need the innerJoinWith? Why don't you stick to conventions and associate CustomersTable with the InboxTable (inbox_id in Customers or customer_id in Inboxes)? |
# |
Jan 3rd 2020, 07:50 |
jotpe |
Morning, people! |
# |
Jan 3rd 2020, 06:40 |
rk.thedigifrog |
Please have a look on table structure screenshot : I want to get all customers group by customer_id and latest inbox record created `$this->Customers->find('all',['contain' => ['Inboxes']])->innerJoinWith('Inboxes')->order(['Inboxes.created'=> 'DESC' ])->group('Customers.id')->limit(50)->toArray();` |
# |
Jan 3rd 2020, 06:22 |
rk.thedigifrog |
Want to get record group by foreign key and created DESC |
# |
Jan 2nd 2020, 19:55 |
ricksaccous |
it depends how much time you are willing to put in so just research it though |
# |
Jan 2nd 2020, 19:51 |
luizcmarin |
"it's worth it to venture out of your comfort zone a bit and learn how to create an e-commerce store with just cake" :+1: |
# |
Jan 2nd 2020, 19:50 |
ricksaccous |
shopify |
# |
Jan 2nd 2020, 19:49 |
ricksaccous |
there are some other ones |
# |
Jan 2nd 2020, 19:49 |
ricksaccous |
what is that other one that's popular |
# |
Jan 2nd 2020, 19:49 |
ricksaccous |
@luizcmarin in my opinion it's worth it to venture out of your comfort zone a bit and learn how to create an e-commerce store with just cake but there are solutions built around ecommerce (Magento, Drupal Commerce, some WP solution) out there. Either way it's going to be a lot of reading to customize anything. I don't have experience with squarespace but that's more of a package deal where the work is done for you I think. |
# |
Jan 2nd 2020, 19:46 |
niel45 |
@luizcmarin seriously consider using something like SquareSpace if you just need something simple. |
# |
Jan 2nd 2020, 19:45 |
luizcmarin |
if there's nothing in cake, look for something else ... joomla, for example. I don't know ... I never had to do that. My 'world' was desktop (clipper, delphi, clarion, ... cobol!) |
# |
Jan 2nd 2020, 19:43 |
ricksaccous |
there's just more to it than you might initially think |
# |
Jan 2nd 2020, 19:43 |
ricksaccous |
i don't think it's that hard |
# |
Jan 2nd 2020, 19:43 |
ricksaccous |
not trying to scare you at all |
# |
Jan 2nd 2020, 19:43 |
luizcmarin |
Don't scare me ... a friend wants to make prints and put on the internet. Simple thing, you may not even use paypal and others. Maybe you only work with bank transfer and send the voucher by email. But I look for the methodology (or skeleton) to get started. |
# |
Jan 2nd 2020, 19:40 |
ricksaccous |
as far as a whole project i doubt you'll find one out there |
# |
Jan 2nd 2020, 19:39 |
ricksaccous |
there are plugins to aid you |
# |
Jan 2nd 2020, 19:39 |
ricksaccous |
there's a lot to keep in mind when creating e-commerce in Cake though |
# |
Jan 2nd 2020, 19:39 |
ricksaccous |
if it's available as an e-commerce option in Brazil I'd suggest that, it's just an API |
# |
Jan 2nd 2020, 19:39 |
ricksaccous |
generally stripe is not that hard to use |
# |
Jan 2nd 2020, 19:38 |
ricksaccous |
you'll have to research what payment methods you have that are available in your country |
# |
Jan 2nd 2020, 19:36 |
luizcmarin |
Does anyone know an example of e-commerce made with cakephp in github (open source)? |
# |
Jan 2nd 2020, 18:56 |
brian.french |
it's catching about 95% of my annotations. the 5% are in my templates mainly, which just means I need to update the typehints in my controllers. thats awesome! |
# |
Jan 2nd 2020, 18:52 |
brian.french |
lol |
# |
Jan 2nd 2020, 18:52 |
ricksaccous |
that would be a pretty cool song though |
# |
Jan 2nd 2020, 18:52 |
ricksaccous |
just kidding i'm stopping htere |
# |
Jan 2nd 2020, 18:51 |
ricksaccous |
I'd say my experience was better than sublime, I'd like to thank you ONE LAST TIME |
# |
Jan 2nd 2020, 18:51 |
ricksaccous |
with your type hints I don't miss a line, over time you've treated me quite fine |
# |
Jan 2nd 2020, 18:50 |
ricksaccous |
please help me use my IDE, a very nice plugin created for FREE, FOR FREEE, FOR FREEE--EEE-EEEE |
# |
Jan 2nd 2020, 18:42 |
brian.french |
wow @dereuromark mark, it took me a little bit to setup, but the IdeHelper is awesome! |
# |
Jan 2nd 2020, 16:57 |
brian.french |
@dereuromark checking it out now, thank you sir! |
# |
Jan 2nd 2020, 16:54 |
dereuromark |
It also is able to introspect, autocomplete and more. |
# |
Jan 2nd 2020, 16:54 |
dereuromark |
This should mainly make you happy :) As your IDE will be so more smarter then and you can click through. |
# |
Jan 2nd 2020, 16:50 |
brian.french |
Your IDE Helper looks awesome, just reluctant to add yet another tool just to make testing tools happy, but i'll give it a try. |
# |
Jan 2nd 2020, 16:48 |
dereuromark |
This is not sth that should be done manually IMO. |
# |
Jan 2nd 2020, 16:44 |
brian.french |
So the @ mixin tag? that's what I was looking for. |
# |
Jan 2nd 2020, 16:43 |
brian.french |
Awesome, thanks! |