OFFLINE-GmbH/oc-microcart-plugin 14
:shopping_cart: Simple shopping cart component for October CMS
Daemon that sends local hardware information to Home Assistant
OFFLINE-GmbH/oc-opening-hours-plugin 3
:clock3: Manage and display opening hours on your website
ÜK4 Demo
The October CMS Documentation
:lollipop: Frontend for Home Assistant
tobias-kuendig/gala-pip-plugin 0
A Picture In Picture plugin for Gala
Javascript audio library for the modern web.
Interaktive Webseite mit Formular erstellen
issue commentOFFLINE-GmbH/oc-mall-plugin
seed-demo Artisan command hangs
Aha! It is possible that the plugin:refresh command now asks for confirmation. We might have to add a new --force flag or something.
comment created time in a day
issue commentOFFLINE-GmbH/oc-mall-plugin
Error when trying to get grouped_properties
Thank you for this report! This is a duplicate of #780, please follow this issue for updates on this problem.
comment created time in a day
issue closedOFFLINE-GmbH/oc-mall-plugin
Error when trying to get grouped_properties
Hi I am trying to display grouped properties according to the docs, I am running OCMS 2.
However I am getting this error:
Trying to get property 'id' of non-object in /data/2/1/219596a6-26ca-4afa-a2e1-f243ddc21d91/unitedcognacbottlebank.com/web/plugins/offline/mall/classes/traits/PropertyValues.php:51
And related question can I get properties from specific group only?
closed time in a day
vosco88startedlinuxserver/docker-webtop
started time in 2 days
push eventOFFLINE-GmbH/oc-mall-plugin
Deployment Bot (from Travis CI)
commit sha b1be39f8a157da8714e73535c622ddd225b11d85
Deploy OFFLINE-GmbH/oc-mall-plugin to github.com/OFFLINE-GmbH/oc-mall-plugin.git:gh-pages
push time in 3 days
issue commentOFFLINE-GmbH/oc-mall-plugin
Filter by category doesn't work with MySQL Index driver
Can you check if this change fixes the issue for you?
adf6757
comment created time in 3 days
push eventOFFLINE-GmbH/oc-mall-plugin
commit sha adf675777c8c0ab44eb1f87c4673663cd168a709
Cast category_id in MySQL filter query to int
push time in 3 days
issue commentOFFLINE-GmbH/oc-mall-plugin
Add price variable to page scope for easier theming
This is a good point! Would you mind creating a PR with this change?
comment created time in 3 days
issue commentOFFLINE-GmbH/oc-mall-plugin
seed-demo Artisan command hangs
Could you try to find out where exactly it hangs? Do the artisan commands shang as well if you run them by hand:
https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/cdf7a3240c25a12d42823348f1e3488350e429ab/console/SeedDemoData.php#L98
comment created time in 3 days
issue closedOFFLINE-GmbH/oc-mall-plugin
Hello everyone!
I need your help to get some things to understand.
I have a project, where I need to sell products like parquet. So the price that is displayed in the shop is per m2, but in a package are 2.6 m2. The shop customer can only buy full packages. So how can I achieve this with the standard mall solution? I have currently no clue.
Thanks in advance.
closed time in 3 days
MateThemesissue closedOFFLINE-GmbH/oc-mall-plugin
I am planning to extend the category model to allow to have different category images for different brands. The idea is to have a jsonable repeating field that binds an image choosen via the media manager to a brand. Using of jsonable should not impact in performance. This open the possibility to create component blocks that link to a category, which is handy in sites with multiple brands like the one i am working on. And of course if a brand category image is missing we can fall back to the default category image. I also imagined to build an external plugin but this is less performant and has a less simple UI
Let me know if someone is interested or has different ideas so i can create a pull request.
closed time in 3 days
inaltoissue commentOFFLINE-GmbH/oc-mall-plugin
Querying products by a specific property
It problably is property_values, plural:
https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/develop/models/Product.php#L166
comment created time in 8 days
issue closedOFFLINE-GmbH/oc-mall-plugin
I am working to build a Shop page displaying all the existing products from the catalogue. Not more than 100. I need to display and group them by category. So far, I have been using some twig magic to make it happen but it reaches limits in performance. The sorting by category and sorting by price in Twig is pretty resource hungry.
i am thinking to extends the products component and override the getItems() method with the SQL query that would do the grouping and sorting.
Would it be better to work with the index table or the products and categories tables?
closed time in 8 days
chrisvidalissue openedvuejs/vue-apollo
Problems with explicit types in `useResult` since the result now can be `undefined`
I do use useResult with explicit types:
const configStatus = useResult<ConfigChangelogQuery, ConfigStatus, ConfigStatus>(
result,
{ changelog: [], error: '' },
data => data.configChangelog
)
This worked fine up until 4.0.0-alpha.13 where this change got introduced:
https://github.com/vuejs/vue-apollo/pull/1062/files#diff-6bc7e9678664512fca6286f9a45bc6bdb7f3e02b733c2954ff1fb8210e2f87deR59
I now get this error for about 100 useResult calls in my application:
TS2345: Argument of type 'Ref<ConfigChangelogQuery | undefined>' is not assignable to parameter of type 'Ref<ConfigChangelogQuery>'.
Type 'ConfigChangelogQuery | undefined' is not assignable to type 'ConfigChangelogQuery'.
Type 'undefined' is not assignable to type 'ConfigChangelogQuery'.
Obviously, the problem here is the new undefined return type in useQuery. So I am wondering, is there an easy way around this problem without having to change all the useResult calls?
Removing the explicit typing would be an easy fix, but this somehow doesn't look right to me either:
const configStatus = useResult(
result,
{ changelog: [], error: '' },
data => data.configChangelog // data is possibly undefined!
)
The data parameter in the pick function is now of the type ConfigChangelogQuery | undefined. Shouldn't this never be undefined in this case? An undefined result should return the default value object and never trigger the pick function.
What am I missing?
created time in 8 days
issue commentOFFLINE-GmbH/oc-mall-plugin
Sure, these are just standard Eloquent relations:
Category::with('publishedProducts.image_sets.images', 'publishhedProducts.property_values')->get();
This should get you most of the data you need properly loaded. Also check out the Products and Product components to see how the relations are loaded there:
https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/6268b07ac97231055371f0505bc86491c9c0b30a/components/Product.php#L479
And of course the model definitions, where all relations are defined.
comment created time in 8 days
issue commentOFFLINE-GmbH/oc-mall-plugin
That's a tricky one. A solution to this problem is to use mall to create your parquet product of 2.6 m2 with a fixed price that the customer can buy. Then use either a custom field to add the price for a single m2 and display this instead of the effective product price in the frontend.
Another, but a bit more complex solution, is to add a custom db column to the products table and extend the product form with a new "m2 cost" field. Then use this in the frontend.
https://octobercms.com/docs/plugin/extending#extending-backend-form
comment created time in 9 days
issue commentOFFLINE-GmbH/oc-mall-plugin
The index table is primarily used for filtering based on product properties. If you just want to display all categories with all products, you can use a simple Eloquent query:
Category::with('publishedProducts')->get();
Also, if you really only want to display the products (no filtering) you might be better off just creating a new component that does only what your specific use-case needs.
comment created time in 9 days
issue commentOFFLINE-GmbH/oc-mall-plugin
Sorting with includeChildren in a category
Your query is sorting by the order of category 1, but there does not seem to be any special product order set for this category.
You can test the sorting with this query (replace 2 with your category id):
select product_id, variant_id, category_id, sort_orders, JSON_EXTRACT(sort_orders, '$."2"') as o
FROM offline_mall_index
order by CAST(JSON_EXTRACT(sort_orders, '$."2"') as unsigned) DESC
What is the exact context of the query? It looks like you are viewing category 1 (parent) that contains categories 2 and 3. So in this case, it does load the custom sorting for category 1, but I think you want it to sort by the child categories as well.
comment created time in 9 days
issue closedOFFLINE-GmbH/oc-mall-plugin
OCMS 1 can't upgrade to 1.14.1
Every time I click the update button, it goes through the process of upgrading from 1.14.0 to 1.14.1 (downloads, unpacks, etc, message is "Updates processed OK", but it does not actually update. This has now been happening for several days. No changes in the version.yaml file. This happens on 2 live sites and 2 dev sites. Anyone else?
closed time in 9 days
dathwaissue commentOFFLINE-GmbH/oc-mall-plugin
OCMS 1 can't upgrade to 1.14.1
Great! Glad that did the trick.
comment created time in 9 days
issue commentOFFLINE-GmbH/oc-mall-plugin
Class 'Hashids\Hashids' not found
Make sure that your composer dependencies are up-to-date:
composer install
should install the hashids/hashids package for you (or give you an error if there is a dependency problem)
comment created time in 9 days
startedecomfe/vue-echarts
started time in 10 days
issue commentOFFLINE-GmbH/oc-mall-plugin
OCMS 1 can't upgrade to 1.14.1
Alright, there is no error, so it seems like composer just resolves to 1.14.0 as the last supported version for your setup.
Could you try to explicitly require 1.14.2? This way we should see what dependencies are conflicting:
composer require offline/oc-mall-plugin 1.14.2
comment created time in 10 days
issue closedOFFLINE-GmbH/oc-gdpr-plugin
v2.2.11: Error when Translate plugin is not installed
Commit https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/commit/8cee30901509f2c6caf9befe396b8cc61355a2a7 assumes that RainLab/Winter.Translate plugin is installed and will throw a "Class 'RainLab\Translate\Models\Attribute' not found" error when this is not the case.
closed time in 11 days
guus-frenkenissue commentOFFLINE-GmbH/oc-gdpr-plugin
v2.2.11: Error when Translate plugin is not installed
This is fixed in the latest release, thank you!
comment created time in 11 days
push eventOFFLINE-GmbH/oc-gdpr-plugin
commit sha 8cee30901509f2c6caf9befe396b8cc61355a2a7
Improve compatibility with winter.translate plugin
commit sha cf27298cdcd03266b44fc11fd3dad4641efc242d
Merge pull request #80 from damsfx/develop Improve compatibility with winter.translate plugin
commit sha 1441d5c7ec33e098b5b7ca0234ff1e318efec122
Version bump
commit sha 413af517056d60541ef8c5fd89b9a078bd9dbec5
Merge branch 'develop'
commit sha 063bb0a2ad21e480075fb15786b620dbd3d1dbfb
Extend RainLab.Translate conditionally
commit sha 46e3a3b3129ec54c2d35dbac5399cd124dd0efc7
Merge branch 'develop'
push time in 11 days
created tagOFFLINE-GmbH/oc-gdpr-plugin
October CMS plugin to make websites GDPR and ePrivacy compliant
created time in 11 days
push eventOFFLINE-GmbH/oc-gdpr-plugin
commit sha 063bb0a2ad21e480075fb15786b620dbd3d1dbfb
Extend RainLab.Translate conditionally
push time in 11 days
issue commentOFFLINE-GmbH/oc-mall-plugin
Completing checkout always redirects users to "failed" page after off-site payment
Thank you for testing this out! It is very much possible, that this is an issue introdueced by a new default config setting in October v2. I'll see if I find something regarding this issue.
comment created time in 11 days