Description
Màu Xe Ô Tô (“car colors” in Vietnamese) lets car dealers and sales consultants show every paint color of a car on their website. Visitors tap a color swatch and the car changes color instantly. If you upload a 360° image sequence for that color, visitors can drag (or swipe on a phone) to rotate the car, and the viewing angle is kept when they switch to another color.
The admin screens are in Vietnamese because the plugin is built for Vietnamese car sellers.
Features
- Create cars under the “Màu Xe Ô Tô” menu, no WooCommerce required.
- Each color has a name (for example “Trắng Ngọc Trai”), a swatch color, an optional second color for two-tone paint, a main image and an optional price note (for example “+8 triệu”).
- 360° spin per color: pick or bulk upload 24–36 frames at once from the Media Library. Frames are sorted by file name automatically, and can be re-ordered by drag and drop or reversed with one click.
- Drag or swipe to rotate, with inertia. Keyboard arrows also rotate.
- Optional autoplay rotation, off by default. You can turn it on in the car settings, with autoplay=”yes” on the shortcode, or in the block / Elementor widget. It is disabled automatically for visitors who prefer reduced motion, and it only starts after every 360° frame has loaded.
- The current angle is kept when switching between 360° colors.
- Fast: only the first frame is loaded with the page. The remaining frames are loaded only when the viewer is on screen or when the visitor picks that color, with a progress bar. The first frame of a color is warmed up on hover.
- Colors without a 360° sequence simply show their main image.
- Fullscreen button (with a CSS fallback for iPhone) and optional zoom (buttons or double click, drag to pan).
- Swatch style: circle, rounded square or square; swatch size; show or hide color names.
- Three ways to insert: shortcode
[mau_xe_o_to id="123"], the “Màu Xe Ô Tô” block, or the “Màu Xe Ô Tô” Elementor widget (loaded only when Elementor is active). - Front end is plain JavaScript (no jQuery), under 7 KB gzipped together with the CSS, and is only loaded on pages that show a car.
- No external requests, no tracking, no ads.
Shortcode options
[mau_xe_o_to id="123" shape="circle" size="40" label="yes" autoplay="no"]
id– car ID (shown on the car edit screen and in the car list).shape–circle,roundedorsquare.size– swatch size in pixels (20–80).label–yesornoto show color names.autoplay–yesorno. Default:no.
Empty options fall back to the settings saved on the car.
Blocks
This plugin provides 1 block.
- Màu Xe Ô Tô Bảng chọn màu xe kèm xoay 360 độ.
Installation
- Upload the
vinhxd-car-colors-360folder to/wp-content/plugins/, or install it from the Plugins screen. - Activate the plugin.
- Go to Màu Xe Ô Tô Thêm xe, enter the car name and add colors. For each color choose a main image and, optionally, the 360° frames.
- Publish, then insert the car with the shortcode, the block or the Elementor widget.
FAQ
-
How many frames should a 360° sequence have?
-
24 to 36 frames taken at equal angles around the car work best. Up to 72 frames per color are accepted.
-
Where can I get 360° images?
-
Most car makers and dealers publish 360° images of their cars. Make sure you have the right to use them. Name the files in order (01.jpg, 02.jpg …) so they are sorted automatically.
-
The car rotates the wrong way.
-
Click “Đảo chiều” (reverse) under the frames, or set “Đảo chiều kéo” (reverse drag) to “Có” in the display box.
-
Does it need WooCommerce?
-
No. Cars are stored in their own post type.
-
Does it work with page caching and lazy loading plugins?
-
Yes. All data is in the page HTML and the viewer starts on its own.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“VinhXD Car Colors 360” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “VinhXD Car Colors 360” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.2
- Renamed to “VinhXD Car Colors 360” for the WordPress.org directory (text domain and slug: vinhxd-car-colors-360). Admin screens stay in Vietnamese. Shortcode, block name and saved car data are unchanged.
1.0.1
- Autoplay (auto-spin) is now off by default. You can still turn it on in the car settings, with autoplay=”yes” on the shortcode, or in the block / Elementor widget.
- Auto-spin waits until every 360° frame has loaded, and frames are swapped only after they have decoded, so the rotation no longer flickers.
1.0.0
- First release.