WooCommerce sync product stock between products [closed]

In my store, we sell belts and they have a Buckle which is counted in inventory.

The thing is that two belts can have one buckle.

The buckle is a separate Variation product I made.

I was wondering if it’s possible to sync the stock between the belts that use a specific variation of the Buckle.

For example:

If buckle No. 1 is out of stock, all belt using it are automatically out of stock.

Is this possible? I’ve tried chained products, but the problem here is that they still show up in the product catalog.

Data Schema For Stock Control / Multi Source Inventory

I’m working on a project that involves stock control with multiple stock sources and sales channels. The overall hierarchy I’ve got so far looks like this;

Sales Channels <---- Allocated Stock Sources <---- Stock Locations (warehouses) <--- Stock Sub Locations <---- Shelf / Bin Locations 

As far as rules go for how these entities relate to each other I’ve come up with this;

The system must have one or more sales channels, each sales channel must have 1 or more stock sources, a stock source must have 1 or more stock locations (warehouses / buildings / distribution centres ), a stock location may have 1 or more Bin/Shelf locations.

A product may have 1 or more stock locations, may have one or more sub locations in those stock locations and may have one or more Shelf / Bin location.

First off, is this a solved problem where some reference schema exists I could utilise and save myself some headaches?

If there isn’t a reference design for this situation, Am I best to build a 1 to Many relationship to assign stock to a sub location(s) and another 1 to Many relationship for Shelf Locations (if exists)

woocommerce adding specific out of stock product directly to checkout [closed]

i have two types of products in my store , one is in stock products and the other one is on request product. On request product is set as out of stock . If a user needs an on request product he will will give a request , then from backend we will approve the request then in the oser account page we will give an proceed to checkout button which is an direct checkout . The issue is if i added the product to checkout page like this( Domainname/checkout/?add-to-cart=product id ) iam getting an error message like this(You cannot add “product 1” to the cart because the product is out of stock).

for checking the validation i have used the woocommerce_add_to_cart_validation hook but its only working if any of product is there in cart .

Showing out of stock WooCommerce products with ‘out of stock’ hidden on the catalog

Is there a method to show out of stock WooCommerce products with a shortcode when you have out of stock items ‘hidden’ on the catalog?

The below snippet works nicely as a shortcode to show out of stock items (credit: BusinessBloomer) but only when the out of stock items are VISIBLE on the catalog setting is on. I want to hide out of stock on the archives/shop, but add them to some blog posts via shortcode.

add_shortcode( 'out_of_stock_products', 'bbloomer_out_of_stock_products_shortcode' );  function bbloomer_out_of_stock_products_shortcode() {     $  args = array(       'post_type' => 'product',       'posts_per_page' => -1,       'post_status' => 'publish',       'meta_query' => array(          array(             'key' => '_stock_status',             'value' => 'outofstock',          )       ),       'fields' => 'ids',    );     $  product_ids = get_posts( $  args );     $  product_ids = implode( ",", $  product_ids );     return do_shortcode("[products ids='$  product_ids']");  }

WordPress – Flatsome – Woocommerce – Display in stock size on catalog product image

I’ve developped my ecommerce website using flatsome and woocommerce, i’m very happy with the theme but I don’t know how to add my variant (size) on the image of the product catalog.

For exemple : enter image description here

I’ve found a way to display the variant below the product title like this : Display WooCommerce only in stock sizes product attribute on shop page

But not on the image itself.

Any suggestion on how to do this ?

Many thanks, Guillaume

125A 4P Molded Case Circuit Breaker in stock

About us  
Zhejiang Safesave Electrical Technology Co., Ltd was invested and build by Shanghai Shuen Electrical Technology Co., Ltd. Safesave focuses on high- voltage and low-voltage electrical equipment, electrical complete units and industrial automation devices. Our products have been applied to some national key projects such as Shanghai World Expo, Beijing Olympic stadiums, South–to-North Water Division Project, Pudong international airport. Meanwhile , the factory was titled as a high-technology enterprise, science and technology enterprise, software enterprise, advanced enterprise in quality management, etc.
Our company cooperates with the partners from outstanding university research units such as Mechanical and Electrical Engineering and Automation Academy of Shanghai University, Information and Technology Academy of Fudan University. After the reorganization, the factory will do further research and manufacturing in high-end industrial automation equipment on the basis of previous achievement in the field of soft starter and variable frequency drive.
Brief Company’s Developing History  
In 2000——The first thyristor motor soft starter was developed with independent research, making our company one of the earliest manufacturers of the soft starter in China;
In 2003——The factory was moved to Shanghai;
In 2005——The second generation of intelligent soft starter and the variable frequency drive were certified as Shanghai new and high technology transformation achievements;
In 2006——Identified as Shanghai high-tech enterprise;
In 2007——A new generation of vector variable frequency drive was put into large-scale production;
Moved into Caohejing Economic and Technological Development Zone of Shanghai City
In 2008——Products were applied to the swimming center and shooting center of Beijing Olympic Games in batches.
In 2010——Production was applied in Shanghai World Expo;
Build up cooperation relationship with Fudan university optoelectronic department and Organize the photovoltaic inverter research laboratory.
In 2014——Regrouped and moved to Songjiang national economic and technological development zone of Shanghai City;
Build up strategic cooperation relationship with Chint Group and Delix Group, and became the sole official supplier of the core inverting components of EPS power products for the two groups.
In 2015——SY9000 devises were successfully developed and put into trial-production;
Meanwhile, the professional research team of servo motor and servo controller were organized.
In 2016——A new setting-free, quick-start, compacted, foolproof soft starters named SJR3—N has been developed successfully and put into trial-production.
Safesave’s Culture  
To create a greener world with our safe and energy-saving technology.
To be a happy corporation benefiting human society.
Gratitude: Thankfulness for God’s grace, team cooperation and clients’ trust.
Credibility: Fruitful promise and resultful action.
Dedication: Persistence in seeking for professional perfection.
Teamwork: A promotive spirit of sharing, cherishing , cooperation and positive mutual influence .
Responsibility:Courage of taking responsibility for whatever result with no excuse.
Passion: Full energy and fighting will.
Learning: Consistent learning of professional skills to gain efficient working ability.
Innovation: A force to change the backward and lead the market.
Sharing: Growth in what we share.
The R&D Team  
1.Structure of the R &D Center
The R&D center of Zhejiang Saikong Electrical Technology consists of three sections, namely, Electronic Design( systematic analysis and electronic circuits), Structural Design(heat dissipation design, configuration design), and Measurement and Verification(simulation and analysis, test and verification)
The R &D center has an experienced research and development team, working closely with Scientific Research Departments of the Institute of Mechanical and Electrical Engineering and Automation of Shanghai University, the Science and Technology Institute, and the Information Technology Department of Fudan University.
With years of efforts, Saikong has developed more than 100 models of 10 series of products by our outstanding talents and technology.
2.Business range & Achievements in recently years.
The R &D center’s design mainly covers two areas: power electronics; energy-saving and emission-reduction. Main products includes mid-low voltage soft starter, mid-low voltage frequency converter, AC servo controller,servo motor, etc.
During the years from 2013 to 2016, the R &D center has successfully developed SST type of intelligent soft starter with built-in bypass, SJR3 series of intelligent soft starter, 5000 type of online intelligent soft starter with built-in bypass, SN-100G series, SY9000 series of open loop vector inverter, G5 series of closed-loop vector inverter, SN-200G series of closed-loop vector inverter, waterproof type of inverter, EPS uninterruptible power supply, permanent magnet synchronous motor and etc., totally more than 100 models of 10 series of products. Meanwhile, we have completed the corresponding CAPP system of computer aided process planning , sound product database and process documents, etc.of each series of products.
Meanwhile, the center has applied for over twenty technical patents, including 4 invention patents, 14 patents of new utility models, 6 structure patents, 3 software copyright patents. Up until the end of 2016, 3 of our new invention patents have been publicly announced and are to be approved.
In recent years , led by a trend of miniaturization, intelligence, networking, and profession in product development, a batch of new high-tech products have been developed in succession, such as SST type of intelligent soft starter , 5000 type of online intelligent soft starter, SN-200G series of closed-loop vector inverter, which has greatly raised the popularity and reputation of our company in this field. Along with increasing application of our products in the fields of manufacturing, elevatoring, hoisting, machine tooling, printing&packaging, textile&chemical fibre, constructuring, metallurgy, mining, metro, etc, Saikong is making a great contribution to the cause of automatic control , energy-saving and emission-reduction for our country with our advanced and reliable products.
3.Investments on our R &D center.
To enhance the competence in the business field and and creativity for the sustainable development of our company, Saikong places high priority to the scientific research capability, keeping aggrandizing the investment and strength of research for new products. R & D investment takes over 30% of the total budget, and the R &D crew takes up 24.6% of the whole workforce.
4.Brief introduction of key staff at the R &D center
The R &D team is lead by Professor Zhao, the chief engineer, who has been in the field of power electronic for many years and who has been devoted into researching and developing a new generation’s frequency converter, soft starter, servo controller, servomotor. A complete set of solutions including proposal selection, structure designing, hardware designing, software designing, testing, quality guarantee, is delivered from our main researching staff of over 8 years’ industrial experience on average.
The center now has 25 staff, the majority were graduated from key universities majored in telecom, electric machinery. Among them, there are two professor of advanced engineers, 8 senior engineers, 14 engineers.Meanwhile, we also hire industrial-renowned experts in inverter/designing/technics as our consultants.
Leading Core EngineersPositionBrief Introduction
Engineer ZhaoTechnical director/Chief engineerBorn in 1972, aged 45, Eng. Zhao is working with Electric Machinery Institute of Shanghai University as supervisor for students of bachelors, masters and doctors.Having been long engaged in designing and developing hardware and software relevant to electronic inverting technology in power field, integrated with capabilities of project management, systemic analyse and designing , having been worked as technological chief supervisor or chief engineer in succession in several big companies, and having developed more than 100 new models of 10 series of products of inverters, soft starters, servo controllers and solar inverters, Eng. Zhao is now enjoys very good reputation in the industry.
Engineer LiProject engineer/System utility engineerBorn in 1961, aged 56, with Bachelor’s Degree majored in Industry Automation. Eng. Li is a pioneer in designing low-voltage soft starter in China. As the earliest designer of low-voltage soft starter in China, he led the designing of China’s first generation of soft starter and achieved success.
Engineer WangHardware engineerBorn in 1978, aged 38, with Master’s Degree, majored in Electronic Information Engineering Technology. Eng. Wang has been engaged in researching and development of frequency converter for many years, and has insightful views in SMPS and inverter drive.
Engineer YiSoftware engineerBorn in 1979, aged 37, with Master’s Degree.Having long been engaged in software compiling, Eng. Yi is very familiar with all types of software coding tools, and has good working capability and industrial experience.
Engineer ZhuHardware engineerBorn in 1981, aged 35, with Bachelor’s Degree, graduated from Hefei Industrial University, majored in Engineering Automation.Expertised in systemic adjustments, techinical identification, Eng. Zhu has insightful views in electronic circuit, data collecting, failure analysis.
5.Decent experiment environment.
To guarantee the reliability of the products that have been developed, the center established two well-equipped high-standard labs that cover 500 square meters.One serves to test regular features and performance.The other is to conduct performance tests under extreme circumstances.
We purchased complete equipments despite of high cost to enable the experimental process from simulating the spot environment, technic data collecting, to data processing and technique analysis digitized, visualized, and trackable. Each sample product is no longer a sample but a device having experienced practical application, and each data is no longer lab data but high-simulated spot data. In this way we fundamentally guarantee data accuracy at the spot environment and full-time reliability of the products.
List of main experimental equipment at R &D center
NO.Equipment /InstrumentFunction
1Standard equipment and standard devices:
Voltage source (constant voltage, adjustable), current source (constant current, adjustable), signal source (adjustable), standard resistance, standard capacitance, standard inductance, etc..To guarantee the accuracy of all the equipments and testing data.
2Testing equipments for regular data:
Voltage meter, current meter, multimeter, clamp meter, megger, small signal RMS current meter, DC current generator, oscilloscope, LCR BridgeRegular data of general voltage, current, resistance, capacitance, inductance, signal waveform tests
3A variety of test equipments for special parameters:
Power analyzer, spectrum analyzer, power analyzer, thermal zone imager, temperature management instrument, tachometer, flow meter, pressure gauge, balance machine etc..For testing of special parameter data and the data collected under specific circumstances.Such as test s for temperature, wind speed, flow, pressure, turning speed, strength of magnetic field, balance, coil rolling, wire diameter and power factor analysis, frequency spectrum analysis.
4A variety of special test equipments:
NC high pressure machine, surge generator, pulse group generator, etc.To test data parameters for special projects, such as high voltage protection, creepage distance, electrical clearance, EMC interference, lightning resistance, etc.
5A variety of equipments simulating field work environment:
NC high temperature chamber (0-300°C), NC low temperature chamber (0- minus 150°C), automatic ON/OFF experiment system, dust test box, acid/salt fog test box, shaft to drag load system (0-1000A, AC), vibration testing system(1-200KG), drop test equipment etc..For testing of the performance and data of spare parts or complete equipment which operate under extreme circumstances.To ensure the products work in all regions in high reliability.
6Various reliability test equipments:
Automatic ON/OFF aging room, high and low temperature cycle impact equipment, high temperature aging chamber with load, anti interference test room, etc.To test the reliability, stability, consistency, device life and other parameters of the components or the whole machine.
6. R&D Orientation in future
Along with society development, technical progress, and the revolutionary changes in the fields of domestic industrial automation control, energy-saving and emission-reduction, our R&D center keeps refreshing percepts , optimizing the products. Oriented by the goal to achieve miniaturization, multi-function, digitization, network, specialization and modularization, we believe, in the very near future the new products launched by our R&D center will dominate the industry.
7.Strict management system and practical working style
“No best, only better”
This is the working attitude and pursuit of our R&D center.
“Engaged in the basic work, down to the earth to try the best in everything.”
This is the basic requirement set by our own R &D members.
At the R &D center, design work is processed in modular, plural and step procedure, and management weighs responsibility, data and performance.The center highly values coordination among departments and among managers, and emphasizes the whole team’s working efficiency.
For each project, the center has clear target and thoughts. To complete the project, the center adopts quantitative management. Specific division of labor is distributed to each person and node time is set on daily basis so that the whole team becomes a strong, cohesive and centripetal force, working like a sophisticated engine to achieve a shared output target through all parts’ orderly, tensive and enthusiastic work.
Q1: Are you a manufacturer or a trading company?
A1: We are a manufacturer.
Q2: Can I get some samples?
A2: Yes, sample order is available for quality check and market test. After we receive the sample charge, the samples will be delivered in 7-15 days.
Q3: Can you do the design for us?
A3: Yes. We have a professional designing team. Just tell us your ideas and we will help to carry out your ideas. Send us high resolution images, your Logo and text and tell us how you would like to arrange them, We will send you finished files for confirmation.
Q4: What about the delivery time?
A4: It depends on the quantity and the season you place the order. It usually takes about 7-15 days for production.
Q5: What is your terms of delivery?
A5: We accept EXW, FOB, CFR, CIF, etc. You can choose the one which is the most convenient or cost effective for you.
Q6: What’s your warranty terms?
A6: We offer 1 year warranty time.125A 4P Molded Case Circuit Breaker in stock

201 Grade Pickled Stainless Steel Coil in stock

Our History  
ZCS Stainless Steel Co., Ltd is a stainless steel trading company, located at Foshan City in Guangdong Province. We are the core agents of Liu Gang Zhongjin Metals and Guangxi Jinhai Metals.
The company develops fast in a short period applying itself into the market as a reliable partner for suppliers and customers. We engaged in supplying of best quality stainless steel coils which can be custom designed in compliance with the specifications and designs provided by the customers.
With the wide range of storage, we assure providing customers the stainless steel coils with best quality, competitive prices ,fast speed of delivery and excellent services.
Everyone is welcomed to contact with us. We are not only aiming at making deals, but also making the durable relationships with you.
Our Factory  
Guangxi Liu Gang Zhong Jin and Jin Hai are devoted to the development, production and sales of nickel alloy and its extension. The main products are stainless steel coils, which are widely used in mechanical equipment, medical equipment, household appliances, kitchenware and sanitary ware, construction and decoration, transportation and other related fields using stainless steel as a raw material.
The companies have a sound corporate governance mechanism, high-quality professional technology, and experienced management team. It has established ISO9001 quality management system, ISO14001 environmental management system, OHSMS18001 occupational health and other standardized management systems.
Our Product  
ZCS Stainless Steel Co.,Ltd specialized in selling stainless steel coil, stainless steel strips and more. The stainless steel coils are made with 201 and 304 Grade in multiple specifications to meet various needs of our clients. ZCS Stainless Steel also provides both hot-rolled steel and cold-rolled steel.
Product Application  
Our stainless steel coils can be widely used for Pipe/Tube making, furniture, kitchenware, household appliances and more.
Our Certificate  
We always feel that all success of our company is directly related to the quality of the products we offer. They meet the highest quality requirements as stipulated in ISO9001, ISO14001, OHSAS18001 guidelines and our stringent quality control system.
Production Equipment  
We process an advanced 1 Million t/a smelting production line ,CCDR production line , the Highly-automatic 9 direct rolling Mode 750 Hot-Rolling production line with machine sets, Siemens PLC automatic speed control system , programmable systems , Steel rope production line with power supplying and distribution systems, waterfeed and drain systems, heat supplying system , Oxygine-make system ,environment-protection and fire-fighting equipment etc.
Production Market  
We have customers from both domestic market and oversea market. Our main sales markets are Asia, Middle East, South America.
Our service  
We provide customers with professional advice in business communication;
help customers choose applicable materials; and do our best to satisfy customers’ needs.
In terms of quality control, thoroughly implement process monitoring, record data, and provide production resume to facilitate customers’ follow-up processing and reduce material loss.
As to product quality standards, provide products that meet the standards specified in the contract signed between both parties;
With regard to after-sale services, follow up on the application of products on a regular basis and give timely feedback to the customer complaints handling results201 Grade Pickled Stainless Steel Coil in stock

What are the advantages or disadvatages of using stock photos or images, instead of using description?

What are the advantages and/or disadvatages of using stock photos or images, over using description?

This is a valid and helpful question, especially for firSt-time DMs. There are published sources which can be used to answer this.

First-time DM says: “I don’t think I’m particularly good at detailed poetic descriptions and I’m worried my imagination could be a bit on the slow side. I was thinking I could use something like a quick and dirty PowerPoint presentation showing some concept art / stock photos of various locations and NPC. Not only for the players but also for me to figure out what to describe if I get stuck.

Special thanks to Paprik.

When answering, please use concrete examples, share your expertise and refer to published materials where possible.