Search found 56 matches

by DmS
01 Apr 2022, 12:52
Forum: Laravel package
Topic: Issue set product order in admin
Replies: 21
Views: 4274

Re: Issue set product order in admin

Aha. How do I go about doing that? I have the following in my shop.php config 'mshop' => [ 'locale' => [ 'site' => 'saluhall', 'manager' => [ 'sitelevel' => 3, ], ], 'common' => [ 'manager' => [ 'maxdepth' => 3, ], ], ], Or is it something completely different I need to do? /Dan
by DmS
31 Mar 2022, 11:43
Forum: Laravel package
Topic: Issue set product order in admin
Replies: 21
Views: 4274

Re: Issue set product order in admin

Again a revisit to this. As we deployed the aimeos upgrade etc onto the customers stage site, we noticed that the order set in admin did not reflect live. Tried the php artisan aimeos:clear - did not help. Added some logging to the decorator that handles rebuild of indexes, it's called and goes into...
by DmS
14 Mar 2022, 07:49
Forum: Laravel package
Topic: Issue set product order in admin
Replies: 21
Views: 4274

Re: Issue set product order in admin

Disregard the above, now it is working without artisan commands.
Tested it multiple times and it works without any other actions than changing it in the admin, Odd that it took so long before it started working, but good :)
by DmS
11 Mar 2022, 11:21
Forum: Laravel package
Topic: Issue set product order in admin
Replies: 21
Views: 4274

Re: Issue set product order in admin

I had tried that and multiple other variants of clearing caches. Now a couple of days after it worked. But should I really have to do that each time I change product order? That would not work at all once the shop is delivered to the customer, they are non technical, but constantly adjusts product o...
by DmS
09 Mar 2022, 11:42
Forum: Laravel package
Topic: Issue set product order in admin
Replies: 21
Views: 4274

Re: Issue set product order in admin

Back at this. Images shows how I've ordered things in admin, and the result I got. Note that the product " "0" mjöl till pizza, 1kg" is originally first in the list, and I've positioned it as #2 in admin, still it shows as #1 in the frontend. Note that I'm using marketplace if th...
by DmS
07 Mar 2022, 06:28
Forum: Laravel package
Topic: Get supplier id from product
Replies: 5
Views: 5738

Re: Get supplier id from product

Thank you, that solved it, once I figured out that I should use /lists/ instead of /detail/ in the conf :)
by DmS
04 Mar 2022, 15:16
Forum: Laravel package
Topic: Get supplier id from product
Replies: 5
Views: 5738

Get supplier id from product

I'm trying to get supplierdata from a product item in a template. It's in the file ext/<site>/client/html/templates/catalog/detail/body-standard.php in product list when you are in a category I have this where the products are listed //this is what returns the products <?php foreach ($this->get('pro...
by DmS
01 Mar 2022, 16:00
Forum: Laravel package
Topic: Basket plugin, add rebate product -> out of stock?
Replies: 5
Views: 1301

Re: Basket plugin, add rebate product -> out of stock?

That did indeed work a lot better, now I'm going to dig around on how to remove rebate prod from the basket when needed.
Thank you.
/Dan
by DmS
01 Mar 2022, 14:48
Forum: Laravel package
Topic: Basket plugin, add rebate product -> out of stock?
Replies: 5
Views: 1301

Re: Basket plugin, add rebate product -> out of stock?

Use the "createRebateProducts()" from the Base coupon provider class so you don't have to care about the details: https://github.com/aimeos/aimeos-core/blob/master/lib/mshoplib/src/MShop/Coupon/Provider/FixedRebate.php#L96 Thank you, been searching for examples, did not find this one :) W...
by DmS
01 Mar 2022, 10:00
Forum: Laravel package
Topic: Issue set product order in admin
Replies: 21
Views: 4274

Re: Issue set product order in admin

Ok, I'll try that.
Was a bit odd that I saw absolutely no effect at all after setting non-zero to some products, I expected the changed ones to move in relation to the 0 ones.
Thank you