Drupal - front end in/out of stock - drupal

My client has an e-commerce site made in Drupal. Exclusively for the stock levels shown in the front-end (product "in stock", "out of stock") a previous developer programed drupal to get this information from an external API.
Well, now I must turn this feature back to get stock levels from drupal's internal inventory management, but I just can't figure it out how to do that.
I know well php but nothing of drupal.
I saw there is a "ubercart" folder but I can't say if it's working.
Thanks.

In your case You use Ubercart module to create Drupal e-commerce site.
Ubercart has Stock submodule. You can activate it on /admin/modules page.
After this action You'll have stock inventory in product content type

Related

cms for online shop and scalable blog posts

I'm working on a web project that will consist of an online shop that will create some kind of blog post after checkout and let you edit this blog post.
So the customer can just buy a post on my website and edit it as he likes.
The post may contain text and media.
I'm looking for a nice tech stack to develop this online platform.
I have some kind of proof of concept using WordPress, WooCommerce, and a self developed plugin that will create a blog post after a WooCommerce checkout event and turn the ownership of the post to the customer's account.
The plugin also limits the maximum amount of media for upload and restricts access to the media of other users.
Next steps will be to modify the WooCommerce account page and list the blog posts there with a link to the editor, so the customer can edit posts anytime.
But I think this solution lacks scalability.
Depending on the popularity of the platform, there will be a lot of blog posts created, and I fear that someday, after a couple of thousand blog posts with multiple media types, etc., WordPress will come to its limits.
I have read something about static site generators, and I'm wondering if it's possible to have an online shop that will create a static site and let the customer edit it like my WordPress proof of concept now. With a nice editor and the possibility for online payment, etc.
Is there anybody that can recommend a nice stack for this kind of platform? Or maybe someone who can take my fears about the scalability of WordPress away?

Add a tax to your listing on Wordpress

I want to create a website for dealership cars and I want to know if this is a way to add a tax when a customer want to publish a listing. I find something on google but they said that is only working on PayPal and somehow it limits the user to only post jobs - not cars or anything else.In my country PayPal is not an option for many people. Do you have any idea what should I do?
The website is made with Wordpress.
You need a plugin in order to transform your wordpress website to an e-commerce platform. Most popular one is WooCommerce which has an integrated tax system: https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/

Video Tutorials Website with different Packages in Wordpress Plugin

I am new to wordpress and i have a project of video tutorials website in wordpress where under different packages, different number of videos will be allocated and after purchasing, the user will be able to view them. I have built normal e-commerce websites but don't know how to make this website. Please guide me if any plugin is available and i can use it. Thank you so much..
With WooCommerce you are good to go. I believe It's the perfect ecommerce plugin for WordPress.
WooCommerce comes with a feature for digital or downloadable product (tutorial video in your case), where the user can be forced to sign in, complete the order and pay before downloading the content. After completing the order, content will be always available for download in that user account.
Note that product bundles are also available for WooCommerce as YITH WooCommerce Product Bundles plugin.
You can simply create a product for each video and a bundle of products for each tutorial (as seen on screenshot). You can set which product bundles will be shown on website.

Drupal Discontinued Products

I have a client that has an e-commerce site using Drupal 6.16.
When they discontinue a product, they change the product to unpublished which then returns a 403 error for the average user and Google. This obviously isn't the best option for SEO.
What have people done in similar situations? I was thinking of using the CustomError module to redirect them to a category page or similar, but that effects all 403's on the site and briefly stopped access to the admin of the site.
Thanks!
The best would likely to keep the products published, disabled buying (depending on the e-commerce module/solution) and update the description with reference to a replacement product and/or information about the discontinuation. This way existing links to the discontinued products will still work, and link to relevant and precise information. Which is the best SEO you could have.

Online store in drupal

Which modules can be used for creating an online store in drupal?
I'd say the most popular module for an online store in Drupal is the ubercart module. It's quite complex, but supports pretty much everything you need for an online store. Here's the supported feature list:
Configurable product catalog includes catalog pages and a block to display product categories.
Flexible product creation system with product classes.
Multiple product image support out of the box.
Flexible product attributes system.
Basic product stock level tracking and notification.
Product features to add file downloads, role promotions, and more to products.
Single page checkout.
Automatic account generation (anonymous checkout).
Customer and administrator checkout notifications.
Simple order processing (with workflow-ng integration for automated order processing).
Simple order creation and editing.
Integrated payment system that acts as a bridge between acceptable payment methods -(check, credit card, purchase order, etc.) and payment gateways (Cyber Source, Authorize.net, PayPal, etc.).
Shipping quotes and fulfillment, including integration with UPS, FedEx, USPS.
Sales, product, and customer reports.
Activity logging.
For Drupal 7, you also have the Commerce module that looks very promising and fully integrates with Drupal's API and core features (Entity, Fields, etc.).
If you want to get started with an online store based on Drupal. This is a great starting point. http://drupal.org/project/commerce_kickstart
It is based on Drupal commerce and has some really nice features included, like a mobile optimized theme, slideshow, great admin theme for ecommerce, ...
I would recommend Drupal commerce. Drupal commerce is an open source eCommerce solution built on top of drupal. Also it has numerous useful modules which can meet all your ecommerce requirements. Also you can build online stores of small to large size.
These are some of the features of drupal commerce and it contains specific modules for these.
Create product types with custom attributes
Order management
line item
Payment method API
Tax calculation / VAT support
Discount pricing rules/coupon
U.K postal service Royal mail, international language school Eurocentres, McDonalds France and lot more consumer brands are the most trusted clients who strongly believes in the power of Drupal commerce

Resources