Advertisement
Guest User

Untitled

a guest
May 28th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. <?php
  2. $_weight = $this->htmlEscape($_product->getWeight());
  3. if ($_weight < 1)
  4. $_weightstr = " Spese Sepdizione € 4,79 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  5. else
  6. if ($_weight = 1)
  7. $_weightstr = " Spese spedizione € 6,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  8.  
  9. else
  10. if ($_weight < 3)
  11. $_weightstr = " Spese spedizione € 6,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  12.  
  13. else
  14. if ($_weight = 3)
  15. $_weightstr = " Spese spedizione € 7,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  16.  
  17. else
  18. if ($_weight < 3)
  19. $_weightstr = " Spese spedizione € 7,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  20.  
  21. else
  22. if ($_weight = 5)
  23. $_weightstr = " Spese spedizione € 9,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  24.  
  25. else
  26. if ($_weight < 5)
  27. $_weightstr = " Spese spedizione € 9,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  28.  
  29. else
  30. if ($_weight = 15)
  31. $_weightstr = " Spese spedizione € 10,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  32. else
  33. if ($_weight < 25)
  34. $_weightstr = " Spese spedizione € 10,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  35. else
  36. if ($_weight = 25)
  37. $_weightstr = " Spese spedizione € 16,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  38. else
  39. if ($_weight < 50)
  40. $_weightstr = " Spese spedizione € 16,69 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  41. else
  42. if ($_weight = 50)
  43. $_weightstr = " Spese spedizione € 27,99 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  44. else
  45. if ($_weight < 75)
  46. $_weightstr = " Spese spedizione € 27,99 | Contrassegno + 3,00 € | Consegna in 72 ore ";
  47. echo $_weightstr;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement