Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

Product Snapshot - stock number

  • baluator
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 3 weeks ago - 1 year 3 weeks 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
Last edit: 1 year 3 weeks ago by baluator.

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

More
1 year 3 weeks ago - 1 year 3 weeks 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 3 weeks ago by boggler.

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

  • baluator
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 3 weeks 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.

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

More
1 year 3 weeks ago - 1 year 3 weeks 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

$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 3 weeks 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
  • Fresh Boarder
More
11 months 4 weeks 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
Time to create page: 0.259 seconds

Donate to Us

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