Forum Search
- Forum
- Joomla Extensions Support Questions
- Virtuemart Extensions Support Questions
- Product Snapshot - stock number
Product Snapshot - stock number
- baluator
- Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 3
- Thank you received: 0
1 year 2 months ago - 1 year 2 months ago #4074
by baluator
Product Snapshot - stock number was created by baluator
Hello,
is ther any soulution how to show quantity order of product instead of quantity of stock?
I found the code: /plugin/content/vm2productsnapshot/vm2productsnapshot.php, but I am not programmer
I woul like show on my web page number of order the product (one product e-shop).
Please, can you help me?
Thanks for any solution
is ther any soulution how to show quantity order of product instead of quantity of stock?
I found the code: /plugin/content/vm2productsnapshot/vm2productsnapshot.php, but I am not programmer

I woul like show on my web page number of order the product (one product e-shop).
Please, can you help me?
Thanks for any solution
Last edit: 1 year 2 months ago by baluator.
Please Log in or Create an account to join the conversation.
- boggler
- Offline
- Moderator
-
Less
More
- Posts: 1281
- Karma: 18
- Thank you received: 155
1 year 2 months ago - 1 year 2 months ago #4076
by boggler
Replied by boggler on topic Product Snapshot - stock number
I am sorry, I don't know what you mean by 'quantity order'. Can you explain?
Last edit: 1 year 2 months ago by boggler.
Please Log in or Create an account to join the conversation.
- baluator
- Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 3
- Thank you received: 0
1 year 2 months ago #4078
by baluator
Replied by baluator on topic Product Snapshot - stock number
OK,
I have on stock 3000 pieces of a books.I have ordered 1 book. So, I want show number 1 instead of 2999.
I have on stock 3000 pieces of a books.I have ordered 1 book. So, I want show number 1 instead of 2999.
Please Log in or Create an account to join the conversation.
- boggler
- Offline
- Moderator
-
Less
More
- Posts: 1281
- Karma: 18
- Thank you received: 155
1 year 2 months ago - 1 year 2 months ago #4083
by boggler
Replied by boggler on topic Product Snapshot - stock number
It is fairly straightforward with some basic coding, it is just a matter of editing the function getProductSnapshot, add the line
then in the default.php template you can use
If you prefer we could do this for you for a small charge.
$list->product_ordered = $product->product_ordered;
then in the default.php template you can use
<?php echo $list->product_ordered; ?>
If you prefer we could do this for you for a small charge.
Last edit: 1 year 2 months ago by boggler.
The following user(s) said Thank You: baluator
Please Log in or Create an account to join the conversation.
- baluator
- Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 3
- Thank you received: 0
1 year 2 months ago #4110
by baluator
Replied by baluator on topic Product Snapshot - stock number
Thank you. This is good solution for me.
Please Log in or Create an account to join the conversation.
Moderators: boggler
- Forum
- Joomla Extensions Support Questions
- Virtuemart Extensions Support Questions
- Product Snapshot - stock number
Time to create page: 0.562 seconds