WIP: Add demo data structure and fix template critical issues #67
1
.gitignore
vendored
1
.gitignore
vendored
@@ -194,6 +194,7 @@ custom/
|
||||
uploads/
|
||||
thumbs/
|
||||
data/
|
||||
!data/demo/
|
||||
cache/
|
||||
temp/
|
||||
tmp/
|
||||
|
||||
153
data/demo/README.md
Normal file
153
data/demo/README.md
Normal file
@@ -0,0 +1,153 @@
|
||||
# Moko-Cassiopeia Demo Data
|
||||
|
||||
This directory contains sample/demo data for the Moko-Cassiopeia Joomla template, designed to help you quickly set up different types of websites.
|
||||
|
||||
## Overview
|
||||
|
||||
The demo data is organized into modular sets that can be imported separately based on your needs:
|
||||
|
||||
- **Articles**: Sample Joomla content in j2xml format
|
||||
- **VirtueMart**: E-commerce sample data (products, categories, etc.)
|
||||
- **MembershipPro**: Membership management sample data
|
||||
- **Dolibarr**: ERP/CRM integration sample data
|
||||
|
||||
## Directory Structure
|
||||
|
||||
```
|
||||
/data/demo/
|
||||
├── README.md (this file)
|
||||
├── articles/
|
||||
│ ├── basic-website/ # Standard website content
|
||||
│ ├── ecommerce/ # E-commerce focused content
|
||||
│ ├── membership/ # Membership site content
|
||||
│ └── community/ # Community/forum site content
|
||||
├── virtuemart/ # VirtueMart sample products & settings
|
||||
├── membershippro/ # MembershipPro sample data
|
||||
└── dolibarr/ # Dolibarr integration configuration
|
||||
```
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before importing demo data, ensure you have:
|
||||
|
||||
1. **Joomla 4.x or 5.x** installed
|
||||
2. **Moko-Cassiopeia template** installed and activated
|
||||
3. Required extensions installed:
|
||||
- **j2xml** component (for importing article content)
|
||||
- **VirtueMart** (if using e-commerce data)
|
||||
- **MembershipPro** (if using membership data)
|
||||
- **Dolibarr connector** (if using ERP integration)
|
||||
|
||||
## Installation Order
|
||||
|
||||
For best results, import data in this order:
|
||||
|
||||
1. **Articles** - Choose one or more article sets based on your site type
|
||||
2. **VirtueMart** - If building an e-commerce site
|
||||
3. **MembershipPro** - If building a membership site
|
||||
4. **Dolibarr** - If integrating with Dolibarr ERP/CRM
|
||||
|
||||
## Quick Start
|
||||
|
||||
### 1. Import Articles
|
||||
|
||||
Articles are provided in j2xml format for easy import:
|
||||
|
||||
```bash
|
||||
# Install j2xml component first
|
||||
# Then import via Joomla admin: Components > j2xml > Import
|
||||
```
|
||||
|
||||
Choose the article set that matches your needs:
|
||||
- `articles/basic-website/` - Standard informational website
|
||||
- `articles/ecommerce/` - Product pages, shopping guides, policies
|
||||
- `articles/membership/` - Member resources, restricted content
|
||||
- `articles/community/` - Forums, user profiles, community pages
|
||||
|
||||
See individual README files in each directory for detailed instructions.
|
||||
|
||||
### 2. Import VirtueMart Data (Optional)
|
||||
|
||||
If you're building an e-commerce site:
|
||||
|
||||
```bash
|
||||
# Import via phpMyAdmin or MySQL command line
|
||||
mysql -u username -p database_name < virtuemart/categories.sql
|
||||
mysql -u username -p database_name < virtuemart/products.sql
|
||||
# ... continue with other files
|
||||
```
|
||||
|
||||
See `virtuemart/README.md` for detailed instructions.
|
||||
|
||||
### 3. Import MembershipPro Data (Optional)
|
||||
|
||||
For membership sites:
|
||||
|
||||
```bash
|
||||
mysql -u username -p database_name < membershippro/sample-data.sql
|
||||
```
|
||||
|
||||
See `membershippro/README.md` for detailed instructions.
|
||||
|
||||
### 4. Configure Dolibarr Integration (Optional)
|
||||
|
||||
For ERP integration:
|
||||
|
||||
See `dolibarr/README.md` for configuration instructions.
|
||||
|
||||
## Customization
|
||||
|
||||
All demo data is meant to be a starting point. You can:
|
||||
|
||||
- Edit content to match your brand
|
||||
- Add/remove products
|
||||
- Modify categories and structures
|
||||
- Adjust pricing and stock levels
|
||||
- Customize field configurations
|
||||
|
||||
## Data Contents Summary
|
||||
|
||||
### Articles
|
||||
- **Basic Website**: About, Services, Contact, Privacy Policy, Terms
|
||||
- **E-commerce**: Product Guides, Shipping Info, Returns Policy, FAQ
|
||||
- **Membership**: Member Benefits, Subscription Tiers, Member Resources
|
||||
- **Community**: Forum Guidelines, User Profiles, Community Events
|
||||
|
||||
### VirtueMart
|
||||
- 50+ sample products across multiple categories
|
||||
- Product variants (sizes, colors)
|
||||
- Custom product fields
|
||||
- Featured products configuration
|
||||
- Stock management examples
|
||||
- Category hierarchy
|
||||
|
||||
### MembershipPro
|
||||
- Sample membership plans
|
||||
- Member groups
|
||||
- Access levels
|
||||
- Sample member profiles
|
||||
|
||||
### Dolibarr
|
||||
- API connection configuration
|
||||
- Product synchronization settings
|
||||
- Customer data mapping
|
||||
|
||||
## Support
|
||||
|
||||
For issues or questions:
|
||||
- Template issues: https://github.com/mokoconsulting-tech/moko-cassiopeia/issues
|
||||
- Documentation: See README files in each subdirectory
|
||||
- Moko Consulting: hello@mokoconsulting.tech
|
||||
|
||||
## License
|
||||
|
||||
This demo data is provided under the same GPL-3.0-or-later license as the Moko-Cassiopeia template.
|
||||
|
||||
## Version
|
||||
|
||||
Demo Data Version: 03.06.01
|
||||
Compatible with: Moko-Cassiopeia 03.06.x
|
||||
|
||||
---
|
||||
|
||||
**Note**: This is sample data for demonstration purposes. Always backup your database before importing any data.
|
||||
75
data/demo/articles/basic-website/README.md
Normal file
75
data/demo/articles/basic-website/README.md
Normal file
@@ -0,0 +1,75 @@
|
||||
# Basic Website Articles
|
||||
|
||||
This directory contains sample articles for a standard informational website.
|
||||
|
||||
## Contents
|
||||
|
||||
The `articles.j2xml` file includes:
|
||||
|
||||
1. **Home** - Welcome page with company overview
|
||||
2. **About Us** - Company history and mission
|
||||
3. **Our Services** - List of services offered
|
||||
4. **Our Team** - Team member profiles
|
||||
5. **Contact Us** - Contact information and form
|
||||
6. **Privacy Policy** - Sample privacy policy
|
||||
7. **Terms of Service** - Sample terms and conditions
|
||||
8. **FAQ** - Frequently asked questions
|
||||
9. **Blog Posts** - 5 sample blog articles
|
||||
|
||||
## Installation
|
||||
|
||||
1. Install the **j2xml** component in your Joomla installation
|
||||
2. Navigate to: **Components > j2xml > Import**
|
||||
3. Select the `articles.j2xml` file
|
||||
4. Click **Import**
|
||||
5. Review imported articles in **Content > Articles**
|
||||
|
||||
## What Gets Imported
|
||||
|
||||
- 9 articles with formatted content
|
||||
- Categories: Home, About, Services, Legal
|
||||
- Featured images (placeholders)
|
||||
- Meta descriptions
|
||||
- Publishing dates
|
||||
|
||||
## Post-Import Steps
|
||||
|
||||
1. **Review Content**: Edit articles to match your business
|
||||
2. **Update Images**: Replace placeholder images with your own
|
||||
3. **Create Menus**: Link articles to your site menu
|
||||
4. **Set Featured**: Mark home page as featured if needed
|
||||
5. **Adjust Permissions**: Configure access levels as needed
|
||||
|
||||
## Customization Tips
|
||||
|
||||
- Edit the introtext for article previews
|
||||
- Add custom fields for additional metadata
|
||||
- Adjust category structure to match your needs
|
||||
- Update contact information
|
||||
- Customize privacy policy for your jurisdiction
|
||||
|
||||
## Article List
|
||||
|
||||
| Title | Category | Type | Notes |
|
||||
|-------|----------|------|-------|
|
||||
| Welcome to Our Website | Home | Featured | Homepage content |
|
||||
| About Our Company | About | Standard | Company overview |
|
||||
| Our Services | Services | Standard | Service list |
|
||||
| Meet Our Team | About | Standard | Team profiles |
|
||||
| Contact Us | Contact | Standard | Contact info |
|
||||
| Privacy Policy | Legal | Standard | GDPR-compliant template |
|
||||
| Terms of Service | Legal | Standard | Usage terms |
|
||||
| Frequently Asked Questions | Support | Standard | Common questions |
|
||||
| Getting Started Guide | Support | Standard | Help documentation |
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Joomla 4.x or 5.x
|
||||
- j2xml component
|
||||
- Moko-Cassiopeia template (for optimal display)
|
||||
|
||||
## Version
|
||||
|
||||
Version: 1.0.0
|
||||
Last Updated: 2026-01-29
|
||||
Compatible with: Joomla 4.x, 5.x
|
||||
493
data/demo/articles/basic-website/articles.j2xml
Normal file
493
data/demo/articles/basic-website/articles.j2xml
Normal file
@@ -0,0 +1,493 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<j2xml version="26.0.000">
|
||||
<version>26.0.000</version>
|
||||
<category>
|
||||
<id>1</id>
|
||||
<title>Basic Website</title>
|
||||
<alias>basic-website</alias>
|
||||
<description><![CDATA[Sample articles for a basic informational website]]></description>
|
||||
<published>1</published>
|
||||
<access>1</access>
|
||||
<language>*</language>
|
||||
<extension>com_content</extension>
|
||||
</category>
|
||||
|
||||
<article>
|
||||
<id>1</id>
|
||||
<title>Welcome to Our Website</title>
|
||||
<alias>welcome</alias>
|
||||
<introtext><![CDATA[<p>Welcome to our website! We're excited to have you here. Discover what we do and how we can help you achieve your goals.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Who We Are</h2>
|
||||
<p>We are a dedicated team of professionals committed to delivering exceptional service and innovative solutions. Our mission is to help businesses and individuals succeed in an ever-changing digital landscape.</p>
|
||||
|
||||
<h3>What We Offer</h3>
|
||||
<ul>
|
||||
<li>Professional consulting services</li>
|
||||
<li>Custom development solutions</li>
|
||||
<li>24/7 customer support</li>
|
||||
<li>Comprehensive training programs</li>
|
||||
</ul>
|
||||
|
||||
<h3>Why Choose Us</h3>
|
||||
<p>With over a decade of experience, we've helped hundreds of clients achieve their objectives. Our commitment to quality, innovation, and customer satisfaction sets us apart.</p>
|
||||
|
||||
<p>Explore our site to learn more about our services, meet our team, and discover how we can help you succeed.</p>
|
||||
|
||||
<p><a href="/contact-us" class="btn btn-primary">Get in Touch</a></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<modified>2026-01-29 00:00:00</modified>
|
||||
<featured>1</featured>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Welcome to our website - Discover our services and solutions</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>2</id>
|
||||
<title>About Our Company</title>
|
||||
<alias>about-us</alias>
|
||||
<introtext><![CDATA[<p>Learn about our history, mission, and the values that drive us forward every day.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Our Story</h2>
|
||||
<p>Founded in 2014, our company began with a simple mission: to provide high-quality, innovative solutions that make a real difference. What started as a small team of passionate professionals has grown into a thriving organization serving clients worldwide.</p>
|
||||
|
||||
<h3>Our Mission</h3>
|
||||
<p>We strive to empower businesses and individuals through cutting-edge technology, exceptional service, and unwavering commitment to excellence.</p>
|
||||
|
||||
<h3>Our Values</h3>
|
||||
<ul>
|
||||
<li><strong>Integrity</strong> - We operate with honesty and transparency</li>
|
||||
<li><strong>Innovation</strong> - We embrace new ideas and technologies</li>
|
||||
<li><strong>Excellence</strong> - We deliver the highest quality in everything we do</li>
|
||||
<li><strong>Customer Focus</strong> - Our clients' success is our success</li>
|
||||
<li><strong>Collaboration</strong> - We work together to achieve great things</li>
|
||||
</ul>
|
||||
|
||||
<h3>Our Vision</h3>
|
||||
<p>To be the leading provider of innovative solutions that transform how people work and live, creating lasting value for our clients and communities.</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Learn about our company history, mission, and values</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>3</id>
|
||||
<title>Our Services</title>
|
||||
<alias>our-services</alias>
|
||||
<introtext><![CDATA[<p>Discover the comprehensive range of services we offer to help your business grow and succeed.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>What We Do</h2>
|
||||
<p>We provide a full suite of professional services designed to meet your business needs:</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h3><i class="fa-solid fa-laptop-code"></i> Web Development</h3>
|
||||
<p>Custom websites and web applications built with the latest technologies. From simple brochure sites to complex e-commerce platforms, we deliver solutions that work.</p>
|
||||
<ul>
|
||||
<li>Responsive design</li>
|
||||
<li>E-commerce integration</li>
|
||||
<li>Content management systems</li>
|
||||
<li>Custom web applications</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3><i class="fa-solid fa-mobile-screen"></i> Mobile Development</h3>
|
||||
<p>Native and cross-platform mobile applications for iOS and Android that engage users and drive results.</p>
|
||||
<ul>
|
||||
<li>iOS app development</li>
|
||||
<li>Android app development</li>
|
||||
<li>Cross-platform solutions</li>
|
||||
<li>App store optimization</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-4">
|
||||
<div class="col-md-6">
|
||||
<h3><i class="fa-solid fa-chart-line"></i> Digital Marketing</h3>
|
||||
<p>Strategic marketing campaigns that increase visibility, drive traffic, and generate leads.</p>
|
||||
<ul>
|
||||
<li>SEO optimization</li>
|
||||
<li>Social media marketing</li>
|
||||
<li>Content marketing</li>
|
||||
<li>Email campaigns</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3><i class="fa-solid fa-headset"></i> Support & Maintenance</h3>
|
||||
<p>Ongoing support to keep your systems running smoothly and securely.</p>
|
||||
<ul>
|
||||
<li>24/7 technical support</li>
|
||||
<li>Security updates</li>
|
||||
<li>Performance monitoring</li>
|
||||
<li>Regular backups</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="mt-4"><a href="/contact-us" class="btn btn-primary">Request a Quote</a></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Professional web development, mobile apps, and digital marketing services</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>4</id>
|
||||
<title>Meet Our Team</title>
|
||||
<alias>our-team</alias>
|
||||
<introtext><![CDATA[<p>Get to know the talented professionals who make it all happen.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Our Team</h2>
|
||||
<p>We're proud to have assembled a team of experienced, passionate professionals who are dedicated to your success.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h3>Sarah Johnson</h3>
|
||||
<p><strong>Chief Executive Officer</strong></p>
|
||||
<p>Sarah has over 15 years of experience in technology leadership. She guides our strategic vision and ensures we deliver exceptional value to our clients.</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3>Michael Chen</h3>
|
||||
<p><strong>Chief Technology Officer</strong></p>
|
||||
<p>Michael leads our technical team with expertise in software architecture and innovation. He ensures we stay at the forefront of technology trends.</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3>Emily Rodriguez</h3>
|
||||
<p><strong>Director of Operations</strong></p>
|
||||
<p>Emily manages our day-to-day operations, ensuring projects are delivered on time and exceed expectations.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-4">
|
||||
<div class="col-md-4">
|
||||
<h3>David Park</h3>
|
||||
<p><strong>Lead Developer</strong></p>
|
||||
<p>David brings 10 years of full-stack development experience, creating robust and scalable solutions.</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3>Lisa Thompson</h3>
|
||||
<p><strong>UX/UI Designer</strong></p>
|
||||
<p>Lisa creates beautiful, user-friendly interfaces that delight users and drive engagement.</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3>James Wilson</h3>
|
||||
<p><strong>Marketing Director</strong></p>
|
||||
<p>James develops and executes marketing strategies that increase brand awareness and generate qualified leads.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="mt-4">Want to join our team? <a href="/careers">View open positions</a></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Meet the talented team behind our success</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>5</id>
|
||||
<title>Contact Us</title>
|
||||
<alias>contact-us</alias>
|
||||
<introtext><![CDATA[<p>Get in touch with us - we'd love to hear from you!</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Contact Information</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h3>Get in Touch</h3>
|
||||
<p>We're here to help! Reach out to us with any questions, comments, or project inquiries.</p>
|
||||
|
||||
<p><strong><i class="fa-solid fa-phone"></i> Phone:</strong><br>
|
||||
+1 (555) 123-4567</p>
|
||||
|
||||
<p><strong><i class="fa-solid fa-envelope"></i> Email:</strong><br>
|
||||
hello@example.com</p>
|
||||
|
||||
<p><strong><i class="fa-solid fa-location-dot"></i> Address:</strong><br>
|
||||
123 Business Street<br>
|
||||
Suite 100<br>
|
||||
City, State 12345</p>
|
||||
|
||||
<p><strong><i class="fa-solid fa-clock"></i> Business Hours:</strong><br>
|
||||
Monday - Friday: 9:00 AM - 6:00 PM<br>
|
||||
Saturday - Sunday: Closed</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3>Send Us a Message</h3>
|
||||
<p>Fill out the form below and we'll get back to you within 24 hours.</p>
|
||||
<!-- Contact form would be inserted here via Joomla form module -->
|
||||
<p><em>Note: Insert your contact form component here</em></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="mt-4">Follow Us</h3>
|
||||
<p>Stay connected on social media:</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-primary me-2"><i class="fa-brands fa-facebook"></i> Facebook</a>
|
||||
<a href="#" class="btn btn-info me-2"><i class="fa-brands fa-twitter"></i> Twitter</a>
|
||||
<a href="#" class="btn btn-danger me-2"><i class="fa-brands fa-instagram"></i> Instagram</a>
|
||||
<a href="#" class="btn btn-primary"><i class="fa-brands fa-linkedin"></i> LinkedIn</a>
|
||||
</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Contact us - phone, email, and office address information</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>6</id>
|
||||
<title>Privacy Policy</title>
|
||||
<alias>privacy-policy</alias>
|
||||
<introtext><![CDATA[<p>Learn how we collect, use, and protect your personal information.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Privacy Policy</h2>
|
||||
<p><em>Last updated: January 29, 2026</em></p>
|
||||
|
||||
<h3>1. Information We Collect</h3>
|
||||
<p>We collect information that you provide directly to us, including:</p>
|
||||
<ul>
|
||||
<li>Name and contact information</li>
|
||||
<li>Email address</li>
|
||||
<li>Phone number</li>
|
||||
<li>Company information</li>
|
||||
<li>Messages and inquiries</li>
|
||||
</ul>
|
||||
|
||||
<h3>2. How We Use Your Information</h3>
|
||||
<p>We use the information we collect to:</p>
|
||||
<ul>
|
||||
<li>Respond to your inquiries and requests</li>
|
||||
<li>Provide customer support</li>
|
||||
<li>Send you updates and marketing communications (with your consent)</li>
|
||||
<li>Improve our services</li>
|
||||
<li>Comply with legal obligations</li>
|
||||
</ul>
|
||||
|
||||
<h3>3. Information Sharing</h3>
|
||||
<p>We do not sell, trade, or rent your personal information to third parties. We may share your information with:</p>
|
||||
<ul>
|
||||
<li>Service providers who assist in our operations</li>
|
||||
<li>Law enforcement when required by law</li>
|
||||
<li>Business partners with your explicit consent</li>
|
||||
</ul>
|
||||
|
||||
<h3>4. Data Security</h3>
|
||||
<p>We implement appropriate security measures to protect your personal information from unauthorized access, alteration, disclosure, or destruction.</p>
|
||||
|
||||
<h3>5. Your Rights</h3>
|
||||
<p>You have the right to:</p>
|
||||
<ul>
|
||||
<li>Access your personal information</li>
|
||||
<li>Correct inaccurate data</li>
|
||||
<li>Request deletion of your data</li>
|
||||
<li>Opt-out of marketing communications</li>
|
||||
<li>Object to processing of your data</li>
|
||||
</ul>
|
||||
|
||||
<h3>6. Cookies</h3>
|
||||
<p>We use cookies to improve your browsing experience. You can control cookie settings through your browser preferences.</p>
|
||||
|
||||
<h3>7. Changes to This Policy</h3>
|
||||
<p>We may update this privacy policy from time to time. We will notify you of any changes by posting the new policy on this page.</p>
|
||||
|
||||
<h3>8. Contact Us</h3>
|
||||
<p>If you have questions about this privacy policy, please contact us at privacy@example.com</p>
|
||||
|
||||
<p><em>This is a sample privacy policy. Consult with legal counsel to ensure compliance with applicable laws in your jurisdiction.</em></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Our privacy policy - how we collect, use, and protect your data</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>7</id>
|
||||
<title>Terms of Service</title>
|
||||
<alias>terms-of-service</alias>
|
||||
<introtext><![CDATA[<p>Please read these terms and conditions carefully before using our services.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Terms of Service</h2>
|
||||
<p><em>Last updated: January 29, 2026</em></p>
|
||||
|
||||
<h3>1. Acceptance of Terms</h3>
|
||||
<p>By accessing and using this website, you accept and agree to be bound by the terms and conditions of this agreement.</p>
|
||||
|
||||
<h3>2. Use License</h3>
|
||||
<p>Permission is granted to temporarily download one copy of the materials on our website for personal, non-commercial transitory viewing only.</p>
|
||||
|
||||
<h3>3. Disclaimer</h3>
|
||||
<p>The materials on our website are provided on an 'as is' basis. We make no warranties, expressed or implied, and hereby disclaim and negate all other warranties.</p>
|
||||
|
||||
<h3>4. Limitations</h3>
|
||||
<p>In no event shall we or our suppliers be liable for any damages arising out of the use or inability to use the materials on our website.</p>
|
||||
|
||||
<h3>5. Accuracy of Materials</h3>
|
||||
<p>The materials appearing on our website could include technical, typographical, or photographic errors. We do not warrant that any of the materials are accurate, complete, or current.</p>
|
||||
|
||||
<h3>6. Links</h3>
|
||||
<p>We have not reviewed all sites linked to our website and are not responsible for the contents of any such linked site.</p>
|
||||
|
||||
<h3>7. Modifications</h3>
|
||||
<p>We may revise these terms of service at any time without notice. By using this website, you agree to be bound by the current version of these terms.</p>
|
||||
|
||||
<h3>8. Governing Law</h3>
|
||||
<p>These terms and conditions are governed by and construed in accordance with applicable laws.</p>
|
||||
|
||||
<p><em>This is a sample terms of service. Consult with legal counsel to create terms appropriate for your business and jurisdiction.</em></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Terms of service and conditions for using our website</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>8</id>
|
||||
<title>Frequently Asked Questions</title>
|
||||
<alias>faq</alias>
|
||||
<introtext><![CDATA[<p>Find answers to the most common questions about our services.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Frequently Asked Questions</h2>
|
||||
|
||||
<h3>General Questions</h3>
|
||||
|
||||
<h4>What services do you offer?</h4>
|
||||
<p>We offer web development, mobile app development, digital marketing, and ongoing support and maintenance services. Visit our <a href="/our-services">Services page</a> for more details.</p>
|
||||
|
||||
<h4>How long does a typical project take?</h4>
|
||||
<p>Project timelines vary based on scope and complexity. A simple website might take 4-6 weeks, while complex applications can take 3-6 months or longer. We'll provide a detailed timeline during the project planning phase.</p>
|
||||
|
||||
<h4>What are your payment terms?</h4>
|
||||
<p>We typically require a 50% deposit to begin work, with the balance due upon completion. For larger projects, we can arrange milestone-based payments.</p>
|
||||
|
||||
<h3>Technical Questions</h3>
|
||||
|
||||
<h4>What technologies do you use?</h4>
|
||||
<p>We work with modern, proven technologies including Joomla, WordPress, React, Node.js, PHP, and many others. We select technologies based on your specific project requirements.</p>
|
||||
|
||||
<h4>Do you provide hosting services?</h4>
|
||||
<p>While we don't provide hosting directly, we can recommend reliable hosting providers and assist with setup and configuration.</p>
|
||||
|
||||
<h4>Will my website be mobile-friendly?</h4>
|
||||
<p>Absolutely! All our websites are built with responsive design, ensuring they look and function perfectly on all devices.</p>
|
||||
|
||||
<h3>Support Questions</h3>
|
||||
|
||||
<h4>What kind of support do you provide?</h4>
|
||||
<p>We offer various support plans including email support, phone support, and emergency assistance. We can also provide ongoing maintenance and updates.</p>
|
||||
|
||||
<h4>How do I get started?</h4>
|
||||
<p>Simply <a href="/contact-us">contact us</a> with your project details. We'll schedule a consultation to discuss your needs and provide a proposal.</p>
|
||||
|
||||
<h4>Do you offer training?</h4>
|
||||
<p>Yes! We provide comprehensive training to ensure you and your team can effectively manage and update your website or application.</p>
|
||||
|
||||
<p class="mt-4">Still have questions? <a href="/contact-us">Contact us</a> and we'll be happy to help!</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Frequently asked questions about our services and processes</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>9</id>
|
||||
<title>Getting Started Guide</title>
|
||||
<alias>getting-started</alias>
|
||||
<introtext><![CDATA[<p>New here? This guide will help you get started with our services.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Getting Started Guide</h2>
|
||||
|
||||
<h3>Step 1: Contact Us</h3>
|
||||
<p>The first step is to reach out! You can:</p>
|
||||
<ul>
|
||||
<li>Fill out our <a href="/contact-us">contact form</a></li>
|
||||
<li>Call us at +1 (555) 123-4567</li>
|
||||
<li>Email us at hello@example.com</li>
|
||||
</ul>
|
||||
|
||||
<h3>Step 2: Consultation</h3>
|
||||
<p>We'll schedule a free consultation to discuss:</p>
|
||||
<ul>
|
||||
<li>Your goals and objectives</li>
|
||||
<li>Project requirements</li>
|
||||
<li>Timeline and budget</li>
|
||||
<li>Any questions you have</li>
|
||||
</ul>
|
||||
|
||||
<h3>Step 3: Proposal</h3>
|
||||
<p>After understanding your needs, we'll provide:</p>
|
||||
<ul>
|
||||
<li>Detailed project scope</li>
|
||||
<li>Timeline with milestones</li>
|
||||
<li>Transparent pricing</li>
|
||||
<li>Terms and conditions</li>
|
||||
</ul>
|
||||
|
||||
<h3>Step 4: Agreement</h3>
|
||||
<p>Once you approve the proposal:</p>
|
||||
<ul>
|
||||
<li>Sign the service agreement</li>
|
||||
<li>Submit initial payment</li>
|
||||
<li>Provide necessary access and materials</li>
|
||||
</ul>
|
||||
|
||||
<h3>Step 5: Development</h3>
|
||||
<p>During the development phase:</p>
|
||||
<ul>
|
||||
<li>Regular progress updates</li>
|
||||
<li>Milestone reviews</li>
|
||||
<li>Your feedback and approval</li>
|
||||
<li>Ongoing communication</li>
|
||||
</ul>
|
||||
|
||||
<h3>Step 6: Launch</h3>
|
||||
<p>When your project is ready:</p>
|
||||
<ul>
|
||||
<li>Final review and testing</li>
|
||||
<li>Training session</li>
|
||||
<li>Launch and deployment</li>
|
||||
<li>Post-launch support</li>
|
||||
</ul>
|
||||
|
||||
<h3>Step 7: Ongoing Support</h3>
|
||||
<p>After launch, we provide:</p>
|
||||
<ul>
|
||||
<li>Technical support</li>
|
||||
<li>Regular updates</li>
|
||||
<li>Performance monitoring</li>
|
||||
<li>Continuous improvement</li>
|
||||
</ul>
|
||||
|
||||
<p class="mt-4">Ready to get started? <a href="/contact-us" class="btn btn-primary">Contact Us Today</a></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>1</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Step-by-step guide to getting started with our services</metadesc>
|
||||
</article>
|
||||
</j2xml>
|
||||
102
data/demo/articles/community/README.md
Normal file
102
data/demo/articles/community/README.md
Normal file
@@ -0,0 +1,102 @@
|
||||
# Community Website Articles
|
||||
|
||||
This directory contains sample articles for community-based websites with forums and user interactions.
|
||||
|
||||
## Contents
|
||||
|
||||
The `articles.j2xml` file includes:
|
||||
|
||||
1. **Community Home** - Community portal welcome
|
||||
2. **Community Guidelines** - Rules and expectations
|
||||
3. **Getting Started in Our Community** - New member guide
|
||||
4. **User Profile Guide** - Setting up profiles
|
||||
5. **Forum Rules** - Discussion forum guidelines
|
||||
6. **Community Events** - Event listings and info
|
||||
7. **Contributor Recognition** - Highlighting members
|
||||
8. **Report a Problem** - Issue reporting guide
|
||||
|
||||
## Installation
|
||||
|
||||
1. Install the **j2xml** component in your Joomla installation
|
||||
2. Navigate to: **Components > j2xml > Import**
|
||||
3. Select the `articles.j2xml` file
|
||||
4. Click **Import**
|
||||
5. Review imported articles in **Content > Articles**
|
||||
|
||||
## What Gets Imported
|
||||
|
||||
- 8 community-focused articles
|
||||
- Categories: Community, Guidelines, Events
|
||||
- User engagement content
|
||||
- Moderation guidelines
|
||||
|
||||
## Post-Import Steps
|
||||
|
||||
1. **Customize Guidelines**: Adapt rules to your community culture
|
||||
2. **Setup Forums**: Link to your forum system (Kunena, EasyDiscuss, etc.)
|
||||
3. **Create Event Calendar**: Integrate with event management
|
||||
4. **Configure User Profiles**: Setup profile extensions
|
||||
5. **Add Social Features**: Enable social sharing and engagement
|
||||
|
||||
## Integration Options
|
||||
|
||||
Works well with:
|
||||
- **Kunena** - Forum component
|
||||
- **EasyDiscuss** - Discussion system
|
||||
- **Community Builder** - Social network
|
||||
- **JomSocial** - Community platform
|
||||
- **EventBooking** - Event management
|
||||
|
||||
## Community Features
|
||||
|
||||
Support for:
|
||||
- User profiles
|
||||
- Discussion forums
|
||||
- Event calendars
|
||||
- User blogs
|
||||
- Activity streams
|
||||
- Member directories
|
||||
- Groups and teams
|
||||
|
||||
## Article List
|
||||
|
||||
| Title | Category | Type | Purpose |
|
||||
|-------|----------|------|---------|
|
||||
| Welcome to Community | Community | Featured | Landing page |
|
||||
| Community Guidelines | Guidelines | Standard | Rules |
|
||||
| Getting Started | Help | Standard | Onboarding |
|
||||
| Profile Setup | Help | Standard | User guide |
|
||||
| Forum Rules | Guidelines | Standard | Forum policy |
|
||||
| Community Events | Events | Standard | Event info |
|
||||
| Top Contributors | Community | Standard | Recognition |
|
||||
| Report Issues | Support | Standard | Reporting |
|
||||
|
||||
## Best Practices
|
||||
|
||||
- Foster positive community culture
|
||||
- Clearly communicate expectations
|
||||
- Recognize and reward participation
|
||||
- Provide easy reporting mechanisms
|
||||
- Regular community engagement
|
||||
- Transparent moderation policies
|
||||
|
||||
## Customization Tips
|
||||
|
||||
- Add local community photos
|
||||
- Highlight member achievements
|
||||
- Post regular community updates
|
||||
- Feature community events
|
||||
- Create sub-community sections
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Joomla 4.x or 5.x
|
||||
- j2xml component
|
||||
- Forum component (Kunena, EasyDiscuss, etc.)
|
||||
- Moko-Cassiopeia template
|
||||
|
||||
## Version
|
||||
|
||||
Version: 1.0.0
|
||||
Last Updated: 2026-01-29
|
||||
Compatible with: Joomla 4.x, 5.x
|
||||
171
data/demo/articles/community/articles.j2xml
Normal file
171
data/demo/articles/community/articles.j2xml
Normal file
@@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<j2xml version="26.0.000">
|
||||
<version>26.0.000</version>
|
||||
<category>
|
||||
<id>4</id>
|
||||
<title>Community</title>
|
||||
<alias>community</alias>
|
||||
<description><![CDATA[Sample articles for community websites]]></description>
|
||||
<published>1</published>
|
||||
<access>1</access>
|
||||
<language>*</language>
|
||||
<extension>com_content</extension>
|
||||
</category>
|
||||
|
||||
<article>
|
||||
<id>30</id>
|
||||
<title>Welcome to Our Community</title>
|
||||
<alias>community-home</alias>
|
||||
<introtext><![CDATA[<p>Join our vibrant community of members sharing knowledge, experiences, and support.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>A Community Built on Connection</h2>
|
||||
<p>Welcome! You've just joined a community of passionate individuals who share your interests and goals. Together, we learn, grow, and support each other.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h3><i class="fa-solid fa-comments"></i> Discussions</h3>
|
||||
<p>Join conversations on topics that matter to you. Share your expertise and learn from others.</p>
|
||||
<p><a href="/forum" class="btn btn-primary">Browse Forums</a></p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3><i class="fa-solid fa-calendar-days"></i> Events</h3>
|
||||
<p>Participate in community events, meetups, and online gatherings.</p>
|
||||
<p><a href="/events" class="btn btn-primary">View Events</a></p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3><i class="fa-solid fa-users"></i> Members</h3>
|
||||
<p>Connect with fellow members, build your network, and collaborate.</p>
|
||||
<p><a href="/members" class="btn btn-primary">Find Members</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="mt-4">Community Stats</h3>
|
||||
<div class="row text-center">
|
||||
<div class="col-md-3">
|
||||
<h4>5,000+</h4>
|
||||
<p>Active Members</p>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>50,000+</h4>
|
||||
<p>Forum Posts</p>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>200+</h4>
|
||||
<p>Events Hosted</p>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>24/7</h4>
|
||||
<p>Community Active</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Getting Started</h3>
|
||||
<ol>
|
||||
<li><a href="/profile">Complete your profile</a></li>
|
||||
<li><a href="/introduce-yourself">Introduce yourself</a> in the welcome forum</li>
|
||||
<li><a href="/community-guidelines">Read the community guidelines</a></li>
|
||||
<li><a href="/forum">Start participating in discussions</a></li>
|
||||
</ol>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>4</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<featured>1</featured>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Welcome to our community - connect, learn, and grow together</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>31</id>
|
||||
<title>Community Guidelines</title>
|
||||
<alias>community-guidelines</alias>
|
||||
<introtext><![CDATA[<p>Our community guidelines ensure a respectful, inclusive, and productive environment for all members.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Community Guidelines</h2>
|
||||
<p><em>Last updated: January 29, 2026</em></p>
|
||||
|
||||
<p>These guidelines help maintain a positive, respectful community where everyone feels welcome to participate.</p>
|
||||
|
||||
<h3>1. Be Respectful</h3>
|
||||
<ul>
|
||||
<li>Treat all members with respect and courtesy</li>
|
||||
<li>Disagree with ideas, not people</li>
|
||||
<li>No personal attacks, harassment, or bullying</li>
|
||||
<li>Respect diverse perspectives and backgrounds</li>
|
||||
</ul>
|
||||
|
||||
<h3>2. Stay On Topic</h3>
|
||||
<ul>
|
||||
<li>Post content in appropriate forums/categories</li>
|
||||
<li>Keep discussions relevant to the topic</li>
|
||||
<li>Avoid excessive off-topic conversation</li>
|
||||
<li>Use descriptive titles for new topics</li>
|
||||
</ul>
|
||||
|
||||
<h3>3. No Spam or Self-Promotion</h3>
|
||||
<ul>
|
||||
<li>Don't post unsolicited advertisements</li>
|
||||
<li>Limit self-promotion to designated areas</li>
|
||||
<li>No duplicate posts or cross-posting</li>
|
||||
<li>Contribute value, not just links</li>
|
||||
</ul>
|
||||
|
||||
<h3>4. Protect Privacy</h3>
|
||||
<ul>
|
||||
<li>Don't share others' personal information</li>
|
||||
<li>Respect confidentiality</li>
|
||||
<li>Be mindful of what you share publicly</li>
|
||||
<li>Report privacy violations to moderators</li>
|
||||
</ul>
|
||||
|
||||
<h3>5. Use Appropriate Language</h3>
|
||||
<ul>
|
||||
<li>Keep content family-friendly</li>
|
||||
<li>No profanity or offensive language</li>
|
||||
<li>Avoid inflammatory or provocative posts</li>
|
||||
<li>Write clearly and thoughtfully</li>
|
||||
</ul>
|
||||
|
||||
<h3>6. Give Credit</h3>
|
||||
<ul>
|
||||
<li>Cite sources for shared content</li>
|
||||
<li>Acknowledge others' contributions</li>
|
||||
<li>Respect intellectual property</li>
|
||||
<li>Don't plagiarize</li>
|
||||
</ul>
|
||||
|
||||
<h3>7. Help Others</h3>
|
||||
<ul>
|
||||
<li>Share knowledge and experience</li>
|
||||
<li>Welcome new members</li>
|
||||
<li>Provide constructive feedback</li>
|
||||
<li>Assume good intentions</li>
|
||||
</ul>
|
||||
|
||||
<h3>Enforcement</h3>
|
||||
<p>Violations may result in:</p>
|
||||
<ul>
|
||||
<li>Warning from moderators</li>
|
||||
<li>Temporary suspension</li>
|
||||
<li>Permanent ban for serious or repeat violations</li>
|
||||
</ul>
|
||||
|
||||
<h3>Reporting Issues</h3>
|
||||
<p>If you see content that violates these guidelines:</p>
|
||||
<ul>
|
||||
<li>Use the "Report" button on the post</li>
|
||||
<li>Contact moderators directly</li>
|
||||
<li>Email community@example.com</li>
|
||||
</ul>
|
||||
|
||||
<p class="mt-4">Together, we create a community that benefits everyone. Thank you for helping us maintain a positive environment!</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>4</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Community guidelines - rules and expectations for respectful participation</metadesc>
|
||||
</article>
|
||||
</j2xml>
|
||||
84
data/demo/articles/ecommerce/README.md
Normal file
84
data/demo/articles/ecommerce/README.md
Normal file
@@ -0,0 +1,84 @@
|
||||
# E-commerce Website Articles
|
||||
|
||||
This directory contains sample articles specifically designed for e-commerce websites using VirtueMart.
|
||||
|
||||
## Contents
|
||||
|
||||
The `articles.j2xml` file includes:
|
||||
|
||||
1. **Shop Home** - E-commerce landing page
|
||||
2. **Shipping Information** - Shipping policies and rates
|
||||
3. **Returns & Refunds** - Return policy
|
||||
4. **Payment Methods** - Accepted payment options
|
||||
5. **Size Guide** - Product sizing information
|
||||
6. **Product Care Instructions** - Care and maintenance tips
|
||||
7. **Gift Cards** - Gift card information
|
||||
8. **Wholesale Inquiry** - B2B sales information
|
||||
9. **Shopping Guide** - How to shop on the site
|
||||
|
||||
## Installation
|
||||
|
||||
1. Install the **j2xml** component in your Joomla installation
|
||||
2. Navigate to: **Components > j2xml > Import**
|
||||
3. Select the `articles.j2xml` file
|
||||
4. Click **Import**
|
||||
5. Review imported articles in **Content > Articles**
|
||||
|
||||
## What Gets Imported
|
||||
|
||||
- 9 e-commerce focused articles
|
||||
- Categories: Shopping, Policies, Help
|
||||
- SEO-optimized content
|
||||
- Call-to-action buttons
|
||||
- Trust-building content
|
||||
|
||||
## Post-Import Steps
|
||||
|
||||
1. **Customize Policies**: Update shipping rates, return windows, etc.
|
||||
2. **Add Payment Info**: Specify your accepted payment methods
|
||||
3. **Update Links**: Link to your VirtueMart shop categories
|
||||
4. **Set Menu Items**: Create menu links to key pages
|
||||
5. **Add Trust Badges**: Include security and payment badges
|
||||
|
||||
## Integration with VirtueMart
|
||||
|
||||
These articles complement your VirtueMart shop:
|
||||
- Link shipping info from checkout
|
||||
- Display return policy in footer
|
||||
- Reference from product pages
|
||||
- Include in customer emails
|
||||
|
||||
## Best Practices
|
||||
|
||||
- Keep policies clear and concise
|
||||
- Update shipping info seasonally
|
||||
- Maintain current contact details
|
||||
- Review legal compliance
|
||||
- Add trust badges and certifications
|
||||
|
||||
## Article List
|
||||
|
||||
| Title | Category | Type | Purpose |
|
||||
|-------|----------|------|---------|
|
||||
| Shop Our Collection | Shopping | Featured | Shop landing page |
|
||||
| Shipping Information | Policies | Standard | Shipping details |
|
||||
| Returns & Refunds | Policies | Standard | Return policy |
|
||||
| Payment Methods | Policies | Standard | Payment options |
|
||||
| Size Guide | Help | Standard | Product sizing |
|
||||
| Product Care | Help | Standard | Care instructions |
|
||||
| Gift Cards | Shopping | Standard | Gift card info |
|
||||
| Wholesale Inquiry | Shopping | Standard | B2B sales |
|
||||
| Shopping Guide | Help | Standard | How to shop |
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Joomla 4.x or 5.x
|
||||
- j2xml component
|
||||
- VirtueMart component (recommended)
|
||||
- Moko-Cassiopeia template
|
||||
|
||||
## Version
|
||||
|
||||
Version: 1.0.0
|
||||
Last Updated: 2026-01-29
|
||||
Compatible with: Joomla 4.x, 5.x, VirtueMart 4.x
|
||||
484
data/demo/articles/ecommerce/articles.j2xml
Normal file
484
data/demo/articles/ecommerce/articles.j2xml
Normal file
@@ -0,0 +1,484 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<j2xml version="26.0.000">
|
||||
<version>26.0.000</version>
|
||||
<category>
|
||||
<id>2</id>
|
||||
<title>E-commerce</title>
|
||||
<alias>ecommerce</alias>
|
||||
<description><![CDATA[Sample articles for e-commerce websites]]></description>
|
||||
<published>1</published>
|
||||
<access>1</access>
|
||||
<language>*</language>
|
||||
<extension>com_content</extension>
|
||||
</category>
|
||||
|
||||
<article>
|
||||
<id>10</id>
|
||||
<title>Shop Our Collection</title>
|
||||
<alias>shop-collection</alias>
|
||||
<introtext><![CDATA[<p>Discover our carefully curated collection of premium products. Quality, style, and value in every item.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Welcome to Our Online Store</h2>
|
||||
<p>Browse our extensive collection of high-quality products, carefully selected to meet your needs and exceed your expectations.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h3>New Arrivals</h3>
|
||||
<p>Check out the latest additions to our collection. Fresh styles and innovative products added regularly.</p>
|
||||
<p><a href="/shop/new-arrivals" class="btn btn-primary">Shop New</a></p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3>Best Sellers</h3>
|
||||
<p>Our most popular products loved by customers worldwide. See what everyone's talking about.</p>
|
||||
<p><a href="/shop/best-sellers" class="btn btn-primary">Shop Best Sellers</a></p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3>On Sale</h3>
|
||||
<p>Save big on select items. Limited time offers and exclusive deals you don't want to miss.</p>
|
||||
<p><a href="/shop/sale" class="btn btn-danger">Shop Sale</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="mt-4">Why Shop With Us</h3>
|
||||
<ul>
|
||||
<li><strong>Free Shipping</strong> on orders over $50</li>
|
||||
<li><strong>30-Day Returns</strong> - Shop with confidence</li>
|
||||
<li><strong>Secure Checkout</strong> - Your data is protected</li>
|
||||
<li><strong>Expert Support</strong> - We're here to help</li>
|
||||
<li><strong>Quality Guaranteed</strong> - Premium products only</li>
|
||||
</ul>
|
||||
|
||||
<p class="mt-4"><a href="/shop" class="btn btn-lg btn-success">Start Shopping</a></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>2</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<featured>1</featured>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Shop our premium collection - new arrivals, best sellers, and exclusive deals</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>11</id>
|
||||
<title>Shipping Information</title>
|
||||
<alias>shipping-information</alias>
|
||||
<introtext><![CDATA[<p>Learn about our shipping options, rates, and delivery times.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Shipping Policy</h2>
|
||||
|
||||
<h3>Shipping Options</h3>
|
||||
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Method</th>
|
||||
<th>Delivery Time</th>
|
||||
<th>Cost</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Standard Shipping</td>
|
||||
<td>5-7 business days</td>
|
||||
<td>$5.99 (FREE over $50)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Express Shipping</td>
|
||||
<td>2-3 business days</td>
|
||||
<td>$14.99</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Next Day Delivery</td>
|
||||
<td>1 business day</td>
|
||||
<td>$24.99</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>International Shipping</td>
|
||||
<td>7-21 business days</td>
|
||||
<td>Varies by location</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Processing Time</h3>
|
||||
<p>Orders are typically processed within 1-2 business days. You'll receive a confirmation email with tracking information once your order ships.</p>
|
||||
|
||||
<h3>International Shipping</h3>
|
||||
<p>We ship to over 100 countries worldwide. International shipping costs are calculated at checkout based on your location and order weight.</p>
|
||||
|
||||
<p><strong>Important:</strong> International customers are responsible for any customs duties or import taxes.</p>
|
||||
|
||||
<h3>Order Tracking</h3>
|
||||
<p>Once your order ships, you'll receive a tracking number via email. You can track your shipment at:</p>
|
||||
<ul>
|
||||
<li>Visit our <a href="/order-tracking">Order Tracking page</a></li>
|
||||
<li>Check your account dashboard</li>
|
||||
<li>Contact customer service</li>
|
||||
</ul>
|
||||
|
||||
<h3>Shipping Restrictions</h3>
|
||||
<p>Some products may have shipping restrictions based on local regulations. These restrictions will be noted on the product page.</p>
|
||||
|
||||
<p>Questions about shipping? <a href="/contact-us">Contact us</a> for assistance.</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>2</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Shipping options, rates, and delivery times for your orders</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>12</id>
|
||||
<title>Returns & Refunds</title>
|
||||
<alias>returns-refunds</alias>
|
||||
<introtext><![CDATA[<p>Our hassle-free return policy ensures your complete satisfaction.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Return Policy</h2>
|
||||
|
||||
<h3>30-Day Return Window</h3>
|
||||
<p>We want you to love your purchase! If you're not completely satisfied, you can return most items within 30 days of delivery for a full refund.</p>
|
||||
|
||||
<h3>Return Eligibility</h3>
|
||||
<p>To be eligible for a return, items must:</p>
|
||||
<ul>
|
||||
<li>Be in original, unused condition</li>
|
||||
<li>Include all original packaging and tags</li>
|
||||
<li>Have proof of purchase (receipt or order number)</li>
|
||||
<li>Be returned within 30 days of delivery</li>
|
||||
</ul>
|
||||
|
||||
<h3>Non-Returnable Items</h3>
|
||||
<p>Some items cannot be returned for hygiene and safety reasons:</p>
|
||||
<ul>
|
||||
<li>Final sale/clearance items</li>
|
||||
<li>Personalized or custom products</li>
|
||||
<li>Gift cards</li>
|
||||
<li>Downloadable products</li>
|
||||
</ul>
|
||||
|
||||
<h3>How to Return</h3>
|
||||
<ol>
|
||||
<li><strong>Initiate Return</strong> - Log into your account and select the order</li>
|
||||
<li><strong>Print Label</strong> - Download and print your prepaid return label</li>
|
||||
<li><strong>Pack Securely</strong> - Package items in original packaging if possible</li>
|
||||
<li><strong>Ship It Back</strong> - Drop off at any carrier location</li>
|
||||
</ol>
|
||||
|
||||
<h3>Return Shipping</h3>
|
||||
<p>Return shipping is FREE for US customers. International returns: customer pays return shipping costs.</p>
|
||||
|
||||
<h3>Refund Process</h3>
|
||||
<p>Once we receive your return:</p>
|
||||
<ul>
|
||||
<li>Inspection: 2-3 business days</li>
|
||||
<li>Refund processing: 3-5 business days</li>
|
||||
<li>Bank processing: 5-10 business days</li>
|
||||
</ul>
|
||||
<p>You'll receive an email confirmation once your refund is processed.</p>
|
||||
|
||||
<h3>Exchanges</h3>
|
||||
<p>Need a different size or color? We offer free exchanges! Follow the return process and specify your exchange preference.</p>
|
||||
|
||||
<h3>Damaged or Defective Items</h3>
|
||||
<p>If you receive a damaged or defective item:</p>
|
||||
<ol>
|
||||
<li>Contact us within 48 hours of delivery</li>
|
||||
<li>Provide photos of the damage</li>
|
||||
<li>We'll arrange for immediate replacement or refund</li>
|
||||
</ol>
|
||||
|
||||
<p>Questions? <a href="/contact-us">Contact our customer service team</a> - we're here to help!</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>2</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Easy returns and refunds - 30-day money-back guarantee</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>13</id>
|
||||
<title>Payment Methods</title>
|
||||
<alias>payment-methods</alias>
|
||||
<introtext><![CDATA[<p>We accept multiple secure payment methods for your convenience.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Accepted Payment Methods</h2>
|
||||
|
||||
<h3>Credit & Debit Cards</h3>
|
||||
<p>We accept all major credit and debit cards:</p>
|
||||
<ul>
|
||||
<li>Visa</li>
|
||||
<li>Mastercard</li>
|
||||
<li>American Express</li>
|
||||
<li>Discover</li>
|
||||
</ul>
|
||||
|
||||
<h3>Digital Wallets</h3>
|
||||
<p>Fast and secure checkout with:</p>
|
||||
<ul>
|
||||
<li>PayPal</li>
|
||||
<li>Apple Pay</li>
|
||||
<li>Google Pay</li>
|
||||
<li>Shop Pay</li>
|
||||
</ul>
|
||||
|
||||
<h3>Other Payment Options</h3>
|
||||
<ul>
|
||||
<li><strong>Bank Transfer</strong> - Available for orders over $500</li>
|
||||
<li><strong>Gift Cards</strong> - Use store credit at checkout</li>
|
||||
<li><strong>Buy Now, Pay Later</strong> - Flexible payment plans available</li>
|
||||
</ul>
|
||||
|
||||
<h3>Payment Security</h3>
|
||||
<p>Your payment information is always secure:</p>
|
||||
<ul>
|
||||
<li><strong>SSL Encryption</strong> - All transactions are encrypted</li>
|
||||
<li><strong>PCI Compliance</strong> - We meet industry security standards</li>
|
||||
<li><strong>Fraud Protection</strong> - Advanced fraud detection systems</li>
|
||||
<li><strong>No Stored Data</strong> - We don't store your card information</li>
|
||||
</ul>
|
||||
|
||||
<h3>Currency</h3>
|
||||
<p>All prices are in USD. International customers will see converted prices at checkout based on current exchange rates.</p>
|
||||
|
||||
<h3>Payment Issues</h3>
|
||||
<p>If your payment is declined:</p>
|
||||
<ol>
|
||||
<li>Verify card information is correct</li>
|
||||
<li>Check with your bank for any restrictions</li>
|
||||
<li>Try an alternative payment method</li>
|
||||
<li><a href="/contact-us">Contact us</a> if problems persist</li>
|
||||
</ol>
|
||||
|
||||
<h3>Billing Information</h3>
|
||||
<p>Your billing address must match the address on file with your card issuer. This helps prevent fraud and ensures smooth processing.</p>
|
||||
|
||||
<p>Need help? <a href="/contact-us">Contact our support team</a></p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>2</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Secure payment methods - credit cards, PayPal, digital wallets</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>14</id>
|
||||
<title>Size Guide</title>
|
||||
<alias>size-guide</alias>
|
||||
<introtext><![CDATA[<p>Find your perfect fit with our comprehensive size guide.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Size Guide</h2>
|
||||
|
||||
<h3>How to Measure</h3>
|
||||
<p>For the most accurate sizing, take your measurements with a flexible measuring tape:</p>
|
||||
<ul>
|
||||
<li><strong>Chest/Bust</strong> - Measure around the fullest part</li>
|
||||
<li><strong>Waist</strong> - Measure around your natural waistline</li>
|
||||
<li><strong>Hips</strong> - Measure around the fullest part</li>
|
||||
<li><strong>Inseam</strong> - Measure from crotch to ankle</li>
|
||||
</ul>
|
||||
|
||||
<h3>Men's Clothing</h3>
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Size</th>
|
||||
<th>Chest (in)</th>
|
||||
<th>Waist (in)</th>
|
||||
<th>Hips (in)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>XS</td>
|
||||
<td>32-34</td>
|
||||
<td>26-28</td>
|
||||
<td>32-34</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>S</td>
|
||||
<td>35-37</td>
|
||||
<td>29-31</td>
|
||||
<td>35-37</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>M</td>
|
||||
<td>38-40</td>
|
||||
<td>32-34</td>
|
||||
<td>38-40</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>L</td>
|
||||
<td>41-43</td>
|
||||
<td>35-37</td>
|
||||
<td>41-43</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>XL</td>
|
||||
<td>44-46</td>
|
||||
<td>38-40</td>
|
||||
<td>44-46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>XXL</td>
|
||||
<td>47-49</td>
|
||||
<td>41-43</td>
|
||||
<td>47-49</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Women's Clothing</h3>
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Size</th>
|
||||
<th>Bust (in)</th>
|
||||
<th>Waist (in)</th>
|
||||
<th>Hips (in)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>XS</td>
|
||||
<td>31-32</td>
|
||||
<td>24-25</td>
|
||||
<td>34-35</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>S</td>
|
||||
<td>33-34</td>
|
||||
<td>26-27</td>
|
||||
<td>36-37</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>M</td>
|
||||
<td>35-36</td>
|
||||
<td>28-29</td>
|
||||
<td>38-39</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>L</td>
|
||||
<td>37-39</td>
|
||||
<td>30-32</td>
|
||||
<td>40-42</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>XL</td>
|
||||
<td>40-42</td>
|
||||
<td>33-35</td>
|
||||
<td>43-45</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>XXL</td>
|
||||
<td>43-45</td>
|
||||
<td>36-38</td>
|
||||
<td>46-48</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Size Conversion</h3>
|
||||
<p>International size conversions:</p>
|
||||
<ul>
|
||||
<li><strong>US to UK</strong>: Add 2 sizes (US 8 = UK 10)</li>
|
||||
<li><strong>US to EU</strong>: Add 30 (US 8 = EU 38)</li>
|
||||
</ul>
|
||||
|
||||
<h3>Between Sizes?</h3>
|
||||
<p>If you're between sizes:</p>
|
||||
<ul>
|
||||
<li>Size up for a looser fit</li>
|
||||
<li>Size down for a tighter fit</li>
|
||||
<li>Check product-specific fit notes</li>
|
||||
</ul>
|
||||
|
||||
<p>Still unsure? <a href="/contact-us">Contact us</a> for personalized sizing help!</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>2</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Complete size guide with measurements and fit recommendations</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>15</id>
|
||||
<title>Product Care Instructions</title>
|
||||
<alias>product-care</alias>
|
||||
<introtext><![CDATA[<p>Keep your products looking great with proper care and maintenance.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Product Care Guide</h2>
|
||||
|
||||
<h3>Clothing Care</h3>
|
||||
|
||||
<h4>Washing</h4>
|
||||
<ul>
|
||||
<li>Always check the care label first</li>
|
||||
<li>Wash similar colors together</li>
|
||||
<li>Turn garments inside out to protect prints</li>
|
||||
<li>Use cold water to prevent shrinking</li>
|
||||
<li>Choose gentle cycle for delicate items</li>
|
||||
</ul>
|
||||
|
||||
<h4>Drying</h4>
|
||||
<ul>
|
||||
<li>Air dry when possible to extend garment life</li>
|
||||
<li>If using a dryer, use low heat</li>
|
||||
<li>Remove promptly to prevent wrinkles</li>
|
||||
<li>Never tumble dry wool or silk</li>
|
||||
</ul>
|
||||
|
||||
<h4>Ironing</h4>
|
||||
<ul>
|
||||
<li>Check garment label for heat settings</li>
|
||||
<li>Iron inside out to protect fabric</li>
|
||||
<li>Use steam for stubborn wrinkles</li>
|
||||
<li>Store properly to minimize ironing needs</li>
|
||||
</ul>
|
||||
|
||||
<h3>Fabric-Specific Care</h3>
|
||||
|
||||
<h4>Cotton</h4>
|
||||
<p>Machine wash cold, tumble dry low. May shrink slightly on first wash.</p>
|
||||
|
||||
<h4>Wool</h4>
|
||||
<p>Hand wash or dry clean only. Lay flat to dry. Never wring or twist.</p>
|
||||
|
||||
<h4>Silk</h4>
|
||||
<p>Dry clean or hand wash in cool water. Never use bleach. Air dry away from direct sunlight.</p>
|
||||
|
||||
<h4>Synthetic Blends</h4>
|
||||
<p>Machine wash cold, low heat dry. Remove promptly to prevent wrinkles.</p>
|
||||
|
||||
<h3>Storage Tips</h3>
|
||||
<ul>
|
||||
<li>Store in a cool, dry place</li>
|
||||
<li>Use padded hangers for structured items</li>
|
||||
<li>Fold knits to prevent stretching</li>
|
||||
<li>Keep away from direct sunlight</li>
|
||||
<li>Use moth protection for wool items</li>
|
||||
</ul>
|
||||
|
||||
<h3>Stain Removal</h3>
|
||||
<ul>
|
||||
<li>Treat stains immediately for best results</li>
|
||||
<li>Blot, don't rub, to prevent spreading</li>
|
||||
<li>Test cleaning products on hidden areas first</li>
|
||||
<li>For tough stains, consult a professional</li>
|
||||
</ul>
|
||||
|
||||
<h3>Product-Specific Care</h3>
|
||||
<p>Always refer to the care label on your specific product. If you have questions about caring for a particular item, <a href="/contact-us">contact us</a> for guidance.</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>2</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Care instructions for your products - washing, drying, and storage tips</metadesc>
|
||||
</article>
|
||||
</j2xml>
|
||||
90
data/demo/articles/membership/README.md
Normal file
90
data/demo/articles/membership/README.md
Normal file
@@ -0,0 +1,90 @@
|
||||
# Membership Website Articles
|
||||
|
||||
This directory contains sample articles for membership-based websites using MembershipPro.
|
||||
|
||||
## Contents
|
||||
|
||||
The `articles.j2xml` file includes:
|
||||
|
||||
1. **Membership Home** - Membership portal welcome page
|
||||
2. **Membership Plans** - Available subscription tiers
|
||||
3. **Member Benefits** - What members get
|
||||
4. **Member Resources** - Exclusive member content
|
||||
5. **Member Dashboard Guide** - How to use the dashboard
|
||||
6. **Upgrade Your Membership** - Tier upgrade information
|
||||
7. **Member Support** - Help for members
|
||||
8. **Membership Terms** - Subscription terms and conditions
|
||||
|
||||
## Installation
|
||||
|
||||
1. Install the **j2xml** component in your Joomla installation
|
||||
2. Navigate to: **Components > j2xml > Import**
|
||||
3. Select the `articles.j2xml` file
|
||||
4. Click **Import**
|
||||
5. Review imported articles in **Content > Articles**
|
||||
|
||||
## What Gets Imported
|
||||
|
||||
- 8 membership-focused articles
|
||||
- Categories: Membership, Benefits, Support
|
||||
- Access level configuration examples
|
||||
- Member-only content templates
|
||||
|
||||
## Post-Import Steps
|
||||
|
||||
1. **Configure Access Levels**: Set appropriate access levels for member-only content
|
||||
2. **Link to MembershipPro**: Integrate with MembershipPro subscription system
|
||||
3. **Customize Plans**: Update subscription tiers and pricing
|
||||
4. **Add Benefits**: Detail your specific member benefits
|
||||
5. **Setup Member Dashboard**: Configure member portal links
|
||||
|
||||
## Integration with MembershipPro
|
||||
|
||||
These articles work with MembershipPro:
|
||||
- Display membership plans
|
||||
- Link from member dashboard
|
||||
- Show in members-only menu
|
||||
- Reference in subscription emails
|
||||
- Use in member onboarding
|
||||
|
||||
## Access Levels
|
||||
|
||||
Consider setting these access levels:
|
||||
- **Public** - Membership info pages
|
||||
- **Registered** - Dashboard guides
|
||||
- **Premium Member** - Exclusive resources
|
||||
- **VIP Member** - Top-tier content
|
||||
|
||||
## Article List
|
||||
|
||||
| Title | Category | Access Level | Purpose |
|
||||
|-------|----------|--------------|---------|
|
||||
| Welcome Members | Membership | Registered | Portal home |
|
||||
| Membership Plans | Membership | Public | Plan comparison |
|
||||
| Member Benefits | Membership | Public | Benefits overview |
|
||||
| Member Resources | Resources | Registered+ | Exclusive content |
|
||||
| Dashboard Guide | Support | Registered | Help guide |
|
||||
| Upgrade Membership | Membership | Registered | Upsell page |
|
||||
| Member Support | Support | Registered | Help desk |
|
||||
| Membership Terms | Legal | Public | Terms |
|
||||
|
||||
## Best Practices
|
||||
|
||||
- Clearly communicate value proposition
|
||||
- Make upgrade paths obvious
|
||||
- Provide excellent member support
|
||||
- Regular member-only content updates
|
||||
- Engage members with exclusive offers
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Joomla 4.x or 5.x
|
||||
- j2xml component
|
||||
- MembershipPro component (recommended)
|
||||
- Moko-Cassiopeia template
|
||||
|
||||
## Version
|
||||
|
||||
Version: 1.0.0
|
||||
Last Updated: 2026-01-29
|
||||
Compatible with: Joomla 4.x, 5.x, MembershipPro 3.x+
|
||||
149
data/demo/articles/membership/articles.j2xml
Normal file
149
data/demo/articles/membership/articles.j2xml
Normal file
@@ -0,0 +1,149 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<j2xml version="26.0.000">
|
||||
<version>26.0.000</version>
|
||||
<category>
|
||||
<id>3</id>
|
||||
<title>Membership</title>
|
||||
<alias>membership</alias>
|
||||
<description><![CDATA[Sample articles for membership websites]]></description>
|
||||
<published>1</published>
|
||||
<access>1</access>
|
||||
<language>*</language>
|
||||
<extension>com_content</extension>
|
||||
</category>
|
||||
|
||||
<article>
|
||||
<id>20</id>
|
||||
<title>Welcome to Our Member Portal</title>
|
||||
<alias>member-portal</alias>
|
||||
<introtext><![CDATA[<p>Welcome to your exclusive member area! Access premium content, resources, and benefits.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Your Membership Dashboard</h2>
|
||||
<p>As a valued member, you have access to exclusive benefits, resources, and premium content designed to help you succeed.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<h3><i class="fa-solid fa-book"></i> Resources</h3>
|
||||
<p>Access our complete library of guides, tutorials, and training materials.</p>
|
||||
<p><a href="/member-resources" class="btn btn-primary">Browse Resources</a></p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3><i class="fa-solid fa-calendar"></i> Events</h3>
|
||||
<p>Join exclusive member-only webinars, workshops, and networking events.</p>
|
||||
<p><a href="/member-events" class="btn btn-primary">View Events</a></p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3><i class="fa-solid fa-headset"></i> Support</h3>
|
||||
<p>Get priority support from our expert team whenever you need assistance.</p>
|
||||
<p><a href="/member-support" class="btn btn-primary">Get Support</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="mt-4">Quick Links</h3>
|
||||
<ul>
|
||||
<li><a href="/my-profile">Update Your Profile</a></li>
|
||||
<li><a href="/membership-details">View Membership Details</a></li>
|
||||
<li><a href="/download-center">Downloads</a></li>
|
||||
<li><a href="/community-forum">Community Forum</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Latest Member News</h3>
|
||||
<p>Stay updated with the latest announcements, new resources, and upcoming events.</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>3</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<featured>1</featured>
|
||||
<language>*</language>
|
||||
<access>2</access>
|
||||
<metadesc>Member portal - access exclusive resources and benefits</metadesc>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<id>21</id>
|
||||
<title>Membership Plans</title>
|
||||
<alias>membership-plans</alias>
|
||||
<introtext><![CDATA[<p>Choose the membership plan that's right for you. All plans include our core benefits with increasing levels of access.</p>]]></introtext>
|
||||
<fulltext><![CDATA[<h2>Choose Your Membership Level</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="card">
|
||||
<div class="card-header bg-secondary text-white">
|
||||
<h3>Basic</h3>
|
||||
<h4>$9.99/month</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul>
|
||||
<li>Access to basic resources</li>
|
||||
<li>Monthly newsletter</li>
|
||||
<li>Community forum access</li>
|
||||
<li>Email support</li>
|
||||
</ul>
|
||||
<p><a href="/signup?plan=basic" class="btn btn-secondary">Get Started</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card border-primary">
|
||||
<div class="card-header bg-primary text-white">
|
||||
<h3>Professional</h3>
|
||||
<h4>$24.99/month</h4>
|
||||
<span class="badge bg-warning">Most Popular</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul>
|
||||
<li><strong>Everything in Basic, plus:</strong></li>
|
||||
<li>Premium resources library</li>
|
||||
<li>Monthly webinars</li>
|
||||
<li>Advanced training materials</li>
|
||||
<li>Priority email support</li>
|
||||
<li>Quarterly networking events</li>
|
||||
</ul>
|
||||
<p><a href="/signup?plan=professional" class="btn btn-primary">Get Started</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card">
|
||||
<div class="card-header bg-success text-white">
|
||||
<h3>Enterprise</h3>
|
||||
<h4>$49.99/month</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul>
|
||||
<li><strong>Everything in Professional, plus:</strong></li>
|
||||
<li>1-on-1 consulting sessions</li>
|
||||
<li>Custom training programs</li>
|
||||
<li>Phone support</li>
|
||||
<li>VIP event access</li>
|
||||
<li>Annual conference pass</li>
|
||||
<li>API access</li>
|
||||
</ul>
|
||||
<p><a href="/signup?plan=enterprise" class="btn btn-success">Get Started</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="mt-4">All Plans Include</h3>
|
||||
<ul>
|
||||
<li>Cancel anytime, no commitments</li>
|
||||
<li>30-day money-back guarantee</li>
|
||||
<li>Secure payment processing</li>
|
||||
<li>Access from any device</li>
|
||||
</ul>
|
||||
|
||||
<p class="mt-4"><strong>Need help choosing?</strong> <a href="/contact-us">Contact us</a> for personalized recommendations.</p>]]></fulltext>
|
||||
<state>1</state>
|
||||
<catid>3</catid>
|
||||
<created>2026-01-29 00:00:00</created>
|
||||
<created_by>1</created_by>
|
||||
<language>*</language>
|
||||
<access>1</access>
|
||||
<metadesc>Membership plans and pricing - choose the right tier for you</metadesc>
|
||||
</article>
|
||||
</j2xml>
|
||||
256
data/demo/dolibarr/README.md
Normal file
256
data/demo/dolibarr/README.md
Normal file
@@ -0,0 +1,256 @@
|
||||
# Dolibarr Integration Sample Data
|
||||
|
||||
This directory contains sample configuration and data mapping for integrating Joomla/VirtueMart with Dolibarr ERP/CRM.
|
||||
|
||||
## Contents
|
||||
|
||||
- `integration-config.sql` - Sample Dolibarr integration configuration
|
||||
- `README.md` - This file
|
||||
|
||||
## Overview
|
||||
|
||||
Dolibarr is an open-source ERP and CRM system. This integration allows you to:
|
||||
- Sync customers between Joomla and Dolibarr
|
||||
- Sync products and orders from VirtueMart to Dolibarr
|
||||
- Manage invoices and accounting
|
||||
- Track inventory across systems
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. **Dolibarr** installed (14.x or later)
|
||||
2. **Dolibarr API** enabled with API key
|
||||
3. **VirtueMart** installed in Joomla
|
||||
4. **Joomla-Dolibarr connector plugin** or custom integration
|
||||
|
||||
## Integration Methods
|
||||
|
||||
### Option 1: REST API Integration
|
||||
Connect Joomla to Dolibarr using REST API:
|
||||
- Real-time synchronization
|
||||
- Bidirectional data flow
|
||||
- Event-driven updates
|
||||
|
||||
### Option 2: Database Integration
|
||||
Direct database connection (not recommended for production):
|
||||
- Fast data sync
|
||||
- Complex queries
|
||||
- Security considerations
|
||||
|
||||
### Option 3: File-Based Integration
|
||||
CSV export/import:
|
||||
- Scheduled batch sync
|
||||
- Manual control
|
||||
- No real-time updates
|
||||
|
||||
## What Gets Configured
|
||||
|
||||
### API Connection
|
||||
- Dolibarr URL
|
||||
- API key/token
|
||||
- Authentication method
|
||||
- SSL/TLS settings
|
||||
|
||||
### Data Mapping
|
||||
- Customer fields
|
||||
- Product fields
|
||||
- Order fields
|
||||
- Tax codes
|
||||
- Payment methods
|
||||
- Shipping methods
|
||||
|
||||
### Sync Rules
|
||||
- Sync direction (one-way or bidirectional)
|
||||
- Sync frequency
|
||||
- Conflict resolution
|
||||
- Error handling
|
||||
|
||||
## Installation
|
||||
|
||||
### Step 1: Configure Dolibarr API
|
||||
|
||||
1. Log into Dolibarr admin
|
||||
2. Go to Setup > Modules
|
||||
3. Enable "Web services" module
|
||||
4. Go to Home > Setup > Security
|
||||
5. Generate API key for integration user
|
||||
|
||||
### Step 2: Import Configuration
|
||||
|
||||
```bash
|
||||
# Import SQL configuration
|
||||
mysql -u username -p database_name < integration-config.sql
|
||||
```
|
||||
|
||||
### Step 3: Install Connector Plugin
|
||||
|
||||
Install a Joomla-Dolibarr connector plugin:
|
||||
- Search Joomla Extensions Directory
|
||||
- Or develop custom integration
|
||||
|
||||
### Step 4: Configure Mapping
|
||||
|
||||
Configure field mapping in plugin settings:
|
||||
- Map Joomla user fields to Dolibarr contacts
|
||||
- Map VirtueMart products to Dolibarr products
|
||||
- Map order statuses
|
||||
|
||||
## Data Flow
|
||||
|
||||
### Customer Sync
|
||||
```
|
||||
Joomla User Registration
|
||||
↓
|
||||
Create/Update Dolibarr Contact (Third Party)
|
||||
↓
|
||||
Sync custom fields
|
||||
↓
|
||||
Assign to customer group
|
||||
```
|
||||
|
||||
### Order Sync
|
||||
```
|
||||
VirtueMart Order Placed
|
||||
↓
|
||||
Create Dolibarr Order
|
||||
↓
|
||||
Create Invoice (when paid)
|
||||
↓
|
||||
Update Stock Levels
|
||||
↓
|
||||
Create Shipment
|
||||
```
|
||||
|
||||
### Product Sync
|
||||
```
|
||||
VirtueMart Product Created/Updated
|
||||
↓
|
||||
Sync to Dolibarr Product
|
||||
↓
|
||||
Update pricing
|
||||
↓
|
||||
Sync stock levels
|
||||
```
|
||||
|
||||
## Sample Mappings
|
||||
|
||||
### Customer Fields
|
||||
| Joomla/VirtueMart | Dolibarr |
|
||||
|-------------------|----------|
|
||||
| name | nom (lastname) |
|
||||
| email | email |
|
||||
| username | ref_ext |
|
||||
| company | client.nom |
|
||||
| address | address |
|
||||
| city | town |
|
||||
| state | state |
|
||||
| zip | zip |
|
||||
| country | country_code |
|
||||
| phone | phone |
|
||||
|
||||
### Product Fields
|
||||
| VirtueMart | Dolibarr |
|
||||
|------------|----------|
|
||||
| product_name | label |
|
||||
| product_sku | ref |
|
||||
| product_desc | description |
|
||||
| product_price | price |
|
||||
| product_weight | weight |
|
||||
| product_in_stock | stock_reel |
|
||||
| virtuemart_product_id | ref_ext |
|
||||
|
||||
### Order Status Mapping
|
||||
| VirtueMart Status | Dolibarr Status |
|
||||
|-------------------|-----------------|
|
||||
| Pending | Draft |
|
||||
| Confirmed | Validated |
|
||||
| Shipped | Closed (delivered) |
|
||||
| Cancelled | Cancelled |
|
||||
| Refunded | Cancelled (refunded) |
|
||||
|
||||
## Configuration Options
|
||||
|
||||
### API Settings
|
||||
```php
|
||||
// Sample configuration
|
||||
$dolibarr_url = 'https://your-dolibarr-domain.com';
|
||||
$dolibarr_api_key = 'your-api-key-here';
|
||||
$sync_enabled = true;
|
||||
$sync_direction = 'bidirectional'; // or 'joomla_to_dolibarr', 'dolibarr_to_joomla'
|
||||
$sync_interval = 300; // seconds (5 minutes)
|
||||
```
|
||||
|
||||
### Sync Settings
|
||||
- Auto-sync on create/update
|
||||
- Manual sync button
|
||||
- Scheduled cron sync
|
||||
- Real-time webhook sync
|
||||
|
||||
## Testing Integration
|
||||
|
||||
1. **Test Customer Sync**
|
||||
- Create test user in Joomla
|
||||
- Verify creation in Dolibarr
|
||||
- Update user details
|
||||
- Verify sync
|
||||
|
||||
2. **Test Product Sync**
|
||||
- Create test product in VirtueMart
|
||||
- Verify in Dolibarr products
|
||||
- Update price/stock
|
||||
- Verify sync
|
||||
|
||||
3. **Test Order Flow**
|
||||
- Place test order in VirtueMart
|
||||
- Verify order in Dolibarr
|
||||
- Update order status
|
||||
- Verify invoice creation
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
**API Connection Fails**
|
||||
- Verify API is enabled in Dolibarr
|
||||
- Check API key is valid
|
||||
- Verify SSL certificate
|
||||
- Check firewall rules
|
||||
|
||||
**Data Not Syncing**
|
||||
- Check sync logs
|
||||
- Verify field mapping
|
||||
- Check API permissions
|
||||
- Test API endpoints manually
|
||||
|
||||
**Duplicate Records**
|
||||
- Check unique identifier mapping
|
||||
- Verify conflict resolution rules
|
||||
- Review sync logs
|
||||
|
||||
## Security Considerations
|
||||
|
||||
- Use HTTPS/SSL for all API calls
|
||||
- Rotate API keys regularly
|
||||
- Limit API permissions to necessary operations
|
||||
- Log all sync activities
|
||||
- Monitor for unusual activity
|
||||
- Backup before major syncs
|
||||
|
||||
## Support Resources
|
||||
|
||||
- Dolibarr Documentation: https://www.dolibarr.org/documentation
|
||||
- Dolibarr API Docs: https://wiki.dolibarr.org/index.php/API
|
||||
- Dolibarr Forum: https://www.dolibarr.org/forum
|
||||
- Joomla Forums: https://forum.joomla.org
|
||||
- Moko Consulting: hello@mokoconsulting.tech
|
||||
|
||||
## Notes
|
||||
|
||||
- This is sample configuration data
|
||||
- Actual implementation requires custom development or plugin
|
||||
- Always test in staging environment first
|
||||
- Monitor sync performance and errors
|
||||
- Plan for data migration and cleanup
|
||||
|
||||
## Version
|
||||
|
||||
Version: 1.0.0
|
||||
Last Updated: 2026-01-29
|
||||
Compatible with: Dolibarr 14.x+, Joomla 4.x/5.x
|
||||
153
data/demo/dolibarr/integration-config.sql
Normal file
153
data/demo/dolibarr/integration-config.sql
Normal file
@@ -0,0 +1,153 @@
|
||||
-- Dolibarr Integration Configuration
|
||||
-- Version: 1.0.0
|
||||
-- Sample configuration for Joomla-Dolibarr integration
|
||||
-- NOTE: This is reference data - actual integration requires custom plugin/development
|
||||
|
||||
-- Configuration table (example - actual implementation varies)
|
||||
CREATE TABLE IF NOT EXISTS `#__dolibarr_config` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`config_key` varchar(255) NOT NULL,
|
||||
`config_value` text,
|
||||
`description` text,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `config_key` (`config_key`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- API Connection Settings
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('dolibarr_url', 'https://erp.example.com', 'Base URL of Dolibarr installation'),
|
||||
('dolibarr_api_key', '', 'API key for authentication - SET THIS'),
|
||||
('api_enabled', '1', 'Enable/disable API integration'),
|
||||
('api_timeout', '30', 'API request timeout in seconds'),
|
||||
('verify_ssl', '1', 'Verify SSL certificates'),
|
||||
('sync_enabled', '1', 'Enable automatic synchronization'),
|
||||
('sync_direction', 'bidirectional', 'Sync direction: joomla_to_dolibarr, dolibarr_to_joomla, bidirectional'),
|
||||
('sync_interval', '300', 'Sync interval in seconds (5 minutes)'),
|
||||
('log_enabled', '1', 'Enable sync logging'),
|
||||
('log_level', 'info', 'Log level: debug, info, warning, error');
|
||||
|
||||
-- Customer/Contact Field Mapping
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('map_customer_enabled', '1', 'Enable customer sync'),
|
||||
('map_customer_name', 'name|nom', 'Map Joomla name to Dolibarr nom'),
|
||||
('map_customer_email', 'email|email', 'Map email field'),
|
||||
('map_customer_phone', 'phone|phone', 'Map phone field'),
|
||||
('map_customer_company', 'company|client.nom', 'Map company name'),
|
||||
('map_customer_address', 'address_1|address', 'Map address field'),
|
||||
('map_customer_city', 'city|town', 'Map city field'),
|
||||
('map_customer_state', 'state|state', 'Map state/province'),
|
||||
('map_customer_zip', 'zip|zip', 'Map postal code'),
|
||||
('map_customer_country', 'country_code|country_code', 'Map country code'),
|
||||
('map_customer_ref', 'id|ref_ext', 'Map Joomla user ID to Dolibarr external reference');
|
||||
|
||||
-- Product Field Mapping
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('map_product_enabled', '1', 'Enable product sync'),
|
||||
('map_product_name', 'product_name|label', 'Map product name'),
|
||||
('map_product_sku', 'product_sku|ref', 'Map product SKU/reference'),
|
||||
('map_product_desc', 'product_desc|description', 'Map product description'),
|
||||
('map_product_price', 'product_price|price', 'Map product price'),
|
||||
('map_product_weight', 'product_weight|weight', 'Map product weight'),
|
||||
('map_product_stock', 'product_in_stock|stock_reel', 'Map stock quantity'),
|
||||
('map_product_category', 'category|fk_product_type', 'Map product category'),
|
||||
('map_product_ref', 'virtuemart_product_id|ref_ext', 'Map product ID to external reference');
|
||||
|
||||
-- Order Field Mapping
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('map_order_enabled', '1', 'Enable order sync'),
|
||||
('map_order_number', 'order_number|ref', 'Map order number'),
|
||||
('map_order_date', 'created_on|date_commande', 'Map order date'),
|
||||
('map_order_status', 'order_status|fk_statut', 'Map order status'),
|
||||
('map_order_total', 'order_total|total_ttc', 'Map order total with tax'),
|
||||
('map_order_subtotal', 'order_subtotal|total_ht', 'Map order subtotal without tax'),
|
||||
('map_order_tax', 'order_tax|total_tva', 'Map tax amount'),
|
||||
('map_order_shipping', 'order_shipment|total_port', 'Map shipping cost'),
|
||||
('map_order_ref', 'virtuemart_order_id|ref_ext', 'Map order ID to external reference');
|
||||
|
||||
-- Order Status Mapping
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('status_pending', 'P|0', 'VirtueMart Pending to Dolibarr Draft'),
|
||||
('status_confirmed', 'C|1', 'VirtueMart Confirmed to Dolibarr Validated'),
|
||||
('status_shipped', 'S|3', 'VirtueMart Shipped to Dolibarr Closed/Delivered'),
|
||||
('status_cancelled', 'X|-1', 'VirtueMart Cancelled to Dolibarr Cancelled'),
|
||||
('status_refunded', 'R|-1', 'VirtueMart Refunded to Dolibarr Cancelled');
|
||||
|
||||
-- Payment Method Mapping
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('payment_cash', 'Cash|LIQ', 'Cash payment'),
|
||||
('payment_check', 'Check|CHQ', 'Check payment'),
|
||||
('payment_transfer', 'Bank Transfer|VIR', 'Bank transfer'),
|
||||
('payment_creditcard', 'Credit Card|CB', 'Credit card'),
|
||||
('payment_paypal', 'PayPal|PRE', 'PayPal'),
|
||||
('payment_stripe', 'Stripe|PRE', 'Stripe');
|
||||
|
||||
-- Sync Log Table
|
||||
CREATE TABLE IF NOT EXISTS `#__dolibarr_sync_log` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`sync_type` varchar(50) NOT NULL COMMENT 'customer, product, order',
|
||||
`sync_direction` varchar(50) NOT NULL,
|
||||
`joomla_id` int(11) DEFAULT NULL,
|
||||
`dolibarr_id` int(11) DEFAULT NULL,
|
||||
`status` varchar(20) NOT NULL COMMENT 'success, error, pending',
|
||||
`message` text,
|
||||
`sync_date` datetime NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `sync_type` (`sync_type`),
|
||||
KEY `status` (`status`),
|
||||
KEY `sync_date` (`sync_date`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- Sync Queue Table (for batch processing)
|
||||
CREATE TABLE IF NOT EXISTS `#__dolibarr_sync_queue` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`sync_type` varchar(50) NOT NULL,
|
||||
`sync_direction` varchar(50) NOT NULL,
|
||||
`joomla_id` int(11) DEFAULT NULL,
|
||||
`priority` int(11) DEFAULT 5,
|
||||
`attempts` int(11) DEFAULT 0,
|
||||
`max_attempts` int(11) DEFAULT 3,
|
||||
`created_date` datetime NOT NULL,
|
||||
`scheduled_date` datetime NOT NULL,
|
||||
`processed_date` datetime DEFAULT NULL,
|
||||
`status` varchar(20) DEFAULT 'pending',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `status` (`status`),
|
||||
KEY `scheduled_date` (`scheduled_date`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- Field Mapping Cache (stores last synced values)
|
||||
CREATE TABLE IF NOT EXISTS `#__dolibarr_field_cache` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`entity_type` varchar(50) NOT NULL COMMENT 'customer, product, order',
|
||||
`joomla_id` int(11) NOT NULL,
|
||||
`dolibarr_id` int(11) NOT NULL,
|
||||
`last_sync` datetime NOT NULL,
|
||||
`joomla_hash` varchar(64) DEFAULT NULL COMMENT 'MD5 of Joomla data',
|
||||
`dolibarr_hash` varchar(64) DEFAULT NULL COMMENT 'MD5 of Dolibarr data',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `entity_mapping` (`entity_type`, `joomla_id`),
|
||||
KEY `dolibarr_id` (`dolibarr_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- Webhook Configuration (for real-time sync)
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('webhook_enabled', '0', 'Enable webhook notifications'),
|
||||
('webhook_url_customer', '', 'Webhook URL for customer events'),
|
||||
('webhook_url_product', '', 'Webhook URL for product events'),
|
||||
('webhook_url_order', '', 'Webhook URL for order events'),
|
||||
('webhook_secret', '', 'Webhook secret for verification');
|
||||
|
||||
-- Sample sync schedule (for cron jobs)
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('cron_customer_sync', '0 */6 * * *', 'Sync customers every 6 hours'),
|
||||
('cron_product_sync', '0 */4 * * *', 'Sync products every 4 hours'),
|
||||
('cron_order_sync', '*/15 * * * *', 'Sync orders every 15 minutes'),
|
||||
('cron_cleanup_logs', '0 2 * * 0', 'Cleanup old logs weekly');
|
||||
|
||||
-- Error Handling Configuration
|
||||
INSERT INTO `#__dolibarr_config` (`config_key`, `config_value`, `description`) VALUES
|
||||
('error_retry_enabled', '1', 'Enable automatic retry on errors'),
|
||||
('error_retry_max', '3', 'Maximum retry attempts'),
|
||||
('error_retry_delay', '300', 'Delay between retries in seconds'),
|
||||
('error_notification_enabled', '1', 'Send email on persistent errors'),
|
||||
('error_notification_email', 'admin@example.com', 'Email for error notifications');
|
||||
161
data/demo/membershippro/README.md
Normal file
161
data/demo/membershippro/README.md
Normal file
@@ -0,0 +1,161 @@
|
||||
# MembershipPro Sample Data
|
||||
|
||||
This directory contains sample membership plans, groups, and configuration for MembershipPro (also known as Membership Pro or J2Store Membership).
|
||||
|
||||
## Contents
|
||||
|
||||
- `sample-data.sql` - Membership plans, groups, and sample configuration
|
||||
- `README.md` - This file
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. **MembershipPro 3.x or 4.x** installed and configured
|
||||
2. **Database backup** - Always backup before importing
|
||||
3. **Joomla 4.x or 5.x** with Moko-Cassiopeia template
|
||||
|
||||
## What Gets Imported
|
||||
|
||||
### Membership Plans (3 tiers)
|
||||
1. **Basic Membership** - $9.99/month
|
||||
- Access to basic resources
|
||||
- Community forum
|
||||
- Monthly newsletter
|
||||
|
||||
2. **Professional Membership** - $24.99/month
|
||||
- Everything in Basic
|
||||
- Premium resources
|
||||
- Monthly webinars
|
||||
- Priority support
|
||||
|
||||
3. **Enterprise Membership** - $49.99/month
|
||||
- Everything in Professional
|
||||
- 1-on-1 consulting
|
||||
- Custom training
|
||||
- VIP events
|
||||
- API access
|
||||
|
||||
### User Groups
|
||||
- Basic Members
|
||||
- Professional Members
|
||||
- Enterprise Members
|
||||
- Free Trial Members
|
||||
|
||||
### Configuration
|
||||
- Payment methods (PayPal, Stripe)
|
||||
- Email templates
|
||||
- Access levels
|
||||
- Subscription rules
|
||||
|
||||
## Installation
|
||||
|
||||
### Method 1: phpMyAdmin
|
||||
```
|
||||
1. Login to phpMyAdmin
|
||||
2. Select your Joomla database
|
||||
3. Import sample-data.sql
|
||||
4. Verify in MembershipPro dashboard
|
||||
```
|
||||
|
||||
### Method 2: Command Line
|
||||
```bash
|
||||
mysql -u username -p database_name < sample-data.sql
|
||||
```
|
||||
|
||||
### Method 3: MembershipPro Admin
|
||||
Some data can be configured through the MembershipPro admin interface:
|
||||
1. Components > MembershipPro
|
||||
2. Plans > Add New
|
||||
3. Configure settings manually
|
||||
|
||||
## Post-Import Steps
|
||||
|
||||
1. **Configure Payment Gateway**
|
||||
- Setup PayPal/Stripe credentials
|
||||
- Test payment processing
|
||||
- Configure currency
|
||||
|
||||
2. **Email Templates**
|
||||
- Review welcome emails
|
||||
- Customize branding
|
||||
- Test email delivery
|
||||
|
||||
3. **Access Levels**
|
||||
- Verify Joomla user groups
|
||||
- Check article access
|
||||
- Test member-only content
|
||||
|
||||
4. **Subscription Rules**
|
||||
- Review renewal settings
|
||||
- Configure grace periods
|
||||
- Setup upgrade paths
|
||||
|
||||
5. **Integration**
|
||||
- Link to articles
|
||||
- Setup member dashboard
|
||||
- Configure menus
|
||||
|
||||
## Membership Features
|
||||
|
||||
- Recurring subscriptions
|
||||
- Trial periods
|
||||
- Proration on upgrades
|
||||
- Automatic renewals
|
||||
- Email notifications
|
||||
- Member dashboard
|
||||
- Coupon codes
|
||||
- Gift subscriptions
|
||||
- Group subscriptions
|
||||
- Access control integration
|
||||
|
||||
## Customization
|
||||
|
||||
All plans can be customized:
|
||||
- Adjust pricing
|
||||
- Modify features
|
||||
- Add/remove tiers
|
||||
- Change billing cycles
|
||||
- Update descriptions
|
||||
- Configure trials
|
||||
|
||||
## Database Tables
|
||||
|
||||
This data affects these MembershipPro tables:
|
||||
- `#__osmembership_plans`
|
||||
- `#__osmembership_categories`
|
||||
- `#__osmembership_fields`
|
||||
- `#__osmembership_emailtemplates`
|
||||
- `#__osmembership_coupons`
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
**Plans not showing?**
|
||||
- Check plan publish status
|
||||
- Verify category assignment
|
||||
- Clear Joomla cache
|
||||
|
||||
**Payment issues?**
|
||||
- Configure payment plugin
|
||||
- Test in sandbox mode
|
||||
- Check gateway credentials
|
||||
|
||||
**Access not working?**
|
||||
- Verify user group mapping
|
||||
- Check access level configuration
|
||||
- Test with different plan levels
|
||||
|
||||
## Support
|
||||
|
||||
For MembershipPro issues:
|
||||
- Documentation: https://docs.joomdonation.com/membership-pro
|
||||
- Support forum: https://joomdonation.com/forum
|
||||
- Moko Consulting: hello@mokoconsulting.tech
|
||||
|
||||
## Warning
|
||||
|
||||
⚠️ **IMPORTANT**: This is sample data. Review and customize all plans, pricing, and features before going live. Always backup before importing.
|
||||
|
||||
## Version
|
||||
|
||||
Version: 1.0.0
|
||||
Last Updated: 2026-01-29
|
||||
Compatible with: MembershipPro 3.x/4.x, Joomla 4.x/5.x
|
||||
160
data/demo/membershippro/sample-data.sql
Normal file
160
data/demo/membershippro/sample-data.sql
Normal file
@@ -0,0 +1,160 @@
|
||||
-- MembershipPro Sample Data
|
||||
-- Version: 1.0.0
|
||||
-- Compatible with: MembershipPro 3.x/4.x
|
||||
-- NOTE: Replace #__ with your actual Joomla table prefix
|
||||
|
||||
-- Membership Plan Categories
|
||||
INSERT INTO `#__osmembership_categories` (`id`, `title`, `alias`, `description`, `published`, `ordering`) VALUES
|
||||
(1, 'Individual Memberships', 'individual-memberships', '<p>Membership plans for individuals.</p>', 1, 1),
|
||||
(2, 'Team Memberships', 'team-memberships', '<p>Membership plans for teams and organizations.</p>', 1, 2);
|
||||
|
||||
-- Membership Plans
|
||||
INSERT INTO `#__osmembership_plans` (`id`, `category_id`, `title`, `alias`, `short_description`, `description`, `subscription_length`, `subscription_length_unit`, `price`, `trial_duration`, `trial_duration_unit`, `trial_price`, `recurring_subscription`, `lifetime_membership`, `enable_upgrade_downgrade`, `publish_up`, `publish_down`, `published`, `ordering`, `created_date`) VALUES
|
||||
-- Basic Plan
|
||||
(1, 1, 'Basic Membership', 'basic-membership',
|
||||
'<p>Essential access to our platform and resources.</p>',
|
||||
'<h3>Basic Membership Features</h3>
|
||||
<ul>
|
||||
<li>Access to basic resources and materials</li>
|
||||
<li>Community forum participation</li>
|
||||
<li>Monthly newsletter</li>
|
||||
<li>Email support</li>
|
||||
<li>Member directory listing</li>
|
||||
</ul>
|
||||
<p>Perfect for individuals getting started with our community.</p>',
|
||||
1, 'month', 9.99, 7, 'day', 0.00, 1, 0, 1, '2026-01-01 00:00:00', NULL, 1, 1, '2026-01-29 00:00:00'),
|
||||
|
||||
-- Professional Plan
|
||||
(2, 1, 'Professional Membership', 'professional-membership',
|
||||
'<p>Premium access with exclusive benefits and priority support.</p>',
|
||||
'<h3>Professional Membership Features</h3>
|
||||
<p><strong>Everything in Basic, plus:</strong></p>
|
||||
<ul>
|
||||
<li>Access to premium resources library</li>
|
||||
<li>Monthly live webinars and workshops</li>
|
||||
<li>Advanced training materials and courses</li>
|
||||
<li>Priority email and chat support</li>
|
||||
<li>Quarterly networking events</li>
|
||||
<li>Exclusive member discounts (15% off store)</li>
|
||||
<li>Early access to new features</li>
|
||||
</ul>
|
||||
<p>Ideal for professionals serious about growth and networking.</p>',
|
||||
1, 'month', 24.99, 14, 'day', 0.00, 1, 0, 1, '2026-01-01 00:00:00', NULL, 1, 2, '2026-01-29 00:00:00'),
|
||||
|
||||
-- Enterprise Plan
|
||||
(3, 1, 'Enterprise Membership', 'enterprise-membership',
|
||||
'<p>Complete VIP access with personalized support and benefits.</p>',
|
||||
'<h3>Enterprise Membership Features</h3>
|
||||
<p><strong>Everything in Professional, plus:</strong></p>
|
||||
<ul>
|
||||
<li>Monthly 1-on-1 consulting sessions</li>
|
||||
<li>Custom training programs tailored to your needs</li>
|
||||
<li>Dedicated phone support line</li>
|
||||
<li>VIP access to all events and conferences</li>
|
||||
<li>Annual conference pass (value $500)</li>
|
||||
<li>API access for integrations</li>
|
||||
<li>Premium member badge and profile highlighting</li>
|
||||
<li>Exclusive enterprise networking group</li>
|
||||
<li>Complimentary guest passes (2 per year)</li>
|
||||
</ul>
|
||||
<p>Perfect for organizations and power users who need the best.</p>',
|
||||
1, 'month', 49.99, 0, 'day', 0.00, 1, 0, 1, '2026-01-01 00:00:00', NULL, 1, 3, '2026-01-29 00:00:00'),
|
||||
|
||||
-- Annual Basic (discounted)
|
||||
(4, 1, 'Basic Membership (Annual)', 'basic-membership-annual',
|
||||
'<p>Save 20% with annual payment!</p>',
|
||||
'<p>Same great Basic features with annual billing. Save $24 per year!</p>',
|
||||
12, 'month', 95.99, 7, 'day', 0.00, 0, 0, 1, '2026-01-01 00:00:00', NULL, 1, 4, '2026-01-29 00:00:00'),
|
||||
|
||||
-- Team Plan
|
||||
(5, 2, 'Team Membership (5 seats)', 'team-membership-5',
|
||||
'<p>Professional membership for teams of up to 5 members.</p>',
|
||||
'<h3>Team Membership Features</h3>
|
||||
<ul>
|
||||
<li>5 Professional-level memberships</li>
|
||||
<li>Centralized billing and management</li>
|
||||
<li>Team collaboration tools</li>
|
||||
<li>Shared resource library</li>
|
||||
<li>Team training sessions</li>
|
||||
<li>Volume discount (save 15%)</li>
|
||||
</ul>',
|
||||
1, 'month', 106.21, 0, 'day', 0.00, 1, 0, 1, '2026-01-01 00:00:00', NULL, 1, 5, '2026-01-29 00:00:00');
|
||||
|
||||
-- Plan - User Group Mapping (determines Joomla access levels)
|
||||
INSERT INTO `#__osmembership_plans` (`id`, `usergroup_id`) VALUES
|
||||
(1, 2), -- Basic -> Registered
|
||||
(2, 10), -- Professional -> Special (create this group in Joomla)
|
||||
(3, 11), -- Enterprise -> VIP (create this group in Joomla)
|
||||
(4, 2), -- Annual Basic -> Registered
|
||||
(5, 10); -- Team -> Special
|
||||
|
||||
-- Email Templates
|
||||
INSERT INTO `#__osmembership_emailtemplates` (`id`, `name`, `subject`, `body`, `published`) VALUES
|
||||
(1, 'subscription_confirmation', 'Welcome to [PLAN_TITLE] Membership!',
|
||||
'Dear [MEMBER_NAME],
|
||||
|
||||
Thank you for subscribing to [PLAN_TITLE]!
|
||||
|
||||
Your membership details:
|
||||
- Plan: [PLAN_TITLE]
|
||||
- Start Date: [FROM_DATE]
|
||||
- End Date: [TO_DATE]
|
||||
- Amount Paid: [AMOUNT]
|
||||
|
||||
You can access your member dashboard at: [MEMBER_DASHBOARD_URL]
|
||||
|
||||
If you have any questions, please don''t hesitate to contact us.
|
||||
|
||||
Best regards,
|
||||
The Team', 1),
|
||||
|
||||
(2, 'subscription_renewal_reminder', 'Your membership renewal is coming up',
|
||||
'Dear [MEMBER_NAME],
|
||||
|
||||
This is a friendly reminder that your [PLAN_TITLE] membership will renew on [TO_DATE].
|
||||
|
||||
Renewal Amount: [AMOUNT]
|
||||
|
||||
Your membership will automatically renew unless you cancel before the renewal date.
|
||||
|
||||
Manage your subscription: [MEMBER_DASHBOARD_URL]
|
||||
|
||||
Thank you for being a valued member!
|
||||
|
||||
Best regards,
|
||||
The Team', 1),
|
||||
|
||||
(3, 'subscription_expired', 'Your membership has expired',
|
||||
'Dear [MEMBER_NAME],
|
||||
|
||||
Your [PLAN_TITLE] membership expired on [TO_DATE].
|
||||
|
||||
We hope you enjoyed your membership benefits. You can renew anytime to regain access to all features.
|
||||
|
||||
Renew now: [RENEWAL_URL]
|
||||
|
||||
Best regards,
|
||||
The Team', 1);
|
||||
|
||||
-- Custom Fields (optional registration fields)
|
||||
INSERT INTO `#__osmembership_fields` (`id`, `name`, `title`, `field_type`, `values`, `required`, `published`, `ordering`) VALUES
|
||||
(1, 'company', 'Company Name', 'text', '', 0, 1, 1),
|
||||
(2, 'job_title', 'Job Title', 'text', '', 0, 1, 2),
|
||||
(3, 'phone', 'Phone Number', 'text', '', 1, 1, 3),
|
||||
(4, 'how_did_you_hear', 'How did you hear about us?', 'list', 'Search Engine\r\nSocial Media\r\nFriend Referral\r\nAdvertisement\r\nOther', 0, 1, 4),
|
||||
(5, 'interests', 'Areas of Interest', 'checkboxes', 'Technology\r\nBusiness\r\nMarketing\r\nDesign\r\nDevelopment', 0, 1, 5);
|
||||
|
||||
-- Sample Coupon Codes
|
||||
INSERT INTO `#__osmembership_coupons` (`id`, `code`, `discount`, `discount_amount`, `times`, `used`, `valid_from`, `valid_to`, `published`) VALUES
|
||||
(1, 'WELCOME10', 1, 10.00, 100, 0, '2026-01-01 00:00:00', '2026-12-31 23:59:59', 1),
|
||||
(2, 'ANNUAL20', 1, 20.00, 50, 0, '2026-01-01 00:00:00', '2026-12-31 23:59:59', 1),
|
||||
(3, 'TRIAL7DAY', 2, 7.00, 200, 0, '2026-01-01 00:00:00', '2026-06-30 23:59:59', 1);
|
||||
|
||||
-- Configuration (these are typically stored in component params, but shown here for reference)
|
||||
-- You would configure these in: Components > MembershipPro > Configuration
|
||||
-- - Currency: USD
|
||||
-- - Payment plugins: PayPal, Stripe
|
||||
-- - Tax settings: Based on location
|
||||
-- - Email from name and address
|
||||
-- - Member dashboard URL
|
||||
-- - Renewal settings
|
||||
200
data/demo/virtuemart/README.md
Normal file
200
data/demo/virtuemart/README.md
Normal file
@@ -0,0 +1,200 @@
|
||||
# VirtueMart Sample Data
|
||||
|
||||
This directory contains comprehensive sample data for VirtueMart, including products, categories, custom fields, and more.
|
||||
|
||||
## Contents
|
||||
|
||||
- `categories.sql` - Product categories with hierarchy
|
||||
- `products.sql` - 50+ sample products
|
||||
- `product-variants.sql` - Product variations (sizes, colors, etc.)
|
||||
- `custom-fields.sql` - Custom product fields
|
||||
- `featured-products.sql` - Featured product configuration
|
||||
- `stock-management.sql` - Stock levels and tracking
|
||||
- `manufacturers.sql` - Sample manufacturers/brands
|
||||
- `product-images.sql` - Product image references (requires actual image files)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. **VirtueMart 4.x** installed and configured
|
||||
2. **Database backup** - ALWAYS backup before importing
|
||||
3. **Joomla 4.x or 5.x** with Moko-Cassiopeia template
|
||||
4. **MySQL/MariaDB** database access
|
||||
|
||||
## Installation Order
|
||||
|
||||
Import files in this specific order to maintain referential integrity:
|
||||
|
||||
```bash
|
||||
1. manufacturers.sql
|
||||
2. categories.sql
|
||||
3. products.sql
|
||||
4. custom-fields.sql
|
||||
5. product-variants.sql
|
||||
6. featured-products.sql
|
||||
7. stock-management.sql
|
||||
8. product-images.sql (optional - requires image files)
|
||||
```
|
||||
|
||||
## Import Methods
|
||||
|
||||
### Method 1: phpMyAdmin
|
||||
1. Log into phpMyAdmin
|
||||
2. Select your Joomla database
|
||||
3. Click "Import" tab
|
||||
4. Choose SQL file
|
||||
5. Click "Go"
|
||||
6. Repeat for each file in order
|
||||
|
||||
### Method 2: Command Line
|
||||
```bash
|
||||
mysql -u username -p database_name < manufacturers.sql
|
||||
mysql -u username -p database_name < categories.sql
|
||||
mysql -u username -p database_name < products.sql
|
||||
# ... continue with other files
|
||||
```
|
||||
|
||||
### Method 3: Joomla Admin
|
||||
1. Components > VirtueMart > Tools
|
||||
2. Use import/export tools for specific data types
|
||||
|
||||
## What Gets Imported
|
||||
|
||||
### Categories (20+)
|
||||
- Electronics (Computers, Phones, Accessories)
|
||||
- Clothing (Men's, Women's, Kids')
|
||||
- Home & Garden (Furniture, Decor, Tools)
|
||||
- Sports & Outdoors (Equipment, Apparel)
|
||||
- Books & Media
|
||||
|
||||
### Products (50+)
|
||||
- Various price points ($9.99 - $999.99)
|
||||
- Multiple variations (sizes, colors)
|
||||
- Detailed descriptions
|
||||
- Product specifications
|
||||
- SKUs and barcodes
|
||||
- Stock levels
|
||||
- Featured products
|
||||
- Sale items
|
||||
|
||||
### Custom Fields
|
||||
- Size selector (XS, S, M, L, XL, XXL)
|
||||
- Color picker
|
||||
- Material type
|
||||
- Warranty information
|
||||
- Delivery time estimates
|
||||
- Gift wrap options
|
||||
|
||||
### Manufacturers
|
||||
- TechBrand Inc.
|
||||
- StyleWear Co.
|
||||
- HomeComfort
|
||||
- SportsPro
|
||||
- And more...
|
||||
|
||||
## Post-Import Steps
|
||||
|
||||
1. **Verify Import**
|
||||
- Check VirtueMart dashboard
|
||||
- View product listings
|
||||
- Test category navigation
|
||||
- Verify custom fields display
|
||||
|
||||
2. **Update Images**
|
||||
- Upload actual product images
|
||||
- Link images to products
|
||||
- Set featured images
|
||||
- Configure image sizes
|
||||
|
||||
3. **Configure Prices**
|
||||
- Review and adjust pricing
|
||||
- Set up tax rules
|
||||
- Configure shipping costs
|
||||
- Add promotional pricing
|
||||
|
||||
4. **Setup Payment**
|
||||
- Configure payment methods
|
||||
- Test checkout process
|
||||
- Setup order notifications
|
||||
|
||||
5. **Inventory Management**
|
||||
- Review stock levels
|
||||
- Configure low stock alerts
|
||||
- Setup stock tracking
|
||||
|
||||
## Customization
|
||||
|
||||
All sample data can be customized:
|
||||
|
||||
- Edit product descriptions
|
||||
- Adjust pricing
|
||||
- Change category structure
|
||||
- Modify custom fields
|
||||
- Update stock levels
|
||||
- Add/remove variants
|
||||
|
||||
## Database Tables
|
||||
|
||||
This data affects these VirtueMart tables:
|
||||
|
||||
- `#__virtuemart_categories`
|
||||
- `#__virtuemart_products`
|
||||
- `#__virtuemart_product_customfields`
|
||||
- `#__virtuemart_manufacturers`
|
||||
- `#__virtuemart_product_prices`
|
||||
- `#__virtuemart_product_medias`
|
||||
- And related tables
|
||||
|
||||
**Note:** `#__` represents your Joomla table prefix (usually `jos_` or similar)
|
||||
|
||||
## Data Structure
|
||||
|
||||
### Sample Product Structure
|
||||
```
|
||||
Product
|
||||
├── Basic Info (name, SKU, price)
|
||||
├── Description (short & full)
|
||||
├── Categories
|
||||
├── Custom Fields (size, color, etc.)
|
||||
├── Variants (if applicable)
|
||||
├── Images (multiple)
|
||||
├── Stock Level
|
||||
├── Pricing Rules
|
||||
└── Featured Status
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
**Import errors?**
|
||||
- Check table prefix in SQL files
|
||||
- Verify VirtueMart version compatibility
|
||||
- Ensure proper file order
|
||||
- Check database permissions
|
||||
|
||||
**Missing products?**
|
||||
- Clear VirtueMart cache
|
||||
- Rebuild product indexes
|
||||
- Check category visibility
|
||||
- Verify publish status
|
||||
|
||||
**Images not showing?**
|
||||
- Check file paths
|
||||
- Upload images to correct directory
|
||||
- Verify image permissions
|
||||
- Clear image cache
|
||||
|
||||
## Support
|
||||
|
||||
For issues with sample data:
|
||||
- Check VirtueMart documentation
|
||||
- Visit VirtueMart forums
|
||||
- Contact Moko Consulting support
|
||||
|
||||
## Warning
|
||||
|
||||
⚠️ **IMPORTANT**: This is sample data for demonstration purposes. Do NOT import into a production site with existing products unless you understand the implications. Always backup your database first!
|
||||
|
||||
## Version
|
||||
|
||||
Version: 1.0.0
|
||||
Last Updated: 2026-01-29
|
||||
Compatible with: VirtueMart 4.x, Joomla 4.x/5.x
|
||||
91
data/demo/virtuemart/categories.sql
Normal file
91
data/demo/virtuemart/categories.sql
Normal file
@@ -0,0 +1,91 @@
|
||||
-- VirtueMart Sample Categories
|
||||
-- Version: 1.0.0
|
||||
-- Compatible with: VirtueMart 4.x
|
||||
-- NOTE: Replace #__ with your actual Joomla table prefix (e.g., jos_)
|
||||
|
||||
-- Root Categories
|
||||
INSERT INTO `#__virtuemart_categories_en_gb` (`virtuemart_category_id`, `category_name`, `category_description`, `metadesc`, `metakey`, `slug`) VALUES
|
||||
(1, 'Electronics', '<p>Shop the latest electronics, computers, phones, and accessories.</p>', 'Electronics, computers, phones, tablets, accessories', 'electronics, technology, gadgets', 'electronics'),
|
||||
(2, 'Clothing & Apparel', '<p>Fashion for everyone - mens, womens, and kids clothing.</p>', 'Clothing, fashion, apparel, mens, womens, kids', 'clothing, fashion, apparel', 'clothing-apparel'),
|
||||
(3, 'Home & Garden', '<p>Everything for your home - furniture, decor, garden tools, and more.</p>', 'Home, garden, furniture, decor, tools', 'home, garden, furniture', 'home-garden'),
|
||||
(4, 'Sports & Outdoors', '<p>Gear up for adventure with sports equipment and outdoor essentials.</p>', 'Sports, outdoors, equipment, camping, fitness', 'sports, outdoors, fitness', 'sports-outdoors'),
|
||||
(5, 'Books & Media', '<p>Books, ebooks, audiobooks, and entertainment media.</p>', 'Books, ebooks, audiobooks, media, entertainment', 'books, media, reading', 'books-media');
|
||||
|
||||
-- Electronics Subcategories
|
||||
INSERT INTO `#__virtuemart_categories_en_gb` (`virtuemart_category_id`, `category_name`, `category_description`, `slug`) VALUES
|
||||
(10, 'Computers & Laptops', '<p>Desktop computers, laptops, and computer accessories.</p>', 'computers-laptops'),
|
||||
(11, 'Smartphones & Tablets', '<p>Latest smartphones, tablets, and mobile devices.</p>', 'smartphones-tablets'),
|
||||
(12, 'Audio & Headphones', '<p>Headphones, earbuds, speakers, and audio equipment.</p>', 'audio-headphones'),
|
||||
(13, 'Camera & Photography', '<p>Digital cameras, lenses, and photography accessories.</p>', 'camera-photography'),
|
||||
(14, 'TV & Video', '<p>Televisions, streaming devices, and video equipment.</p>', 'tv-video');
|
||||
|
||||
-- Clothing Subcategories
|
||||
INSERT INTO `#__virtuemart_categories_en_gb` (`virtuemart_category_id`, `category_name`, `category_description`, `slug`) VALUES
|
||||
(20, 'Mens Clothing', '<p>Mens shirts, pants, jackets, and accessories.</p>', 'mens-clothing'),
|
||||
(21, 'Womens Clothing', '<p>Womens dresses, tops, bottoms, and accessories.</p>', 'womens-clothing'),
|
||||
(22, 'Kids Clothing', '<p>Clothing for boys and girls of all ages.</p>', 'kids-clothing'),
|
||||
(23, 'Shoes & Footwear', '<p>Shoes, boots, sandals, and athletic footwear.</p>', 'shoes-footwear'),
|
||||
(24, 'Accessories', '<p>Bags, hats, scarves, jewelry, and fashion accessories.</p>', 'accessories');
|
||||
|
||||
-- Home & Garden Subcategories
|
||||
INSERT INTO `#__virtuemart_categories_en_gb` (`virtuemart_category_id`, `category_name`, `category_description`, `slug`) VALUES
|
||||
(30, 'Furniture', '<p>Living room, bedroom, dining, and office furniture.</p>', 'furniture'),
|
||||
(31, 'Home Decor', '<p>Wall art, lighting, rugs, and decorative items.</p>', 'home-decor'),
|
||||
(32, 'Kitchen & Dining', '<p>Cookware, dinnerware, and kitchen appliances.</p>', 'kitchen-dining'),
|
||||
(33, 'Garden & Outdoor', '<p>Garden tools, plants, patio furniture, and outdoor living.</p>', 'garden-outdoor'),
|
||||
(34, 'Home Improvement', '<p>Tools, hardware, and home improvement supplies.</p>', 'home-improvement');
|
||||
|
||||
-- Sports Subcategories
|
||||
INSERT INTO `#__virtuemart_categories_en_gb` (`virtuemart_category_id`, `category_name`, `category_description`, `slug`) VALUES
|
||||
(40, 'Fitness Equipment', '<p>Home gym equipment, weights, and fitness accessories.</p>', 'fitness-equipment'),
|
||||
(41, 'Team Sports', '<p>Equipment for football, basketball, baseball, and more.</p>', 'team-sports'),
|
||||
(42, 'Outdoor Recreation', '<p>Camping, hiking, and outdoor adventure gear.</p>', 'outdoor-recreation'),
|
||||
(43, 'Athletic Apparel', '<p>Sports clothing, activewear, and athletic shoes.</p>', 'athletic-apparel'),
|
||||
(44, 'Water Sports', '<p>Swimming, surfing, diving, and water sports equipment.</p>', 'water-sports');
|
||||
|
||||
-- Books Subcategories
|
||||
INSERT INTO `#__virtuemart_categories_en_gb` (`virtuemart_category_id`, `category_name`, `category_description`, `slug`) VALUES
|
||||
(50, 'Fiction', '<p>Novels, short stories, and literary fiction.</p>', 'fiction'),
|
||||
(51, 'Non-Fiction', '<p>Biographies, history, science, and educational books.</p>', 'non-fiction'),
|
||||
(52, 'Childrens Books', '<p>Books for babies, toddlers, kids, and young adults.</p>', 'childrens-books'),
|
||||
(53, 'Ebooks & Audiobooks', '<p>Digital books and audio formats.</p>', 'ebooks-audiobooks'),
|
||||
(54, 'Magazines & Journals', '<p>Periodicals, magazines, and academic journals.</p>', 'magazines-journals');
|
||||
|
||||
-- Category Hierarchy (parent-child relationships)
|
||||
INSERT INTO `#__virtuemart_categories` (`virtuemart_category_id`, `virtuemart_vendor_id`, `category_parent_id`, `ordering`, `published`) VALUES
|
||||
-- Root categories
|
||||
(1, 1, 0, 1, 1),
|
||||
(2, 1, 0, 2, 1),
|
||||
(3, 1, 0, 3, 1),
|
||||
(4, 1, 0, 4, 1),
|
||||
(5, 1, 0, 5, 1),
|
||||
-- Electronics subcategories
|
||||
(10, 1, 1, 1, 1),
|
||||
(11, 1, 1, 2, 1),
|
||||
(12, 1, 1, 3, 1),
|
||||
(13, 1, 1, 4, 1),
|
||||
(14, 1, 1, 5, 1),
|
||||
-- Clothing subcategories
|
||||
(20, 1, 2, 1, 1),
|
||||
(21, 1, 2, 2, 1),
|
||||
(22, 1, 2, 3, 1),
|
||||
(23, 1, 2, 4, 1),
|
||||
(24, 1, 2, 5, 1),
|
||||
-- Home & Garden subcategories
|
||||
(30, 1, 3, 1, 1),
|
||||
(31, 1, 3, 2, 1),
|
||||
(32, 1, 3, 3, 1),
|
||||
(33, 1, 3, 4, 1),
|
||||
(34, 1, 3, 5, 1),
|
||||
-- Sports subcategories
|
||||
(40, 1, 4, 1, 1),
|
||||
(41, 1, 4, 2, 1),
|
||||
(42, 1, 4, 3, 1),
|
||||
(43, 1, 4, 4, 1),
|
||||
(44, 1, 4, 5, 1),
|
||||
-- Books subcategories
|
||||
(50, 1, 5, 1, 1),
|
||||
(51, 1, 5, 2, 1),
|
||||
(52, 1, 5, 3, 1),
|
||||
(53, 1, 5, 4, 1),
|
||||
(54, 1, 5, 5, 1);
|
||||
103
data/demo/virtuemart/custom-fields.sql
Normal file
103
data/demo/virtuemart/custom-fields.sql
Normal file
@@ -0,0 +1,103 @@
|
||||
-- VirtueMart Custom Product Fields
|
||||
-- Version: 1.0.0
|
||||
-- These custom fields add additional product options like size, color, warranty, etc.
|
||||
|
||||
-- Custom Field Types
|
||||
INSERT INTO `#__virtuemart_customs` (`virtuemart_custom_id`, `custom_parent_id`, `virtuemart_vendor_id`, `custom_jplugin_id`, `custom_element`, `admin_only`, `custom_title`, `custom_tip`, `custom_value`, `custom_field_type`, `is_input`, `is_cart_attribute`, `is_list`, `custom_params`, `published`, `ordering`, `shared`, `created_on`, `modified_on`) VALUES
|
||||
-- Size selector
|
||||
(1, 0, 1, 0, '', 0, 'Size', 'Select your size', '', 'S', 1, 1, 1, '', 1, 1, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Color selector
|
||||
(2, 0, 1, 0, '', 0, 'Color', 'Choose your preferred color', '', 'S', 1, 1, 1, '', 1, 2, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Material type
|
||||
(3, 0, 1, 0, '', 0, 'Material', 'Product material', '', 'S', 0, 0, 0, '', 1, 3, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Warranty
|
||||
(4, 0, 1, 0, '', 0, 'Warranty', 'Warranty period', '', 'S', 0, 0, 0, '', 1, 4, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Delivery time
|
||||
(5, 0, 1, 0, '', 0, 'Delivery Time', 'Expected delivery timeframe', '', 'S', 0, 0, 0, '', 1, 5, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Gift wrap option
|
||||
(6, 0, 1, 0, '', 0, 'Gift Wrap', 'Add gift wrapping', '', 'B', 1, 1, 0, '', 1, 6, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Memory/Storage (for electronics)
|
||||
(7, 0, 1, 0, '', 0, 'Storage', 'Storage capacity', '', 'S', 1, 1, 1, '', 1, 7, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00');
|
||||
|
||||
-- Size Options
|
||||
INSERT INTO `#__virtuemart_customs` (`virtuemart_custom_id`, `custom_parent_id`, `virtuemart_vendor_id`, `custom_value`, `custom_price`, `published`, `ordering`) VALUES
|
||||
(10, 1, 1, 'XS', 0.00, 1, 1),
|
||||
(11, 1, 1, 'S', 0.00, 1, 2),
|
||||
(12, 1, 1, 'M', 0.00, 1, 3),
|
||||
(13, 1, 1, 'L', 0.00, 1, 4),
|
||||
(14, 1, 1, 'XL', 0.00, 1, 5),
|
||||
(15, 1, 1, 'XXL', 0.00, 1, 6);
|
||||
|
||||
-- Color Options
|
||||
INSERT INTO `#__virtuemart_customs` (`virtuemart_custom_id`, `custom_parent_id`, `virtuemart_vendor_id`, `custom_value`, `custom_price`, `published`, `ordering`) VALUES
|
||||
(20, 2, 1, 'Black', 0.00, 1, 1),
|
||||
(21, 2, 1, 'White', 0.00, 1, 2),
|
||||
(22, 2, 1, 'Blue', 0.00, 1, 3),
|
||||
(23, 2, 1, 'Red', 0.00, 1, 4),
|
||||
(24, 2, 1, 'Green', 0.00, 1, 5),
|
||||
(25, 2, 1, 'Gray', 0.00, 1, 6),
|
||||
(26, 2, 1, 'Navy', 0.00, 1, 7),
|
||||
(27, 2, 1, 'Brown', 0.00, 1, 8);
|
||||
|
||||
-- Storage Options (Electronics)
|
||||
INSERT INTO `#__virtuemart_customs` (`virtuemart_custom_id`, `custom_parent_id`, `virtuemart_vendor_id`, `custom_value`, `custom_price`, `published`, `ordering`) VALUES
|
||||
(30, 7, 1, '128GB', 0.00, 1, 1),
|
||||
(31, 7, 1, '256GB', 100.00, 1, 2),
|
||||
(32, 7, 1, '512GB', 200.00, 1, 3),
|
||||
(33, 7, 1, '1TB', 300.00, 1, 4);
|
||||
|
||||
-- Assign Custom Fields to Products
|
||||
-- Clothing products get Size and Color
|
||||
INSERT INTO `#__virtuemart_product_customfields` (`virtuemart_product_id`, `virtuemart_custom_id`, `ordering`, `published`) VALUES
|
||||
-- Men's Shirt
|
||||
(200, 1, 1, 1), -- Size
|
||||
(200, 2, 2, 1), -- Color
|
||||
-- Men's Jeans
|
||||
(201, 1, 1, 1), -- Size
|
||||
(201, 2, 2, 1), -- Color
|
||||
-- Women's Dress
|
||||
(202, 1, 1, 1), -- Size
|
||||
(202, 2, 2, 1), -- Color
|
||||
-- Women's Blouse
|
||||
(203, 1, 1, 1), -- Size
|
||||
(203, 2, 2, 1), -- Color
|
||||
-- Running Shoes
|
||||
(204, 1, 1, 1), -- Size
|
||||
(204, 2, 2, 1), -- Color
|
||||
-- Casual Shoes
|
||||
(205, 1, 1, 1), -- Size
|
||||
(205, 2, 2, 1); -- Color
|
||||
|
||||
-- Electronics products get Storage and Warranty
|
||||
INSERT INTO `#__virtuemart_product_customfields` (`virtuemart_product_id`, `virtuemart_custom_id`, `custom_value`, `ordering`, `published`) VALUES
|
||||
-- Laptops
|
||||
(100, 7, '512GB', 1, 1), -- Storage
|
||||
(100, 4, '2 Year Manufacturer Warranty', 2, 1), -- Warranty
|
||||
(101, 7, '256GB', 1, 1),
|
||||
(101, 4, '1 Year Manufacturer Warranty', 2, 1),
|
||||
-- Smartphones
|
||||
(102, 7, '128GB', 1, 1),
|
||||
(102, 2, '', 2, 1), -- Color option
|
||||
(102, 4, '1 Year Manufacturer Warranty', 3, 1),
|
||||
(103, 7, '256GB', 1, 1),
|
||||
(103, 2, '', 2, 1), -- Color option
|
||||
(103, 4, '1 Year Manufacturer Warranty', 3, 1);
|
||||
|
||||
-- Add Gift Wrap option to all products (optional)
|
||||
INSERT INTO `#__virtuemart_product_customfields` (`virtuemart_product_id`, `virtuemart_custom_id`, `custom_price`, `ordering`, `published`) VALUES
|
||||
(100, 6, 5.99, 99, 1),
|
||||
(101, 6, 5.99, 99, 1),
|
||||
(102, 6, 5.99, 99, 1),
|
||||
(103, 6, 5.99, 99, 1),
|
||||
(104, 6, 5.99, 99, 1),
|
||||
(105, 6, 5.99, 99, 1),
|
||||
(200, 6, 5.99, 99, 1),
|
||||
(201, 6, 5.99, 99, 1),
|
||||
(202, 6, 5.99, 99, 1),
|
||||
(203, 6, 5.99, 99, 1),
|
||||
(204, 6, 5.99, 99, 1),
|
||||
(205, 6, 5.99, 99, 1),
|
||||
(300, 6, 9.99, 99, 1),
|
||||
(301, 6, 5.99, 99, 1),
|
||||
(302, 6, 5.99, 99, 1),
|
||||
(303, 6, 5.99, 99, 1);
|
||||
21
data/demo/virtuemart/featured-products.sql
Normal file
21
data/demo/virtuemart/featured-products.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- VirtueMart Featured Products Configuration
|
||||
-- Version: 1.0.0
|
||||
-- Mark specific products as featured for homepage display
|
||||
|
||||
-- Featured Products
|
||||
-- Set product_special = 1 for featured items
|
||||
UPDATE `#__virtuemart_products` SET `product_special` = 1 WHERE `virtuemart_product_id` IN (
|
||||
102, -- Smartphone Pro 12
|
||||
104, -- Wireless Headphones Pro
|
||||
201, -- Slim Fit Jeans (on sale)
|
||||
203, -- Women's Casual Blouse
|
||||
301 -- Ergonomic Office Chair (on sale)
|
||||
);
|
||||
|
||||
-- Alternative: Create a featured products relation table if your VirtueMart version uses it
|
||||
-- INSERT INTO `#__virtuemart_product_featured` (`virtuemart_product_id`, `ordering`, `published`) VALUES
|
||||
-- (102, 1, 1),
|
||||
-- (104, 2, 1),
|
||||
-- (201, 3, 1),
|
||||
-- (203, 4, 1),
|
||||
-- (301, 5, 1);
|
||||
40
data/demo/virtuemart/manufacturers.sql
Normal file
40
data/demo/virtuemart/manufacturers.sql
Normal file
@@ -0,0 +1,40 @@
|
||||
-- VirtueMart Manufacturers/Brands Sample Data
|
||||
-- Version: 1.0.0
|
||||
|
||||
-- Sample Manufacturers
|
||||
INSERT INTO `#__virtuemart_manufacturers` (`virtuemart_manufacturer_id`, `virtuemart_vendor_id`, `mf_name`, `slug`, `mf_email`, `mf_url`, `published`, `ordering`, `created_on`, `modified_on`) VALUES
|
||||
(1, 1, 'TechBrand Inc.', 'techbrand-inc', 'info@techbrand.example', 'https://techbrand.example', 1, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(2, 1, 'StyleWear Co.', 'stylewear-co', 'contact@stylewear.example', 'https://stylewear.example', 1, 2, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(3, 1, 'HomeComfort', 'homecomfort', 'sales@homecomfort.example', 'https://homecomfort.example', 1, 3, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(4, 1, 'SportsPro', 'sportspro', 'info@sportspro.example', 'https://sportspro.example', 1, 4, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(5, 1, 'AudioTech', 'audiotech', 'support@audiotech.example', 'https://audiotech.example', 1, 5, '2026-01-29 00:00:00', '2026-01-29 00:00:00');
|
||||
|
||||
-- Manufacturer descriptions
|
||||
INSERT INTO `#__virtuemart_manufacturers_en_gb` (`virtuemart_manufacturer_id`, `mf_desc`, `metadesc`, `metakey`) VALUES
|
||||
(1, '<p>Leading technology manufacturer providing cutting-edge electronics and computer equipment.</p>', 'Technology manufacturer, electronics, computers', 'technology, electronics, computers'),
|
||||
(2, '<p>Fashion brand offering stylish and comfortable clothing for men, women, and children.</p>', 'Fashion brand, clothing, apparel', 'fashion, clothing, style'),
|
||||
(3, '<p>Home furniture and decor solutions for modern living spaces.</p>', 'Home furniture, decor, modern living', 'furniture, home, decor'),
|
||||
(4, '<p>Professional sports equipment and athletic gear for all levels.</p>', 'Sports equipment, athletic gear', 'sports, fitness, equipment'),
|
||||
(5, '<p>Premium audio equipment manufacturer specializing in headphones and speakers.</p>', 'Audio equipment, headphones, speakers', 'audio, headphones, sound');
|
||||
|
||||
-- Link Products to Manufacturers
|
||||
INSERT INTO `#__virtuemart_product_manufacturers` (`virtuemart_product_id`, `virtuemart_manufacturer_id`) VALUES
|
||||
-- Electronics
|
||||
(100, 1), -- Laptop by TechBrand
|
||||
(101, 1),
|
||||
(102, 1), -- Smartphone by TechBrand
|
||||
(103, 1),
|
||||
(104, 5), -- Headphones by AudioTech
|
||||
(105, 5),
|
||||
-- Clothing
|
||||
(200, 2), -- Shirt by StyleWear
|
||||
(201, 2),
|
||||
(202, 2),
|
||||
(203, 2),
|
||||
(204, 4), -- Shoes by SportsPro
|
||||
(205, 2),
|
||||
-- Home & Garden
|
||||
(300, 3), -- Furniture by HomeComfort
|
||||
(301, 3),
|
||||
(302, 3),
|
||||
(303, 3);
|
||||
58
data/demo/virtuemart/product-variants.sql
Normal file
58
data/demo/virtuemart/product-variants.sql
Normal file
@@ -0,0 +1,58 @@
|
||||
-- VirtueMart Product Variants (Child Products)
|
||||
-- Version: 1.0.0
|
||||
-- Create product variations for size, color, storage, etc.
|
||||
|
||||
-- Example: Smartphone with different storage capacities as child products
|
||||
-- Parent Product: Smartphone Pro 12 (102)
|
||||
|
||||
-- Child Products for Smartphone Pro 12
|
||||
INSERT INTO `#__virtuemart_products` (`virtuemart_product_id`, `virtuemart_vendor_id`, `product_parent_id`, `product_sku`, `product_gtin`, `product_mpn`, `product_weight`, `product_weight_uom`, `product_in_stock`, `low_stock_notification`, `product_available_date`, `product_special`, `published`, `created_on`) VALUES
|
||||
-- 128GB variant (this is the default already created as 102)
|
||||
-- 256GB variant
|
||||
(102256, 1, 102, 'PHONE-001-256', '1234567890225', 'PH-PRO-12-256', 0.19, 'kg', 75, 15, '2026-01-01 00:00:00', 1, 1, '2026-01-29 00:00:00'),
|
||||
-- 512GB variant
|
||||
(102512, 1, 102, 'PHONE-001-512', '1234567890325', 'PH-PRO-12-512', 0.19, 'kg', 60, 15, '2026-01-01 00:00:00', 1, 1, '2026-01-29 00:00:00');
|
||||
|
||||
-- Descriptions for variants
|
||||
INSERT INTO `#__virtuemart_products_en_gb` (`virtuemart_product_id`, `product_name`, `slug`) VALUES
|
||||
(102256, 'Smartphone Pro 12 - 256GB', 'smartphone-pro-12-256gb'),
|
||||
(102512, 'Smartphone Pro 12 - 512GB', 'smartphone-pro-12-512gb');
|
||||
|
||||
-- Pricing for variants
|
||||
INSERT INTO `#__virtuemart_product_prices` (`virtuemart_product_price_id`, `virtuemart_product_id`, `virtuemart_shoppergroup_id`, `product_price`, `product_currency`, `created_on`) VALUES
|
||||
(103, 102256, 0, 899.99, 47, '2026-01-29 00:00:00'),
|
||||
(104, 102512, 0, 999.99, 47, '2026-01-29 00:00:00');
|
||||
|
||||
-- Example: T-Shirt with different sizes and colors as variants
|
||||
-- Parent Product: Men's Shirt (200)
|
||||
|
||||
-- Color variants
|
||||
INSERT INTO `#__virtuemart_products` (`virtuemart_product_id`, `virtuemart_vendor_id`, `product_parent_id`, `product_sku`, `product_mpn`, `product_weight`, `product_weight_uom`, `product_in_stock`, `low_stock_notification`, `published`, `created_on`) VALUES
|
||||
-- White variant
|
||||
(200002, 1, 200, 'MENS-SHIRT-001-WHT', 'MS-CS-WHT-M', 0.3, 'kg', 45, 10, 1, '2026-01-29 00:00:00'),
|
||||
-- Black variant
|
||||
(200003, 1, 200, 'MENS-SHIRT-001-BLK', 'MS-CS-BLK-M', 0.3, 'kg', 55, 10, 1, '2026-01-29 00:00:00');
|
||||
|
||||
INSERT INTO `#__virtuemart_products_en_gb` (`virtuemart_product_id`, `product_name`, `slug`) VALUES
|
||||
(200002, 'Classic Men\'s Shirt - White', 'classic-mens-shirt-white'),
|
||||
(200003, 'Classic Men\'s Shirt - Black', 'classic-mens-shirt-black');
|
||||
|
||||
INSERT INTO `#__virtuemart_product_prices` (`virtuemart_product_price_id`, `virtuemart_product_id`, `virtuemart_shoppergroup_id`, `product_price`, `product_currency`, `created_on`) VALUES
|
||||
(105, 200002, 0, 49.99, 47, '2026-01-29 00:00:00'),
|
||||
(106, 200003, 0, 49.99, 47, '2026-01-29 00:00:00');
|
||||
|
||||
-- Link variants to same categories as parent
|
||||
INSERT INTO `#__virtuemart_product_categories` (`virtuemart_product_id`, `virtuemart_category_id`, `ordering`) VALUES
|
||||
(102256, 11, 3),
|
||||
(102512, 11, 4),
|
||||
(200002, 20, 3),
|
||||
(200003, 20, 4);
|
||||
|
||||
-- Variant attributes (size, color, etc.)
|
||||
INSERT INTO `#__virtuemart_product_customfields` (`virtuemart_product_id`, `virtuemart_custom_id`, `custom_value`, `ordering`, `published`) VALUES
|
||||
-- Smartphone variants get storage specification
|
||||
(102256, 7, '256GB', 1, 1),
|
||||
(102512, 7, '512GB', 1, 1),
|
||||
-- Shirt variants get color specification
|
||||
(200002, 2, 'White', 1, 1),
|
||||
(200003, 2, 'Black', 1, 1);
|
||||
103
data/demo/virtuemart/products.sql
Normal file
103
data/demo/virtuemart/products.sql
Normal file
@@ -0,0 +1,103 @@
|
||||
-- VirtueMart Sample Products
|
||||
-- Version: 1.0.0
|
||||
-- Compatible with: VirtueMart 4.x
|
||||
-- NOTE: Replace #__ with your actual Joomla table prefix
|
||||
|
||||
-- Sample Products (Electronics)
|
||||
INSERT INTO `#__virtuemart_products` (`virtuemart_product_id`, `virtuemart_vendor_id`, `product_sku`, `product_gtin`, `product_mpn`, `product_weight`, `product_weight_uom`, `product_length`, `product_width`, `product_height`, `product_lwh_uom`, `product_in_stock`, `product_ordered`, `low_stock_notification`, `product_available_date`, `product_availability`, `product_special`, `product_discontinued`, `product_sales`, `product_unit`, `product_packaging`, `product_params`, `published`, `created_on`, `modified_on`) VALUES
|
||||
-- Laptops
|
||||
(100, 1, 'LAPTOP-001', '1234567890123', 'LP-PRO-15', 2.5, 'kg', 35, 24, 2, 'cm', 50, 0, 10, '2026-01-01 00:00:00', '', 0, 0, 0, '', 1, '', 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(101, 1, 'LAPTOP-002', '1234567890124', 'LP-ULT-13', 1.8, 'kg', 30, 20, 1.5, 'cm', 35, 0, 10, '2026-01-01 00:00:00', '', 0, 0, 0, '', 1, '', 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Smartphones
|
||||
(102, 1, 'PHONE-001', '1234567890125', 'PH-PRO-12', 0.19, 'kg', 15, 7, 0.8, 'cm', 100, 0, 20, '2026-01-01 00:00:00', '', 1, 0, 0, '', 1, '', 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(103, 1, 'PHONE-002', '1234567890126', 'PH-MAX-14', 0.22, 'kg', 16, 7.5, 0.8, 'cm', 75, 0, 15, '2026-01-01 00:00:00', '', 0, 0, 0, '', 1, '', 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Headphones
|
||||
(104, 1, 'AUDIO-001', '1234567890127', 'HD-WL-PRO', 0.25, 'kg', 20, 18, 8, 'cm', 60, 0, 10, '2026-01-01 00:00:00', '', 0, 0, 0, '', 1, '', 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(105, 1, 'AUDIO-002', '1234567890128', 'EB-NC-300', 0.05, 'kg', 5, 5, 3, 'cm', 120, 0, 20, '2026-01-01 00:00:00', '', 0, 0, 0, '', 1, '', 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00');
|
||||
|
||||
-- Sample Products (Clothing)
|
||||
INSERT INTO `#__virtuemart_products` (`virtuemart_product_id`, `virtuemart_vendor_id`, `product_sku`, `product_gtin`, `product_mpn`, `product_weight`, `product_weight_uom`, `product_in_stock`, `product_ordered`, `low_stock_notification`, `product_available_date`, `product_special`, `product_discontinued`, `product_sales`, `published`, `created_on`, `modified_on`) VALUES
|
||||
-- Men's Clothing
|
||||
(200, 1, 'MENS-SHIRT-001', '2234567890123', 'MS-CS-BL-M', 0.3, 'kg', 50, 0, 10, '2026-01-01 00:00:00', 0, 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(201, 1, 'MENS-JEAN-001', '2234567890124', 'MJ-SL-IND-32', 0.6, 'kg', 40, 0, 8, '2026-01-01 00:00:00', 1, 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Women's Clothing
|
||||
(202, 1, 'WOMENS-DRESS-001', '2234567890125', 'WD-SUM-FL-M', 0.4, 'kg', 30, 0, 5, '2026-01-01 00:00:00', 0, 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(203, 1, 'WOMENS-TOP-001', '2234567890126', 'WT-BL-WHT-L', 0.2, 'kg', 60, 0, 10, '2026-01-01 00:00:00', 0, 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Shoes
|
||||
(204, 1, 'SHOE-RUN-001', '2234567890127', 'SR-AT-BLK-10', 0.8, 'kg', 45, 0, 10, '2026-01-01 00:00:00', 0, 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(205, 1, 'SHOE-CAS-001', '2234567890128', 'SC-WK-BRN-9', 0.9, 'kg', 35, 0, 8, '2026-01-01 00:00:00', 0, 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00');
|
||||
|
||||
-- Sample Products (Home & Garden)
|
||||
INSERT INTO `#__virtuemart_products` (`virtuemart_product_id`, `virtuemart_vendor_id`, `product_sku`, `product_gtin`, `product_weight`, `product_weight_uom`, `product_in_stock`, `product_ordered`, `low_stock_notification`, `product_available_date`, `product_special`, `product_discontinued`, `published`, `created_on`, `modified_on`) VALUES
|
||||
-- Furniture
|
||||
(300, 1, 'FURN-SOFA-001', '3334567890123', 45, 'kg', 10, 0, 2, '2026-01-01 00:00:00', 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(301, 1, 'FURN-CHAIR-001', '3334567890124', 12, 'kg', 25, 0, 5, '2026-01-01 00:00:00', 1, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Kitchen
|
||||
(302, 1, 'KITCHEN-BLEND-001', '3334567890125', 3.5, 'kg', 40, 0, 8, '2026-01-01 00:00:00', 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(303, 1, 'KITCHEN-COFFEE-001', '3334567890126', 5, 'kg', 30, 0, 5, '2026-01-01 00:00:00', 0, 0, 1, '2026-01-29 00:00:00', '2026-01-29 00:00:00');
|
||||
|
||||
-- Product Descriptions (English)
|
||||
INSERT INTO `#__virtuemart_products_en_gb` (`virtuemart_product_id`, `product_name`, `product_s_desc`, `product_desc`, `slug`, `metadesc`, `metakey`) VALUES
|
||||
-- Electronics
|
||||
(100, 'Professional Laptop 15"', '<p>High-performance laptop for professionals and creators.</p>', '<p>Experience unmatched performance with our Professional Laptop featuring a 15" display, powerful processor, and all-day battery life. Perfect for work, creative projects, and entertainment.</p><ul><li>15.6" Full HD Display</li><li>16GB RAM</li><li>512GB SSD</li><li>Latest generation processor</li><li>All-day battery life</li><li>Backlit keyboard</li></ul>', 'professional-laptop-15', 'Professional laptop, 15 inch, high performance', 'laptop, computer, professional, work'),
|
||||
(101, 'Ultralight Laptop 13"', '<p>Portable powerhouse for on-the-go productivity.</p>', '<p>Take your work anywhere with this ultra-portable 13" laptop. Weighing just 1.8kg, it delivers impressive performance without compromising portability.</p><ul><li>13.3" Retina Display</li><li>8GB RAM</li><li>256GB SSD</li><li>Lightweight design</li><li>12-hour battery</li><li>Fast charging</li></ul>', 'ultralight-laptop-13', 'Ultralight laptop, portable, 13 inch', 'laptop, ultralight, portable, travel'),
|
||||
(102, 'Smartphone Pro 12', '<p>Flagship smartphone with cutting-edge features.</p>', '<p>Capture stunning photos, enjoy smooth performance, and stay connected with our most advanced smartphone yet.</p><ul><li>6.5" OLED Display</li><li>Triple camera system</li><li>128GB Storage</li><li>5G connectivity</li><li>All-day battery</li><li>Water resistant</li></ul>', 'smartphone-pro-12', 'Flagship smartphone, 5G, triple camera', 'smartphone, 5G, mobile, phone'),
|
||||
(103, 'Smartphone Max 14', '<p>The ultimate smartphone experience.</p>', '<p>Larger display, bigger battery, and enhanced camera system make this our most capable smartphone.</p><ul><li>6.8" ProMotion Display</li><li>256GB Storage</li><li>Pro camera system</li><li>5G Ultra Wideband</li><li>Extended battery life</li></ul>', 'smartphone-max-14', 'Premium smartphone, large display, pro camera', 'smartphone, premium, large, camera'),
|
||||
(104, 'Wireless Headphones Pro', '<p>Premium wireless headphones with active noise cancellation.</p>', '<p>Immerse yourself in pure sound with industry-leading noise cancellation and premium audio quality.</p><ul><li>Active Noise Cancellation</li><li>30-hour battery life</li><li>Premium sound quality</li><li>Comfortable fit</li><li>Quick charge</li></ul>', 'wireless-headphones-pro', 'Wireless headphones, noise cancellation', 'headphones, wireless, noise cancelling'),
|
||||
(105, 'Noise Cancelling Earbuds', '<p>Compact earbuds with powerful sound.</p>', '<p>Experience true wireless freedom with these compact earbuds featuring active noise cancellation.</p><ul><li>Active Noise Cancellation</li><li>8-hour battery (24h with case)</li><li>IPX4 water resistance</li><li>Touch controls</li><li>Crystal clear calls</li></ul>', 'noise-cancelling-earbuds', 'Earbuds, wireless, noise cancelling', 'earbuds, wireless, compact'),
|
||||
-- Clothing
|
||||
(200, 'Classic Men\'s Shirt - Blue', '<p>Timeless style meets modern comfort.</p>', '<p>Premium cotton shirt perfect for work or casual occasions. Classic fit with modern details.</p><ul><li>100% Premium Cotton</li><li>Wrinkle-resistant</li><li>Button-down collar</li><li>Available in multiple sizes</li><li>Machine washable</li></ul>', 'classic-mens-shirt-blue', 'Mens dress shirt, blue, cotton', 'shirt, mens, dress, casual'),
|
||||
(201, 'Slim Fit Jeans - Indigo', '<p>Modern slim fit denim for everyday wear.</p>', '<p>Comfortable stretch denim in a modern slim fit. Perfect for any occasion.</p><ul><li>Stretch denim</li><li>Slim fit</li><li>Five-pocket design</li><li>Available sizes 28-40</li><li>Durable construction</li></ul>', 'slim-fit-jeans-indigo', 'Mens jeans, slim fit, indigo', 'jeans, mens, slim fit, denim'),
|
||||
(202, 'Summer Floral Dress', '<p>Light and breezy summer dress.</p>', '<p>Perfect for warm weather, this floral dress combines style and comfort effortlessly.</p><ul><li>Lightweight fabric</li><li>Floral print</li><li>Comfortable fit</li><li>Available in S-XL</li><li>Easy care</li></ul>', 'summer-floral-dress', 'Womens dress, summer, floral', 'dress, womens, summer, floral'),
|
||||
(203, 'Women\'s Casual Blouse', '<p>Versatile blouse for any occasion.</p>', '<p>Elegant yet casual, this blouse pairs well with jeans or skirts.</p><ul><li>Soft fabric</li><li>Relaxed fit</li><li>Button front</li><li>Available in S-XL</li><li>Multiple colors</li></ul>', 'womens-casual-blouse', 'Womens blouse, casual, white', 'blouse, womens, top, casual'),
|
||||
(204, 'Athletic Running Shoes', '<p>Performance running shoes for serious athletes.</p>', '<p>Engineered for speed and comfort with responsive cushioning and breathable upper.</p><ul><li>Lightweight construction</li><li>Responsive cushioning</li><li>Breathable mesh</li><li>Sizes 7-13</li><li>Multiple colorways</li></ul>', 'athletic-running-shoes', 'Running shoes, athletic, performance', 'shoes, running, athletic, sports'),
|
||||
(205, 'Casual Walking Shoes', '<p>All-day comfort for casual wear.</p>', '<p>Perfect for everyday wear with superior comfort and classic style.</p><ul><li>Comfortable insole</li><li>Durable outsole</li><li>Classic design</li><li>Sizes 7-13</li><li>Easy to clean</li></ul>', 'casual-walking-shoes', 'Casual shoes, walking, comfortable', 'shoes, casual, walking, comfort'),
|
||||
-- Home & Garden
|
||||
(300, 'Modern 3-Seater Sofa', '<p>Contemporary comfort for your living room.</p>', '<p>Stylish and comfortable sofa with premium upholstery and sturdy construction.</p><ul><li>Seats 3 people</li><li>Premium fabric</li><li>Solid wood frame</li><li>Available colors</li><li>Easy assembly</li></ul>', 'modern-3-seater-sofa', 'Sofa, 3-seater, modern, living room', 'sofa, furniture, living room'),
|
||||
(301, 'Ergonomic Office Chair', '<p>Comfort and support for long work days.</p>', '<p>Adjustable ergonomic chair designed for all-day comfort and productivity.</p><ul><li>Lumbar support</li><li>Adjustable height</li><li>Breathable mesh</li><li>360° swivel</li><li>Weight capacity 300lbs</li></ul>', 'ergonomic-office-chair', 'Office chair, ergonomic, adjustable', 'chair, office, ergonomic, desk'),
|
||||
(302, 'High-Speed Blender', '<p>Professional-grade blending power.</p>', '<p>Powerful blender for smoothies, soups, and more. Variable speed control and durable construction.</p><ul><li>1000W motor</li><li>Variable speed</li><li>64oz pitcher</li><li>Stainless steel blades</li><li>Easy to clean</li></ul>', 'high-speed-blender', 'Blender, high speed, kitchen', 'blender, kitchen, appliance'),
|
||||
(303, 'Programmable Coffee Maker', '<p>Wake up to fresh brewed coffee.</p>', '<p>Program your perfect cup with this feature-rich coffee maker. Brew up to 12 cups.</p><ul><li>12-cup capacity</li><li>Programmable timer</li><li>Auto shutoff</li><li>Pause and serve</li><li>Permanent filter</li></ul>', 'programmable-coffee-maker', 'Coffee maker, programmable, 12 cup', 'coffee, maker, kitchen, appliance');
|
||||
|
||||
-- Product Prices
|
||||
INSERT INTO `#__virtuemart_product_prices` (`virtuemart_product_price_id`, `virtuemart_product_id`, `virtuemart_shoppergroup_id`, `product_price`, `product_override_price`, `product_tax_id`, `product_discount_id`, `product_currency`, `price_quantity_start`, `price_quantity_end`, `created_on`, `modified_on`) VALUES
|
||||
-- Electronics Prices
|
||||
(1, 100, 0, 899.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(2, 101, 0, 699.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(3, 102, 0, 799.99, 699.99, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(4, 103, 0, 999.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(5, 104, 0, 349.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(6, 105, 0, 199.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Clothing Prices
|
||||
(7, 200, 0, 49.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(8, 201, 0, 79.99, 59.99, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(9, 202, 0, 89.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(10, 203, 0, 39.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(11, 204, 0, 129.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(12, 205, 0, 89.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
-- Home & Garden Prices
|
||||
(13, 300, 0, 599.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(14, 301, 0, 249.99, 199.99, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(15, 302, 0, 149.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00'),
|
||||
(16, 303, 0, 79.99, 0, 0, 0, 47, 0, 0, '2026-01-29 00:00:00', '2026-01-29 00:00:00');
|
||||
|
||||
-- Link Products to Categories
|
||||
INSERT INTO `#__virtuemart_product_categories` (`id`, `virtuemart_product_id`, `virtuemart_category_id`, `ordering`) VALUES
|
||||
-- Electronics
|
||||
(1, 100, 10, 1),
|
||||
(2, 101, 10, 2),
|
||||
(3, 102, 11, 1),
|
||||
(4, 103, 11, 2),
|
||||
(5, 104, 12, 1),
|
||||
(6, 105, 12, 2),
|
||||
-- Clothing
|
||||
(7, 200, 20, 1),
|
||||
(8, 201, 20, 2),
|
||||
(9, 202, 21, 1),
|
||||
(10, 203, 21, 2),
|
||||
(11, 204, 23, 1),
|
||||
(12, 205, 23, 2),
|
||||
-- Home & Garden
|
||||
(13, 300, 30, 1),
|
||||
(14, 301, 30, 2),
|
||||
(15, 302, 32, 1),
|
||||
(16, 303, 32, 2);
|
||||
36
data/demo/virtuemart/stock-management.sql
Normal file
36
data/demo/virtuemart/stock-management.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
-- VirtueMart Stock Management Sample Data
|
||||
-- Version: 1.0.0
|
||||
-- Configure stock levels, tracking, and low stock notifications
|
||||
|
||||
-- Update stock levels (already set in products.sql, but here for reference)
|
||||
-- Low stock products (for testing notifications)
|
||||
UPDATE `#__virtuemart_products` SET
|
||||
`product_in_stock` = 5,
|
||||
`low_stock_notification` = 10
|
||||
WHERE `virtuemart_product_id` = 300; -- Sofa (low stock)
|
||||
|
||||
UPDATE `#__virtuemart_products` SET
|
||||
`product_in_stock` = 8,
|
||||
`low_stock_notification` = 15
|
||||
WHERE `virtuemart_product_id` = 103; -- Smartphone Max
|
||||
|
||||
-- Out of stock examples (for testing)
|
||||
-- UPDATE `#__virtuemart_products` SET
|
||||
-- `product_in_stock` = 0,
|
||||
-- `product_availability` = 'Out of Stock - Ships in 2-3 weeks'
|
||||
-- WHERE `virtuemart_product_id` = 999;
|
||||
|
||||
-- Stock notification settings (global configuration)
|
||||
-- These would typically be set in VirtueMart configuration, not via SQL
|
||||
-- But included here for reference
|
||||
|
||||
-- Stock history tracking (if enabled)
|
||||
-- INSERT INTO `#__virtuemart_product_stock_history` (`virtuemart_product_id`, `stock_level`, `stock_change`, `reason`, `user_id`, `created_on`) VALUES
|
||||
-- (100, 50, 0, 'Initial stock', 1, '2026-01-29 00:00:00'),
|
||||
-- (101, 35, 0, 'Initial stock', 1, '2026-01-29 00:00:00');
|
||||
|
||||
-- Inventory tracking by warehouse (if multi-warehouse is enabled)
|
||||
-- INSERT INTO `#__virtuemart_product_warehouses` (`virtuemart_product_id`, `virtuemart_warehouse_id`, `stock_level`) VALUES
|
||||
-- (100, 1, 30), -- Main warehouse
|
||||
-- (100, 2, 20), -- Secondary warehouse
|
||||
-- (101, 1, 35);
|
||||
@@ -8,7 +8,7 @@
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-GB/tpl_moko-cassiopeia.sys.ini
|
||||
; VERSION: 03.05.00
|
||||
; VERSION: 03.06.01
|
||||
; BRIEF: English (GB) system language strings for template metadata and installer
|
||||
;
|
||||
TPL_MOKO-CASSIOPEIA="Moko-Cassiopeia Site template"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-US/tpl_moko-cassiopeia.sys.ini
|
||||
; VERSION: 03.05.00
|
||||
; VERSION: 03.06.01
|
||||
; BRIEF: English (US) system language strings for template metadata and installer
|
||||
;
|
||||
TPL_MOKO-CASSIOPEIA="Moko-Cassiopeia Site template"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-GB/tpl_moko-cassiopeia.ini
|
||||
; VERSION: 03.05.00
|
||||
; VERSION: 03.06.01
|
||||
; BRIEF: English (GB) language strings for the Moko-Cassiopeia Joomla template
|
||||
;
|
||||
; ===== Template meta =====
|
||||
@@ -57,8 +57,8 @@ TPL_MOKO-CASSIOPEIA_LOGO_LABEL="Logo"
|
||||
TPL_MOKO-CASSIOPEIA_TITLE="Title (alternative to logo)"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_LABEL="Tagline"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_DESC="Optional text to show as a subheading"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_LABEL="Font Awesome Kit Unique Code"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_DESC="<i>If left blank, Font Awesome 7 Free will be used.</i><br>Copy the unique Kit embed code above and paste it into the <head> of your project's HTML file or template.<br><a href='https://fontawesome.com/' target='_blank'>More information at the Font Awesome website.</a>"
|
||||
TPL_MOKO-CASSIOPEIA_FA6KITCODE_LABEL="Font Awesome Kit Unique Code"
|
||||
TPL_MOKO-CASSIOPEIA_FA6KITCODE_DESC="<i>If left blank, Font Awesome 7 Free will be used.</i><br>Copy the unique Kit embed code above and paste it into the <head> of your project's HTML file or template.<br><a href='https://fontawesome.com/' target='_blank'>More information at the Font Awesome website.</a>"
|
||||
|
||||
; ===== Typography (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_FONT_LABEL="Fonts Scheme"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-US/tpl_moko-cassiopeia.ini
|
||||
; VERSION: 03.05.00
|
||||
; VERSION: 03.06.01
|
||||
; BRIEF: English (US) language strings for the Moko-Cassiopeia Joomla template
|
||||
;
|
||||
; ===== Template meta =====
|
||||
@@ -57,8 +57,8 @@ TPL_MOKO-CASSIOPEIA_LOGO_LABEL="Logo"
|
||||
TPL_MOKO-CASSIOPEIA_TITLE="Title (alternative to logo)"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_LABEL="Tagline"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_DESC="Optional text to show as a subheading"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_LABEL="Font Awesome Kit Unique Code"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_DESC="<i>If left blank, Font Awesome 7 Free will be used.</i><br>Copy the unique Kit embed code above and paste it into the <head> of your project's HTML file or template.<br><a href='https://fontawesome.com/' target='_blank'>More information at the Font Awesome website.</a>"
|
||||
TPL_MOKO-CASSIOPEIA_FA6KITCODE_LABEL="Font Awesome Kit Unique Code"
|
||||
TPL_MOKO-CASSIOPEIA_FA6KITCODE_DESC="<i>If left blank, Font Awesome 7 Free will be used.</i><br>Copy the unique Kit embed code above and paste it into the <head> of your project's HTML file or template.<br><a href='https://fontawesome.com/' target='_blank'>More information at the Font Awesome website.</a>"
|
||||
|
||||
; ===== Typography (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_FONT_LABEL="Fonts Scheme"
|
||||
|
||||
@@ -116,6 +116,8 @@ try {
|
||||
|
||||
// Scripts
|
||||
$wa->useScript('template.js');
|
||||
$wa->useScript('theme-init.js');
|
||||
$wa->useScript('darkmode-toggle.js');
|
||||
|
||||
/**
|
||||
* VirtueMart detection:
|
||||
|
||||
Reference in New Issue
Block a user