How to get XPath if subject is hidden with javascript - xpath

Here is a link
https://www.dscbalances.com/ohaus-mb23-moisture-analyzer.html
I need to get Xpath for price that in popup of 'See Price in Cart' under crossed price.
//*[#id="product-price-3395_clone"]/span
doesn't work

Related

Volusion Soft Add To Cart - Show cart Total instead of Subtotal

In the Volusion shopping carts "soft add to cart" feature, which is turned on in product options with "Enable Add To Cart Popup", the popup shows the "Subtotal" of products currently in the cart.
The issue is this Subtotal does not include quantity discounts and therefore shows customers a higher price than the actual Subtotal after discounts are applied.
For that reason, we would like to display the cart Total, which includes any quantity discounts applied.
The problem is, I cannot find a place where this can be done in the HTML we have access to and if I were to find it, I'm not sure of the proper Volusion syntax to use to call up the Total instead of the Subtotal.
Thanks!
I had a different issue, but the same problem (soft add to cart did not display the proper info).
In my case, we allow engraving on our products, for an additional charge, and when selected this option was not displayed in the popup cart. As a result, customers were not sure if they chose it or not.
My solution was to add a Shopping Cart block to the page, as part of the template, using jQuery.
If you call http://yourUrl/AjaxCart.asp you'll see the discount info you need in the JSON data, as well as the line items in the order.

identify cash on delivery is availble or not using zip/postal code check on product view page in magento

I want to add a textfield on "Product- view - page"
so that by entering zip/postal code, customer can check whether "cash on delivery " option is available in their address or not.
I have some 500 zip/pin codes that support cash on delivery.
I think you requirement is fulfilled using the get a quote block in your product-detail page.
Here is what you need to do:
Create a tablerate shipping method named Cash On Delivery and upload your csv with price.
Use the Get a Quote block that is in cart page in default, and place it in product detail page. This can be done from layout i guess.
Now after you get the Get a Quote in your product detail page.Show only zip code field and hide other field.
This could solve your problem,if i got it right.
Hope this will help.

Can an image be added to each item in a PayPal Cart?

I am using a simple cart with an "Add to Cart" button. I would like to add an image along with the description of each item placed in the PayPal cart. I have tried placing an image url in the value field of the variable item_number. But nothing I trying seems to fool PayPal and I can not find a PayPal variable that allows the insertion of a item image.
Anybody have any ideas or suggestions?
Here is part of the code that I used in the Add to Cart Button code:

How do I add checkboxes to Magento's "Estimate Shipping and Tax" in the cart?

So, on the cart page, my customers can view the "Estimate Shipping and Tax" area. I don't want to remove it, but I need to know a little additional information from them to properly process the shipping. For example, on a freight item, I need to know if they have a loading dock.
Currently, I do this in the checkout without any issue. I was able to check if there is a freight item, and, if so, show the checkboxes to the customer during the "Shipping Address" stage. Then, in the saveShipping function, I was able to pull in the values and pass them to the shipping charge calculation.
Well, I've got the checkboxes in the template to display in the "Estimate Shipping and Tax" when there is a freight item in the cart, but I don't know much about the coShippingMethodForm function so that I can add in the values of the checkboxes. Anyone have any idea where I should be looked for this?
Additionally, when I hit "Get estimate", the page refreshes and it removes their selections. How best can I retain their selections to repopulate the correct boxes once the page refreshes?
I think that the best way would be to write your own shipping method module. I personally would steer clear of having a checkbox added to 'Estimate shipping and taxes' instead in my module I'd output both prices with loading bay, without loading bay (just for the estimates) in checkout you can get that option from the "Shipping Address" section and pass it into you shipping module calculation this is just a little 'cleaner.'
Check out this wiki for how to write a custom shipping module http://www.magentocommerce.com/wiki/5_-_modules_and_development/shipping/create-shipping-method-module

Magento - only show special price

I have a problem with the special price in grid mode product view.
I want the special prices to show the way the sold out items show, with a little image saying SALE, but without the normal prices showing.
http://www.tigerandelephant.com/index.php/t-shirts-1.html heres the link to the product page.
Thanks for your answers!
Have you tried checking getSpecialPrice on the product model? If it returns an empty don't apply your image and show the normal prices, if it has a value apply your special class/image to get the sale ribbon and don't show the normal prices.

Resources