Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

Product Snapshot - stock number

  • baluator
  • baluator's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 months 4 days ago - 6 months 4 days ago #4074 by baluator
baluator created the topic: Product Snapshot - stock number
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
Last Edit: 6 months 4 days ago by baluator.

Please Log in or Create an account to join the conversation.

More
6 months 4 days ago - 6 months 3 days ago #4076 by boggler
boggler replied the topic: Product Snapshot - stock number
I am sorry, I don't know what you mean by 'quantity order'. Can you explain?
Last Edit: 6 months 3 days ago by boggler.

Please Log in or Create an account to join the conversation.

  • baluator
  • baluator's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 months 3 days ago #4078 by baluator
baluator replied the 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.

Please Log in or Create an account to join the conversation.

More
6 months 1 day ago - 6 months 23 hours ago #4083 by boggler
boggler replied the 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

$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: 6 months 23 hours ago by boggler.
The following user(s) said Thank You: baluator

Please Log in or Create an account to join the conversation.

  • baluator
  • baluator's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
5 months 6 days ago #4110 by baluator
baluator replied the 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
Time to create page: 0.186 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.