File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,51 @@ public function setShippingWeight($str)
367
367
return $ this ;
368
368
}
369
369
370
+ /**
371
+ * Add shipping length
372
+ *
373
+ * @see https://support.google.com/merchants/answer/6324498?hl=en
374
+ *
375
+ * @param string $str
376
+ *
377
+ * @return $this
378
+ */
379
+ public function setShippingLength ($ str )
380
+ {
381
+ $ this ->setAttribute ('shipping_length ' , $ str , false );
382
+ return $ this ;
383
+ }
384
+
385
+ /**
386
+ * Add shipping width
387
+ *
388
+ * @see https://support.google.com/merchants/answer/6324498?hl=en
389
+ *
390
+ * @param string $str
391
+ *
392
+ * @return $this
393
+ */
394
+ public function setShippingWidth ($ str )
395
+ {
396
+ $ this ->setAttribute ('shipping_width ' , $ str , false );
397
+ return $ this ;
398
+ }
399
+
400
+ /**
401
+ * Add shipping height
402
+ *
403
+ * @see https://support.google.com/merchants/answer/6324498?hl=en
404
+ *
405
+ * @param string $str
406
+ *
407
+ * @return $this
408
+ */
409
+ public function setShippingHeight ($ str )
410
+ {
411
+ $ this ->setAttribute ('shipping_height ' , $ str , false );
412
+ return $ this ;
413
+ }
414
+
370
415
/**
371
416
* Set a custom label
372
417
*
You can’t perform that action at this time.
0 commit comments