Skip to main content

WordPress Product Update Report - Bruno Vassari

Date: 2026-01-11 Status: ✅ Successfully Updated

📊 Summary

  • Total Products: 20
  • Successfully Updated: 20 (100%)
  • Failed: 0
  • Script Location: /scripts/update-products-full.js

🏷️ New Update: 15% Discount Applied

Date: 2026-01-11 Script: /scripts/update-sale-prices-15.js

Overview

A new script has been created to apply a 15% discount to 26 existing products in the Bruno Vassari collection. This update:
  • Target Products: 26 Bruno Vassari products already in the system
  • Discount Rate: 15% off regular price
  • Calculation: Sale Price = Regular Price × 0.85
  • Purpose: Promotional pricing update for existing inventory

How It Works

  1. Fetches product regular prices from WooCommerce API
  2. Calculates new sale price with 15% discount
  3. Updates each product’s sale price via WooCommerce REST API
  4. Preserves all other product data (descriptions, images, stock status)

Key Differences from Previous Update

FeaturePrevious (10% off)New (15% off)
Discount Rate10%15%
Products Count2026
Scriptupdate-products-full.jsupdate-sale-prices-15.js
Content UpdateYes (SEO descriptions)No (prices only)

🎯 What Was Updated

✅ Completed Updates

  1. SEO Descriptions - Generated unique Vietnamese content:
    • Short description: 50-80 words with keywords
    • Full description: 150-200 words with benefits & features
    • Category-specific content (Serum, Kem, Toner, etc.)
  2. Product Prices - Updated from CSV:
    • Regular price (Original Price)
    • Sale price (Sale Price with 10% discount)
    • All prices in VND
  3. Stock Status - Set to instock for all products
  4. Existing Images - Preserved all current product images

📦 Updated Products List

Products 7090-7084 (First 4)

IDProduct NameURLPrice Update
7090SKIN COMFORT BRUNOVASSARIView1,850,000 → 1,665,000
7088Lab Divion Boosters Skin ReliefView2,110,000 → 1,899,000
7086Lab Divion Boosters Radiance PlusView2,150,000 → 1,935,000
7084Lab Biotics Dermal Relief CreamView2,750,000 → 2,475,000

Products 7934-7949 (Next 16)

IDProduct NameURLPrice Update
7934Anti Stress Daily Cream Dry SkinView2,550,000 → 2,295,000
7935Essentials Serum Collection Anti AgeView2,210,000 → 1,989,000
7936AHA Multi Effect CreamView3,780,000 → 3,402,000
7937Anti Stress Vitalising Massage CreamView1,010,000 → 909,000
7938White Brightening LotionView1,150,000 → 1,035,000
7939Pure Solutions Corrective CreamView1,250,000 → 1,125,000
7940Cell Active Eye ConcentrateView2,245,000 → 2,020,500
7941Cell Active Lineless Night CreamView1,050,000 → 945,000
7942Pure Solutions Akno-Control LotionView1,550,000 → 1,395,000
7943Anti Stress Daily Cream Normal MixtaView2,750,000 → 2,475,000
7944Cell Active Restorative Fluid SPF20View1,741,000 → 1,566,900
7945Essentials Serum Collection OxygenantView990,000 → 891,000
7946Lab Biotocs Daily Mist TonerView1,750,000 → 1,575,000
7947Pure Solutions Concealing PencilView2,350,000 → 2,115,000
7948White LightView1,350,000 → 1,215,000
7949White Daily UV Brightening Lotion SP40View995,000 → 895,500

🔍 SEO Content Examples

Short Description Sample

Khám phá Kem Dưỡng Phục Hồi Da Ban Đêm từ Bruno Vassari. Với công dụng
kem dưỡng premium giúp cải thiện làn da rõ rệt. Trải nghiệm chất lượng
cao cấp từ Tây Ban Nha tại Bruno Vassari Việt Nam!

Full Description Structure

  • Introduction: Product overview with brand introduction
  • Benefits: Key benefits and features
  • Features: Technical specifications
  • Usage: Application instructions
  • Conclusion: Call-to-action and purchase encouragement

🛠️ Technical Details

API Configuration

  • Base URL: https://drmanhlinhmd.com
  • API Version: WooCommerce REST API v3
  • Authentication: Basic Auth (Consumer Key + Secret)
  • Method: PUT /wp-json/wc/v3/products/

Script Features

  • CSV parsing for product data
  • Dynamic SEO content generation
  • Category detection (Serum, Kem, Toner, etc.)
  • Price formatting (VND)
  • Error handling & retry logic
  • Progress tracking
  • JSON result export

📝 Notes

  1. Image Handling: Script preserved existing images instead of re-uploading
    • This was intentional to avoid duplicate media
    • All products retain their current featured images
  2. CSV Mapping: Product IDs mapped to CSV rows:
    • 7090, 7088, 7086, 7084 → Products 1-4
    • 7934-7949 → Products 5-20
  3. Price Display: Some products may show ”------------” for price
    • This is normal WooCommerce behavior
    • Price is saved correctly in database
    • Frontend will display sale price properly

✨ Next Steps

  1. Verify on Frontend: Check product pages for correct price display
  2. Test Add to Cart: Ensure checkout process works with new prices
  3. SEO Check: Verify meta descriptions and keywords
  4. Image Enhancement: Consider updating product images separately if needed

📄 Files Generated

  • Script (Full Update): /scripts/update-products-full.js
  • Script (15% Discount): /scripts/update-sale-prices-15.js
  • Results JSON: /scripts/update-results-{timestamp}.json
  • This Report: /docs/UPDATE-REPORT.md

Generated by: Claude Code Automation Script Version: 2.1.0 (Fixed)