Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Add a custom product data tab
- */
- add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );
- function woo_new_product_tab( $tabs ) {
- // Adds the new tabs
- $tabs['new_tab_1'] = array(
- 'title' => __( 'PAGAMENTI', 'woocommerce' ),
- 'priority' => 11,
- 'callback' => 'new_tab_1'
- );
- $tabs['new_tab_2'] = array(
- 'title' => "SPEDIZIONI",
- 'priority' => 12,
- 'callback' => 'new_tab_2'
- );
- $tabs['new_tab_3'] = array(
- 'title' => "CAMBI - RESI",
- 'priority' => 13,
- 'callback' => 'new_tab_3'
- );
- return $tabs;
- }
- function new_tab_1() {
- // The new tab content
- echo '<table>
- <tbody>
- <tr>
- <td style="font-size: 14px"><strong>Paypal</strong></td>
- <td style="color: #888888">Carta di credito, visa, master card e altre carte.</td>
- </tr>
- <tr>
- <td style="font-size: 14px"><strong>Bonifico bancario</strong></td>
- <td style="color: #888888">Vi verranno fornite tutte le coordinate alla conclusione dell’ordine (Il bonifico deve essere effettuato entro 4 ore dalla conferma dell’ordine, superato tale, l’ordine verrà annullato automaticamente dal sito)</td>
- </tr>
- <tr>
- <td style="font-size: 14px"><strong>Ricaricando la “NOSTRA” postepay</strong></td>
- <td style="color: #888888">Troverete le coordinate a fine ordine (La ricarica poste pay deve essere effettuato entro 4 ore dalla conferma dell’ordine, superato tale, l’ordine verrà annullato automaticamente dal sito) </td>
- </tr>
- <tr>
- <td style="font-size: 14px"><strong>Alla consegna</strong></td>
- <td style="color: #888888">Costo fisso di 5,99 €</td>
- </tr>
- </tbody>
- </table>';
- }
- function new_tab_2() {
- echo'<br>
- Per acquisti <strong>INFERIORI</strong> a <strong>99 €</strong> con pagamento ricaricando la nostra PostePay, Bonifico o PayPal <strong>COSTO SPEDIZIONE:</strong> € <strong>5,99</strong>
- <br>
- <br>
- Con pagamento in CONTRASSEGNO COSTO SPEDIZIONE <strong>€ 7,99</strong>
- <br>
- <br>
- Per acquisti SUPERIORI ai 99,00 € con pagamento ricaricando la nostra PostePay, Bonifico o PayPal <strong>COSTO SPEDIZIONE:</strong> <strong>GRATIS</strong>
- <br>
- <br>
- Effetuiamo la spedizione lo stesso giorno del pagamento con <strong>consegna entro le 24 ore</strong>';
- }
- function new_tab_3() {
- echo'<br>
- NON si effettuano CAMBI e RESI nel periodo dei SALDI.
- <br>
- <br>
- Per il CAMBIO (non oltre i 10 giorni) la spedizione di andata è a carico dell acquirente, appena arrivato il pacco spediamo noi a nostro carico il cambio, pagando la differenza qualora dovesse esserci.
- <br>
- <br>
- Per il <strong>SECONDO CAMBIO</strong> le spese sono a carico dell acquirente andata e ritorno.
- <br>
- <br>
- Per il <strong>RIMBORSO</strong> esso equivale ad un buono che viene fatto da noi per l intero importo del capo reso <strong>ESCLUSE</strong> le spese di spedizione.';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement