News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Changing the price of the product promotion while an additional parameter change

Started by pmielcza, September 03, 2015, 10:43:36 AM

Previous topic - Next topic

pmielcza

Sorry for the incorrect English
I have a product:
http://www.mebel-partner.pl/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=514
VirtueMart 2 + Joomla 2.5

the product has certain qualities ... among others The height where the change this trait to change the prices.


The problem is that the standard is such that as the product is in promotion (price overwritten) is the final price (which is channeled to the basket) does not include the additional price resulting from the specific characteristics: ie I am a product whose price promotion (overwritten) is 219,00 - choose change the amount of 20.00 - a price index remains at 219.00. Changes only the price crossed (the base).

In what file and how it is passed on the price of the card product to the cart. How could influence it.

GJC Web Design

the price over ride (in the product management) is an over ride.. it over rides everything .. it is the final price ignoring all other discounts

If you want to have a discount that interacts with custom fields etc you need to make your discount as a tax and calc rule
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

pmielcza


This is not correct in our trade.
I'm interested in where information is recorded about the price and the product after you click add to cart. What script is responsible for that?
There could improve what price should be put in the basket.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

pmielcza

Here are the functions responsible for showing the price
I'm interested in where-how when you click add to cart stored information about the selected product and its price.
That is a function of the basket.

GJC Web Design

this is responsible for all pricing -- it is called by the cart helper
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Quote from: pmielcza on September 03, 2015, 18:02:24 PM

This is not correct in our trade.
I'm interested in where information is recorded about the price and the product after you click add to cart. What script is responsible for that?
There could improve what price should be put in the basket.

Why do you want to invent the wheel again. All of this is already there. The prices in the cart are created by the product, else a shopper could spoof the form and set his own price for a product. Therefore the prices are taken from the product. If you want to modify the prices, use customfields. You can also write your own plugin and add it as customfield, then you can do whatever you want.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

pmielcza

Hi Milbo,
Prices can not only come from the product because the price varies depending on which option the user chooses. Still I have not found a function and where he is responsible for transferring money from card product (the à variant) to the basket.